Can anyone help me why I am getting this boot message from x86emu??
halt_sys: file /home/joe/coreboot-v2/src/devices/emulator/x86emu/ops.c, line 4387
Thanks - Joe
joe@smittys.pointclark.net wrote:
Can anyone help me why I am getting this boot message from x86emu??
halt_sys: file /home/joe/coreboot-v2/src/devices/emulator/x86emu/ops.c, line 4387
Thanks - Joe
It means the emulator exited normally. See coreboot-v2/src/include/x86emu/x86emu.h:166
Quoting Stefan Reinauer stepan@coresystems.de:
joe@smittys.pointclark.net wrote:
Can anyone help me why I am getting this boot message from x86emu??
halt_sys: file /home/joe/coreboot-v2/src/devices/emulator/x86emu/ops.c, line 4387
Thanks - Joe
It means the emulator exited normally. See coreboot-v2/src/include/x86emu/x86emu.h:166
OK, thanks nothing to worry about then.
Thanks - Joe
I kind of remember how this works, but you can confirm it. The issue is that you are going to emulate a hunk of code which expects to return.
How do you do this? I am pretty sure the emulator fakes a call to the vga rom entry point, and places a hlt instruction after that call, so that when the call returns, you get a halt and a dramatic message. Possibly this message could be a little less stress-inducing :-)
ron
Quoting ron minnich rminnich@gmail.com:
I kind of remember how this works, but you can confirm it. The issue is that you are going to emulate a hunk of code which expects to return.
How do you do this? I am pretty sure the emulator fakes a call to the vga rom entry point, and places a hlt instruction after that call, so that when the call returns, you get a halt and a dramatic message. Possibly this message could be a little less stress-inducing :-)
ron
Yeh, it stressed me a little bit. But in fact there is no wories.
Now if I could figure out why agpgart is detecting the wrong amount of stolen memory (892K) VGA will be complete:-)
Thanks - Joe
On Wed, Jan 30, 2008 at 08:40:52AM -0800, ron minnich wrote:
Possibly this message could be a little less stress-inducing :-)
Yes.
//Peter
On 31.01.2008 00:09, Peter Stuge wrote:
On Wed, Jan 30, 2008 at 08:40:52AM -0800, ron minnich wrote:
Possibly this message could be a little less stress-inducing :-)
Yes.
Always print a friendly message when x86emu halts without error.
This does not remove the irritating halt_sys message AFAICS, but at least it adds another message which should reduce confusion a bit.
Joe, does the patch work for you (does it make x86emu print the new message)? If it does, the patch is
Acked-by: Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net
Signed-off-by: Peter Stuge peter@stuge.se
Index: src/devices/emulator/x86emu/decode.c
--- src/devices/emulator/x86emu/decode.c (revision 3073) +++ src/devices/emulator/x86emu/decode.c (working copy) @@ -109,8 +109,7 @@ X86EMU_trace_regs(); } else {
if (M.x86.debug)
printk("Service completed successfully\n");
printk("x86emu exiting successfully\n"); }) return; }