From 7bd4a110cab70c868dc0a896020b47443f7324ef Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sun, 16 Nov 2025 20:26:15 -0500 Subject: kern: mu: Move cpu_info to machine unifier Signed-off-by: Ian Moffett --- sys/inc/mu/cpu.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'sys/inc/mu/cpu.h') diff --git a/sys/inc/mu/cpu.h b/sys/inc/mu/cpu.h index fb7aade..967005e 100644 --- a/sys/inc/mu/cpu.h +++ b/sys/inc/mu/cpu.h @@ -31,7 +31,17 @@ #define _MU_CPU_H_ 1 #include -#include + +/* + * Processor descriptor + * + * @id: Logical ID of the processor + * @self: Self pointer for referencing via %GS + */ +struct cpu_info { + uint8_t id; + struct cpu_info *self; +}; /* * Get a reference to the processor descriptor -- cgit v1.2.3