Using Multiple CPU Cores in DOS? (Miscellaneous)
Today I was on a beer with my friend Rudolf, coreboot developer, and I ask him about multicore usage. He told me it's not hard to use it. System starts with one core enabled and other cores are halted (but they are initialized during POST, e.g. MTRRs are set). You need to program APIC to send a message to second core to start up. You specify an address where the 2nd core will start executing code. It will start in realmode so the address must be <1MB. The APIC is controlled via MMIO acessing some FFxxxxxx registers near top of address range so you need be in pmode or use INT service to access this high address. I don't know anything how APIC works so we didn't discuss it further. He pointed me to sources of SeaBIOS - one of the coreboot possible payload, that there is an example of probing multiple cores and APIC programming. Executing an ISR on 2nd core is possible but it's more complex. It needs to disable legacy PIC and reprogram APIC/LAPIC, I don't remember exactly...
So if anybody have a time and interested, go ahead, start to study how to deal with APIC...
---
DOS gives me freedom to unlimited HW access.
Complete thread:
- Using Multiple CPU Cores in DOS? - bretjohn, 12.09.2011, 02:15 (Miscellaneous)
- Using Multiple CPU Cores in DOS? - RayeR, 12.09.2011, 15:26
- Using Multiple CPU Cores in DOS? - Laaca, 12.09.2011, 17:26
- Using Multiple CPU Cores in DOS? - RayeR, 12.09.2011, 20:13
- Using Multiple CPU Cores in DOS? - bretjohn, 12.09.2011, 22:36
- Using Multiple CPU Cores in DOS? - RayeR, 13.09.2011, 00:33
- Using Multiple CPU Cores in DOS? - bretjohn, 13.09.2011, 04:25
- Using Multiple CPU Cores in DOS? - RayeR, 13.09.2011, 19:32
- Using Multiple CPU Cores in DOS? - Laaca, 13.09.2011, 21:12
- Using Multiple CPU Cores in DOS? - bretjohn, 13.09.2011, 23:02
- Using Multiple CPU Cores in DOS? - RayeR, 14.09.2011, 03:30
- Using Multiple CPU Cores in DOS? - bretjohn, 14.09.2011, 18:24
- Using Multiple CPU Cores in DOS? - RayeR, 15.09.2011, 01:15
- Using Multiple CPU Cores in DOS? - bretjohn, 15.09.2011, 19:11
- Using Multiple CPU Cores in DOS? - RayeR, 15.09.2011, 01:15
- Using Multiple CPU Cores in DOS? - bretjohn, 14.09.2011, 18:24
- Using Multiple CPU Cores in DOS? - RayeR, 14.09.2011, 03:30
- Using Multiple CPU Cores in DOS? - bretjohn, 13.09.2011, 23:02
- Using Multiple CPU Cores in DOS? - Laaca, 13.09.2011, 21:12
- Using Multiple CPU Cores in DOS? - RayeR, 13.09.2011, 19:32
- Using Multiple CPU Cores in DOS? - bretjohn, 13.09.2011, 04:25
- Using Multiple CPU Cores in DOS? - Rugxulo, 13.09.2011, 02:27
- Using Multiple CPU Cores in DOS? - RayeR, 14.09.2011, 03:52
- Using Multiple CPU Cores in DOS? - tom, 14.09.2011, 13:24
- Using Multiple CPU Cores in DOS? - bretjohn, 14.09.2011, 19:03
- Using Multiple CPU Cores in DOS? - tom, 15.09.2011, 14:43
- Using Multiple CPU Cores in DOS? - bretjohn, 15.09.2011, 18:24
- Using Multiple CPU Cores in DOS? - tom, 15.09.2011, 18:40
- Using Multiple CPU Cores in DOS? - bretjohn, 16.09.2011, 01:33
- Using Multiple CPU Cores in DOS? - RayeR, 16.09.2011, 02:26
- Using Multiple CPU Cores in DOS? - bretjohn, 16.09.2011, 18:06
- Using Multiple CPU Cores in DOS? - RayeR, 16.09.2011, 18:22
- Using Multiple CPU Cores in DOS? - bretjohn, 17.09.2011, 02:03
- Using Multiple CPU Cores in DOS? - Laaca, 17.09.2011, 07:47
- Using Multiple CPU Cores in DOS? - tom, 17.09.2011, 14:09
- Using Multiple CPU Cores in DOS? - bretjohn, 18.09.2011, 04:27
- Using Multiple CPU Cores in DOS? - tom, 19.09.2011, 15:03
- Using Multiple CPU Cores in DOS? - bretjohn, 19.09.2011, 19:50
- Using Multiple CPU Cores in DOS? - tom, 19.09.2011, 22:00
- Using Multiple CPU Cores in DOS? - bretjohn, 19.09.2011, 23:19
- Using Multiple CPU Cores in DOS? - tom, 20.09.2011, 12:02
- Using Multiple CPU Cores in DOS? - DOS386, 20.09.2011, 12:24
- Using Multiple CPU Cores in DOS? - bretjohn, 20.09.2011, 18:23
- Using Multiple CPU Cores in DOS? - tom, 20.09.2011, 20:17
- Using Multiple CPU Cores in DOS? - tom, 20.09.2011, 12:02
- Using Multiple CPU Cores in DOS? - bretjohn, 19.09.2011, 23:19
- Using Multiple CPU Cores in DOS? - tom, 19.09.2011, 22:00
- Using Multiple CPU Cores in DOS? - bretjohn, 19.09.2011, 19:50
- Using Multiple CPU Cores in DOS? - tom, 19.09.2011, 15:03
- Using Multiple CPU Cores in DOS? - RayeR, 19.09.2011, 15:01
- Using Multiple CPU Cores in DOS? - bretjohn, 19.09.2011, 20:25
- Using Multiple CPU Cores in DOS? - RayeR, 20.09.2011, 03:14
- Using Multiple CPU Cores in DOS? - bretjohn, 19.09.2011, 20:25
- Using Multiple CPU Cores in DOS? - bretjohn, 18.09.2011, 04:27
- Using Multiple CPU Cores in DOS? - bretjohn, 17.09.2011, 02:03
- Using Multiple CPU Cores in DOS? - RayeR, 16.09.2011, 18:22
- Using Multiple CPU Cores in DOS? - tom, 15.09.2011, 18:40
- Using Multiple CPU Cores in DOS? - bretjohn, 15.09.2011, 18:24
- Using Multiple CPU Cores in DOS? - tom, 15.09.2011, 14:43
- Using Multiple CPU Cores in DOS? - bretjohn, 14.09.2011, 19:03
- Using Multiple CPU Cores in DOS? - RayeR, 13.09.2011, 00:33
- Using Multiple CPU Cores in DOS? - Laaca, 12.09.2011, 17:26
- Using Multiple CPU Cores in DOS? - DOS386, 13.09.2011, 07:11
- Using Multiple CPU Cores in DOS? - bretjohn, 13.09.2011, 19:14
- Using Multiple CPU Cores in DOS? - FFK, 18.09.2011, 04:44
- Using Multiple CPU Cores in DOS? - RayeR, 19.09.2011, 14:50
- Using Multiple CPU Cores in DOS? - FFK, 21.09.2011, 01:30
- Using Multiple CPU Cores in DOS? - RayeR, 19.09.2011, 14:50
- USBDOS | A20-BUG | no need for 1'000'000'000 cores - DOS386, 20.09.2011, 09:10
- USBDOS | A20-BUG | no need for 1'000'000'000 cores - bretjohn, 20.09.2011, 19:34
- Using Multiple CPU Cores in DOS? - RayeR, 23.09.2011, 02:27
- Using Multiple CPU Cores in DOS? - RayeR, 12.09.2011, 15:26