aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/cpu_info.h
blob: d2c1a5de60220ede857d1c6b4722ac859baabe46 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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();