Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
svsm_paging: Ensure page alignment during invalidation
Boot memory regions aren't always page-aligned. For example, kernel_fs_end cannot always be page-aligned because the size of the FS area has to match that of its original image exactly. Make sure the memory region always has a page-aligned size in invalidate_boot_memory_region(). The starting address is always checked during page invalidation so just assume the caller will do the right thing. Signed-off-by: Peter Fang <[email protected]>
- Loading branch information