here's an interesting bug in
/home/rminnich/src/bios/coreboot-v3/util/x86emu/vm86.c
                /* Dump zeros in the other segment registers */
                "       mov     %ax, %es        \n"
                "       mov     %ax, %fs        \n"
                "       mov     %ax, %gs        \n"
                "       mov     $0x40, %ax      \n"<----------------------WHAT?
                "       mov     %ax, %ds        \n"
                "       mov     %cx, %ax        \n"

Why did somebody move 0x40 to the ds? That's not even a valid gdt selector?

Anybody know why this was done?

ron

-- 
coreboot mailing list
[email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to