WIP set up per cpu structures for x86-64

only on the boot cpu for now
This commit is contained in:
Travis Geiselbrecht
2024-12-06 21:11:51 -08:00
parent fd79fccdde
commit 902e2fcb8a
8 changed files with 139 additions and 11 deletions

View File

@@ -38,6 +38,9 @@ void mp_reschedule(mp_cpu_mask_t target, uint flags) {
target &= ~mp.realtime_cpus;
}
target &= ~(1U << local_cpu);
if (target == 0) {
return;
}
LTRACEF("local %d, post mask target now 0x%x\n", local_cpu, target);