Oh. I thought you were running on bare metal ! Which emulator are you using ?...and i have 8 cores emulated
If I were trying to debug this problem I would disassemble the executable and examine it. Can you post the disassembled executable ?
Oh. I thought you were running on bare metal ! Which emulator are you using ?...and i have 8 cores emulated
Code: Select all
....
kbd_init();
wait = false;
} else {
vga_prt( "A" );
//cpu_init();
while( wait );
}
vga_prt( "B" );
//sched();
while(1);
}
i don't have a bare metal, u will know that if u are in china. chinese students even professors have little device for their research, not like u. china is not poor now, but its people is even poorer than before. i love my country more than u can feel, but i hate its political environment. u think China is People's Republic? i will tell u NO!gerryg400 wrote:Oh. I thought you were running on bare metal ! Which emulator are you using ?
i disasm sometimes but not often, since i would combine printing things and bochsdbg. disasm is not a good way as your kernel grows. but combine symbol table and bochsdbg (breakpoint, disassemble little piece of code) would be better. i don't have better way.If I were trying to debug this problem I would disassemble the executable and examine it. Can you post the disassembled executable ?
Coollemonyii wrote:congratulations gerryg400! YOU hit the boom!
the solution is so simple: