summaryrefslogtreecommitdiff
path: root/sys/include/arch/amd64/cpu.h
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-06-06 17:46:39 -0400
committerIan Moffett <ian@osmora.org>2024-06-06 17:46:39 -0400
commita84cacff59d6e31c05b6f9eddebf28dbb418b303 (patch)
tree56fbaff4d43240c8dcd7c256b9254e18b06d8b18 /sys/include/arch/amd64/cpu.h
parent79afbbb41dee4bb24d2cad8234beacbd7a7e7a9b (diff)
kernel/amd64: tss: Add support for TSS
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include/arch/amd64/cpu.h')
-rw-r--r--sys/include/arch/amd64/cpu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/include/arch/amd64/cpu.h b/sys/include/arch/amd64/cpu.h
index 92d2356..ef2eb78 100644
--- a/sys/include/arch/amd64/cpu.h
+++ b/sys/include/arch/amd64/cpu.h
@@ -32,11 +32,13 @@
#include <sys/types.h>
#include <sys/cdefs.h>
+#include <machine/tss.h>
struct cpu_info {
uint32_t apicid;
uint8_t has_x2apic : 1;
size_t lapic_tmr_freq;
+ struct tss_entry *tss;
};
void cpu_startup(void);