amd64: add support for IPIs

Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
Michael Shaw 2026-07-27 04:41:20 -04:00
commit a5c0597830
3 changed files with 30 additions and 2 deletions

View file

@ -6,6 +6,9 @@
#include <kernel/common.h>
#include <kernel/types.h>
#define IPI_KILL 0x30
#define IPI_TLB_FLUSH 0x31
struct thread;
struct cpu_local {
struct thread *cur_thread;
@ -14,6 +17,7 @@ struct cpu_local {
u32 cpu_id;
vaddr_t irq_rsp;
struct tss tss;
u32 apic_id;
} PACKED;
struct pt_regs {