From 9c978c882984e879f6f418733fe95a16310f1373 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Thu, 23 May 2024 19:50:57 -0400 Subject: kernel/amd64: pmap: Add support for TLB shootdowns Signed-off-by: Ian Moffett --- sys/include/arch/amd64/cpu.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys/include/arch/amd64/cpu.h') diff --git a/sys/include/arch/amd64/cpu.h b/sys/include/arch/amd64/cpu.h index ee9bad7..3febf5a 100644 --- a/sys/include/arch/amd64/cpu.h +++ b/sys/include/arch/amd64/cpu.h @@ -35,6 +35,7 @@ #include #include #include +#include #include #include /* @@ -72,6 +73,8 @@ struct cpu_info { volatile void *lapic_base; volatile bool has_x2apic; volatile struct tss_entry *tss; + volatile uintptr_t tlb_flush_ptr; /* Address to flush */ + struct intr_info *tlb_shootdown; /* Shootdown interrupt info */ }; /* -- cgit v1.2.3