diff options
Diffstat (limited to '')
| -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(); + |
