Page 1 of 1
How do I implement multicore processing in my assembly code?
Posted: Wed Feb 02, 2011 2:19 pm
by ThatGuy2244
How would I go about making a multicore os? I would like to know how to do a simple dual core program in real mode, I also use nasm as my assembler.
Re: How do I implement multicore processing in my assembly c
Posted: Wed Feb 02, 2011 3:45 pm
by gerryg400
You can't.
Well, you can of course, anything is possible, but the commonly documented methods of starting and running the 2nd and subsequent cores all use 32 bit code. In particular there are tables and memory mapped registers that must be accessed that are outside the normal memory range of the processor running in real mode.
Re: How do I implement multicore processing in my assembly c
Posted: Wed Feb 02, 2011 4:12 pm
by ThatGuy2244
gerryg400 wrote:You can't.
Well, you can of course, anything is possible, but the commonly documented methods of starting and running the 2nd and subsequent cores all use 32 bit code. In particular there are tables and memory mapped registers that must be accessed that are outside the normal memory range of the processor running in real mode.
Ok so how would I do this in 32-bit mode then?
Re: How do I implement multicore processing in my assembly c
Posted: Wed Feb 02, 2011 4:25 pm
by gerryg400
The
Intel Multiprocessor Spec. will get you started.
Re: How do I implement multicore processing in my assembly c
Posted: Wed Feb 02, 2011 9:00 pm
by ThatGuy2244
Ok I'll take a look at it thanks.