amd64: Make KPDPphys local to pmap.c
MFC after: 1 week Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
874b1a3548
commit
7ae2e70336
@ -420,7 +420,7 @@ static int pat_index[PAT_INDEX_SIZE]; /* cache mode to PAT index conversion */
|
||||
|
||||
static u_int64_t KPTphys; /* phys addr of kernel level 1 */
|
||||
static u_int64_t KPDphys; /* phys addr of kernel level 2 */
|
||||
u_int64_t KPDPphys; /* phys addr of kernel level 3 */
|
||||
static u_int64_t KPDPphys; /* phys addr of kernel level 3 */
|
||||
u_int64_t KPML4phys; /* phys addr of kernel level 4 */
|
||||
u_int64_t KPML5phys; /* phys addr of kernel level 5,
|
||||
if supported */
|
||||
|
@ -303,7 +303,6 @@ typedef u_int64_t pml5_entry_t;
|
||||
#define P5Dmap ((pd_entry_t *)(addr_P5Dmap))
|
||||
|
||||
extern int nkpt; /* Initial number of kernel page tables */
|
||||
extern u_int64_t KPDPphys; /* physical address of kernel level 3 */
|
||||
extern u_int64_t KPML4phys; /* physical address of kernel level 4 */
|
||||
extern u_int64_t KPML5phys; /* physical address of kernel level 5 */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user