Bochs & SMP
Posted: Thu Aug 26, 2004 11:28 am
I compiled bochs to support multiprocessors.
I also enabled debugging, so that I can follow my code.
I got a working kernel on a uniprocessor-compiled bochs, but here when I simply run it (with the SMP bochs-BIOS), I got this :And I got these "skipping text" until I break bochs (seems to be a infinite loop). Only the first CPU (Boot Processor) is working, the other are remaining in halted mode, waiting for IPI.
Does any have a multiprocessor-running bochs ? and if so, what i can do to make it ?
I also enabled debugging, so that I can follow my code.
I got a working kernel on a uniprocessor-compiled bochs, but here when I simply run it (with the SMP bochs-BIOS), I got this :
Code: Select all
Next at t=0
(0) [0x000ffff0] f000:fff0 (unk. ctxt): jmp f000:e05b ; ea5be000f0
(1) [0x000ffff0] f000:fff0 (unk. ctxt): jmp f000:e05b ; ea5be000f0
(2) [0x000ffff0] f000:fff0 (unk. ctxt): jmp f000:e05b ; ea5be000f0
(3) [0x000ffff0] f000:fff0 (unk. ctxt): jmp f000:e05b ; ea5be000f0
(4) [0x000ffff0] f000:fff0 (unk. ctxt): jmp f000:e05b ; ea5be000f0
(5) [0x000ffff0] f000:fff0 (unk. ctxt): jmp f000:e05b ; ea5be000f0
(6) [0x000ffff0] f000:fff0 (unk. ctxt): jmp f000:e05b ; ea5be000f0
(7) [0x000ffff0] f000:fff0 (unk. ctxt): jmp f000:e05b ; ea5be000f0
<bochs:1> c
[00000500000|e|000004f2[VGA ] character height = 1, skipping text update
[00001000000|e|00000a1f[VGA ] character height = 1, skipping text update
[00001500000|e|00000513[VGA ] character height = 1, skipping text update
[00002000000|e|0000050f[VGA ] character height = 1, skipping text update
[00003000000|e|000007fd[VGA ] character height = 1, skipping text update
[00003500000|e|000007fd[VGA ] character height = 1, skipping text update
[00004000000|e|000007fd[VGA ] character height = 1, skipping text update
[00004500000|e|000007fd[VGA ] character height = 1, skipping text update
Does any have a multiprocessor-running bochs ? and if so, what i can do to make it ?