Bruce Rogers
2008-Mar-07 19:26 UTC
[Xen-devel] [PATCH] Fix EDD pointer in int 13h, fn 48h BIOS call return buffer
I ran into this when I was reviewing what was outstanding to get NetWare to run fully virtualized. The BIOS emulator code has the segment and offset backward in the returned buffer for the int 13h, fn 48h BIOS call. BTW: This is fixed in current Bochs emulator upstream code. Signed-off-by: Bruce Rogers <brogers@novell.com> diff -r 59b8768d0d0d tools/firmware/rombios/rombios.c --- a/tools/firmware/rombios/rombios.c Wed Mar 05 11:18:25 2008 +0000 +++ b/tools/firmware/rombios/rombios.c Fri Mar 07 05:36:51 2008 -0700 @@ -779,8 +779,8 @@ typedef struct { Bit32u sector_count1; Bit32u sector_count2; Bit16u blksize; + Bit16u dpte_offset; Bit16u dpte_segment; - Bit16u dpte_offset; Bit16u key; Bit8u dpi_length; Bit8u reserved1; _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel