smp: enable smp

This is a very large patch. Don't feel like splitting it up.

Change locking discipline for rbtrees. Most changes are this.

Fix stack init logic for application processors, and start them up.

Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
Michael Shaw 2026-08-13 14:07:55 -04:00
commit 3e5abada9b
Signed by: michaelsshaw
GPG key ID: 5A5E0FB20708A9E7
17 changed files with 123 additions and 52 deletions

View file

@ -40,5 +40,8 @@
#define MSR_IA32_APIC_BASE 0x1B
void apic_init();
void apic_enable_timer();
void lapic_eoi();
void lapic_send_ipi(u32 lapic_id, u32 icr);
#endif /* _APIC_H_ */