Getting bochs to show 32 instead of 64-bit on an x86_64 host
Posted: Thu Feb 24, 2011 4:02 pm
Hi, I am new in the osdev world, but I think I wouldn't consider myself satisfied if I don't learn this one too.
I've written the simple "genesis" kernel from here, it works.
My host is an x86_64 box, but the kernel is supposed to be 32-bit. How can I get the bochs debugger to actually show me x86-specific code (e.g. EAX instead of RAX)?
Bochs has been configured like this:
Thanks
I've written the simple "genesis" kernel from here, it works.
My host is an x86_64 box, but the kernel is supposed to be 32-bit. How can I get the bochs debugger to actually show me x86-specific code (e.g. EAX instead of RAX)?
Bochs has been configured like this:
Code: Select all
./configure --prefix=/usr --enable-vbe --without-wx --enable-cpu-level=6 \
--enable-fpu \
--enable-plugins --enable-x86-64 --enable-smp \
--enable-long-phy-address --enable-debugger --enable-disasm --enable-debugger-gui \
--enable-raw-serial --enable-vmx --enable-x86-debugger --enable-iodebug