Message ID | 20140512052918.GA2100@morn.localdomain |
---|---|
State | New |
Headers | show |
Am 2014-05-12 07:29, schrieb Kevin O'Connor: > > It does look like the x86emu issue. You can try applying the > SeaVGABIOS patch below to confirm it. The output doesn't appear. But I'm sure that I copied the correct files because modifications of other strings worked. Regards, Bernhard > > -Kevin > > > --- a/vgasrc/vgaentry.S > +++ b/vgasrc/vgaentry.S > @@ -47,7 +47,14 @@ _rom_header_signature: > > // Force a fault if found to be running on broken x86emu > versions. > DECLFUNC x86emu_fault > +msg: .ascii "SeaVGABIOS: x86emu leal trap!\n" > x86emu_fault: > +#if CONFIG_DEBUG_IO > + movw %cs:DebugOutputPort, %dx > + movl $30, %ecx > + movl $msg, %esi > + rep outsb %cs:(%esi), (%dx) > +#endif > 1: hlt > jmp 1b
--- a/vgasrc/vgaentry.S +++ b/vgasrc/vgaentry.S @@ -47,7 +47,14 @@ _rom_header_signature: // Force a fault if found to be running on broken x86emu versions. DECLFUNC x86emu_fault +msg: .ascii "SeaVGABIOS: x86emu leal trap!\n" x86emu_fault: +#if CONFIG_DEBUG_IO + movw %cs:DebugOutputPort, %dx + movl $30, %ecx + movl $msg, %esi + rep outsb %cs:(%esi), (%dx) +#endif 1: hlt jmp 1b