How do I implement multicore processing in my assembly code?
-
- Posts: 15
- Joined: Wed Feb 02, 2011 2:15 pm
How do I implement multicore processing in my assembly code?
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
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.
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.
If a trainstation is where trains stop, what is a workstation ?
-
- Posts: 15
- Joined: Wed Feb 02, 2011 2:15 pm
Re: How do I implement multicore processing in my assembly c
Ok so how would I do this in 32-bit mode then?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.
Re: How do I implement multicore processing in my assembly c
The Intel Multiprocessor Spec. will get you started.
If a trainstation is where trains stop, what is a workstation ?
-
- Posts: 15
- Joined: Wed Feb 02, 2011 2:15 pm
Re: How do I implement multicore processing in my assembly c
Ok I'll take a look at it thanks.gerryg400 wrote:The Intel Multiprocessor Spec. will get you started.