Ignore:
Timestamp:
Jun 28, 2017, 1:39:05 PM (5 years ago)
Author:
max@…
Message:

we want to have the LAPIC non-cacheable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/x86_64/core/hal_apic.c

    r82 r83  
    2121
    2222#include <hal_types.h>
     23#include <hal_boot.h>
    2324#include <hal_register.h>
    2425#include <hal_segmentation.h>
     
    9192        wrmsr(MSR_APICBASE, lapic_pa | APICBASE_EN);
    9293
    93         hal_gpt_enter(lapic_va, lapic_pa);
     94        hal_gpt_enter(lapic_va, lapic_pa, PG_V|PG_KW|PG_NX|PG_N);
    9495
    9596        hal_lapic_write(LAPIC_TPR, 0);
Note: See TracChangeset for help on using the changeset viewer.