Added APIC_BASE structure

This commit is contained in:
Alex
2022-10-23 03:10:43 +03:00
parent fd154bc547
commit eb65bd1896
3 changed files with 55 additions and 19 deletions

View File

@ -38,7 +38,7 @@ namespace APIC
APIC_TDCR = 0x3E0, // Divide Configuration (for Timer)
};
union LVTTimer
typedef union
{
struct
{
@ -73,7 +73,7 @@ namespace APIC
uint64_t Reserved2 : 14;
};
uint64_t raw;
};
} __attribute__((packed)) LVTTimer;
class APIC
{