Changeset View
Changeset View
Standalone View
Standalone View
sys/powerpc/pseries/mmu_phyp.c
Show First 20 Lines • Show All 107 Lines • ▼ Show 20 Lines | |||||
static void | static void | ||||
mphyp_bootstrap(mmu_t mmup, vm_offset_t kernelstart, vm_offset_t kernelend) | mphyp_bootstrap(mmu_t mmup, vm_offset_t kernelstart, vm_offset_t kernelend) | ||||
{ | { | ||||
uint64_t final_pteg_count = 0; | uint64_t final_pteg_count = 0; | ||||
char buf[8]; | char buf[8]; | ||||
uint32_t prop[2]; | uint32_t prop[2]; | ||||
uint32_t nptlp, shift = 0, slb_encoding = 0; | uint32_t nptlp, shift = 0, slb_encoding = 0; | ||||
uint32_t lp_size, lp_encoding; | uint32_t lp_size = 0, lp_encoding = 0; | ||||
struct lpte old; | struct lpte old; | ||||
uint64_t vsid; | uint64_t vsid; | ||||
phandle_t dev, node, root; | phandle_t dev, node, root; | ||||
int idx, len, res; | int idx, len, res; | ||||
rm_init(&mphyp_eviction_lock, "pte eviction"); | rm_init(&mphyp_eviction_lock, "pte eviction"); | ||||
moea64_early_bootstrap(mmup, kernelstart, kernelend); | moea64_early_bootstrap(mmup, kernelstart, kernelend); | ||||
▲ Show 20 Lines • Show All 350 Lines • Show Last 20 Lines |