Changeset View
Changeset View
Standalone View
Standalone View
sys/powerpc/aim/mmu_radix.c
Show First 20 Lines • Show All 2,338 Lines • ▼ Show 20 Lines | mmu_radix_bootstrap(vm_offset_t start, vm_offset_t end) | ||||
mmu_radix_tlbiel_flush(TLB_INVAL_SCOPE_GLOBAL); | mmu_radix_tlbiel_flush(TLB_INVAL_SCOPE_GLOBAL); | ||||
mmu_radix_late_bootstrap(start, end); | mmu_radix_late_bootstrap(start, end); | ||||
numa_mem_regions(&numa_pregions, &numa_pregions_sz); | numa_mem_regions(&numa_pregions, &numa_pregions_sz); | ||||
if (bootverbose) | if (bootverbose) | ||||
printf("%s done\n", __func__); | printf("%s done\n", __func__); | ||||
pmap_bootstrapped = 1; | pmap_bootstrapped = 1; | ||||
dmaplimit = roundup2(powerpc_ptob(Maxmem), L2_PAGE_SIZE); | dmaplimit = roundup2(powerpc_ptob(Maxmem), L2_PAGE_SIZE); | ||||
PCPU_SET(flags, PCPU_GET(flags) | PC_FLAG_NOSRS); | |||||
} | } | ||||
static void | static void | ||||
mmu_radix_cpu_bootstrap(int ap) | mmu_radix_cpu_bootstrap(int ap) | ||||
{ | { | ||||
uint64_t lpcr; | uint64_t lpcr; | ||||
uint64_t ptcr; | uint64_t ptcr; | ||||
▲ Show 20 Lines • Show All 4,084 Lines • Show Last 20 Lines |