mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-06 21:09:18 +00:00
APIC implementation (not working as expected)
This commit is contained in:
@ -208,7 +208,9 @@ namespace CPU
|
||||
void InitializeFeatures()
|
||||
{
|
||||
#if defined(__amd64__)
|
||||
static int BSP;
|
||||
static int BSP = 0;
|
||||
if (!BSP)
|
||||
CPU::x64::wrmsr(CPU::x64::MSR_FS_BASE, 0);
|
||||
CPU::x64::CR0 cr0 = CPU::x64::readcr0();
|
||||
CPU::x64::CR4 cr4 = CPU::x64::readcr4();
|
||||
uint32_t rax, rbx, rcx, rdx;
|
||||
|
Reference in New Issue
Block a user