Removed unneeded pmap_initialized flag.
This commit is contained in:
parent
6df1fae014
commit
51d5509a62
@ -154,8 +154,6 @@ vm_offset_t vm_max_kernel_address;
|
|||||||
*/
|
*/
|
||||||
struct pmap kernel_pmap_store;
|
struct pmap kernel_pmap_store;
|
||||||
|
|
||||||
static boolean_t pmap_initialized = FALSE;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Allocate physical memory for use in pmap_bootstrap.
|
* Allocate physical memory for use in pmap_bootstrap.
|
||||||
*/
|
*/
|
||||||
@ -595,8 +593,6 @@ pmap_init(vm_offset_t phys_start, vm_offset_t phys_end)
|
|||||||
if (result != KERN_SUCCESS || addr != translations[i].om_start)
|
if (result != KERN_SUCCESS || addr != translations[i].om_start)
|
||||||
panic("pmap_init: vm_map_find");
|
panic("pmap_init: vm_map_find");
|
||||||
}
|
}
|
||||||
|
|
||||||
pmap_initialized = TRUE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user