diff options
| author | Ian Moffett <ian@osmora.org> | 2025-11-16 20:26:15 -0500 |
|---|---|---|
| committer | Ian Moffett <ian@osmora.org> | 2025-11-16 20:26:15 -0500 |
| commit | 7bd4a110cab70c868dc0a896020b47443f7324ef (patch) | |
| tree | 04b24d52fbfba17af97473caee0686c9680ecdd1 /sys/inc/mu/cpu.h | |
| parent | d086cc0f9cfa1da9042baf275aa97e681ce6736f (diff) | |
kern: mu: Move cpu_info to machine unifier
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/inc/mu/cpu.h')
| -rw-r--r-- | sys/inc/mu/cpu.h | 12 |
1 files changed, 11 insertions, 1 deletions
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 <sys/types.h> -#include <kern/cpu.h> + +/* + * 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 |
