diff options
| author | 2026-08-18 12:15:05 +0200 | |
|---|---|---|
| committer | 2026-08-18 12:15:05 +0200 | |
| commit | 132d3236bb884433bf94e961f6d32264e0334aec (patch) | |
| tree | 06638976b06f019ea4037175ff228f8271057c44 /kernel/cpu_info.h | |
Diffstat (limited to 'kernel/cpu_info.h')
| -rw-r--r-- | kernel/cpu_info.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/kernel/cpu_info.h b/kernel/cpu_info.h new file mode 100644 index 0000000..d2c1a5d --- /dev/null +++ b/kernel/cpu_info.h @@ -0,0 +1,23 @@ +#pragma once + +#include <stdbool.h> + +typedef struct { + bool FPU; + bool MMX; + bool SSE; + bool SSE2; + bool SSE3; + bool SSSE3; + bool SSE41; + bool SSE42; + bool AVX; + bool VMX; + bool FMA; + bool ACPI; + bool APIC; +} cpu_info; + +void init_cpu_info(); +const cpu_info* get_cpu_info(); + |
