SMP - AP won't start
SMP - AP won't start
I tried to start my APs via this code: https://github.com/Enerccio/PIKOKernel/ ... task.c#L64 but they won't budge at all, not even entering real mode, where I have "debug print" (outb into com port): https://github.com/Enerccio/PIKOKernel/ ... try.s#L212
Re: SMP - AP won't start
Does your memcpy work with dword sizes? Because you should write with dword size into the APIC registers. If it tries to write with byte-sized instructions, the APIC maybe tries to send a message with incomplete data.
Re: SMP - AP won't start
Hmm that is true, it indeed does not work with dword sizes, instead sends byte by byte, let me change it.cmpxchg64 wrote:Does your memcpy work with dword sizes? Because you should write with dword size into the APIC registers. If it tries to write with byte-sized instructions, the APIC maybe tries to send a message with incomplete data.
Re: SMP - AP won't start
Yep that was it, not my cpus actually boot (they still insta reset but at least it is something )