-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Currently the guest VM starts with a hardcoded page table to jump to 64-bit long mode, and set up another one in the low memory area, and we accept a 2MiB page for the low memory area. However, Linux kernel may not like it if the memory between 640KiB and 1MiB was accepted. In this CR we use the 640KiB TEMP_MEM section in the low memory area for the page tables. The hypervisor adds it and guest can use it without doing tdcall. So we can dynamically set up the page tables in the .bss section. Change-Id: I7dfc18304e91fbbb7849d2bd2fbc1784ba5bae91
- Loading branch information
Showing
2 changed files
with
38 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters