summaryrefslogtreecommitdiff
path: root/bios
diff options
context:
space:
mode:
authorSheng Yang <sheng@linux.intel.com>2008-10-17 15:17:52 +0800
committerAvi Kivity <avi@redhat.com>2008-10-26 17:20:07 +0200
commitaabc6540b2cdcd8a943c281a010f96d68c8a1e92 (patch)
tree296dbff3207ccfd653b215d2ce515acf6aad9c8e /bios
parent8fb7c876e9b44f48fa0bf27795829b88d760c4b3 (diff)
kvm: bios: Update e820 table for EPT real mode pagetable
Signed-off-by: Sheng Yang <sheng@linux.intel.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'bios')
-rw-r--r--bios/rombios.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/bios/rombios.c b/bios/rombios.c
index 818ce636..9a1cdd6e 100644
--- a/bios/rombios.c
+++ b/bios/rombios.c
@@ -4578,8 +4578,9 @@ ASM_END
return;
break;
case 5:
- /* 3 pages before the bios, we map the vmx tss pages */
- set_e820_range(ES, regs.u.r16.di, 0xfffbd000L,
+ /* 4 pages before the bios, 3 pages for vmx tss pages,
+ * the other page for EPT real mode pagetable */
+ set_e820_range(ES, regs.u.r16.di, 0xfffbc000L,
0xfffc0000L, 0, 0, 2);
regs.u.r32.ebx = 6;
regs.u.r32.eax = 0x534D4150;