[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] hvmloader: ROMBIOS must POST in big real mode, since it supports PMM,
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1238504690 -3600 # Node ID 909bb1245930f493372e080574349d95879f4c52 # Parent 011f4fbf46b2ffe19a853f3f213befe961df49ff 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@xxxxxxxxxx> --- tools/firmware/hvmloader/hvmloader.c | 4 ++-- tools/firmware/rombios/32bitgateway.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff -r 011f4fbf46b2 -r 909bb1245930 tools/firmware/hvmloader/hvmloader.c --- a/tools/firmware/hvmloader/hvmloader.c Tue Mar 31 13:57:11 2009 +0100 +++ b/tools/firmware/hvmloader/hvmloader.c Tue Mar 31 14:04:50 2009 +0100 @@ -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" diff -r 011f4fbf46b2 -r 909bb1245930 tools/firmware/rombios/32bitgateway.c --- a/tools/firmware/rombios/32bitgateway.c Tue Mar 31 13:57:11 2009 +0100 +++ b/tools/firmware/rombios/32bitgateway.c Tue Mar 31 14:04:50 2009 +0100 @@ -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: _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |