summaryrefslogtreecommitdiff
path: root/src/include/cpu/x86/pae.h
blob: 9b9f27b688f02f894090bb7790c867a87517fa48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef CPU_X86_PAE_H
#define CPU_X86_PAE_H

#include <stdint.h>

/* Set/Clear NXE bit in IA32_EFER MSR */
void paging_set_nxe(int enable);

/* Set PAT MSR */
void paging_set_pat(uint64_t pat);

#define MAPPING_ERROR ((void *)0xffffffffUL)
void *map_2M_page(unsigned long page);

#endif /* CPU_X86_PAE_H  */