hvmloader: ROMBIOS must POST in big real mode, since it supports PMM,

and hence Option ROMs can expect noi segment limit checks.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
This commit is contained in:
Keir Fraser committed 2009-03-31 14:04:50 +01:00
1 parent 2fa8c71b9f
commit c2901a5cc4
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -88,8 +88,8 @@ asm (
" .align 8 \n"
"gdt: \n"
" .quad 0x0000000000000000 \n"
" .quad 0x00009a000000ffff \n" /* Ring 0 code, base 0 limit 0xffff */
" .quad 0x000092000000ffff \n" /* Ring 0 data, base 0 limit 0xffff */
" .quad 0x008f9a000000ffff \n" /* Ring 0 16b code, base 0 limit 4G */
" .quad 0x008f92000000ffff \n" /* Ring 0 16b data, base 0 limit 4G */
"gdt_end: \n"
" \n"
" .bss \n"
+2 -2
View File
@@ -56,13 +56,13 @@ gdt_entry_pm_32bit_cs:
.byte 0x00, 0x9b, 0xcf, 0x00
gdt_entry_pm_16bit_cs:
.word 0xffff, 0x0000
.byte REAL_MODE_CODE_OFFSET >> 16, 0x9b, 0x0, 0x0
.byte REAL_MODE_CODE_OFFSET >> 16, 0x9b, 0x8f, 0x0
gdt_entry_pm_32bit_ds:
.word 0xffff, 0x0000
.byte 0x0, 0x93, 0xcf, 0x0
gdt_entry_pm_16bit_ds:
.word 0xffff, 0x0000
.byte 0x0, 0x93, 0x0, 0x0
.byte 0x0, 0x93, 0x8f, 0x0
gdt_entry_end:
protmode_gdtdesc:
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.