Changeset View
Changeset View
Standalone View
Standalone View
sys/arm64/arm64/machdep.c
Show First 20 Lines • Show All 1,155 Lines • ▼ Show 20 Lines | if (efihdr != NULL) | ||||
exclude_efi_map_entries(efihdr); | exclude_efi_map_entries(efihdr); | ||||
arm_physmem_init_kernel_globals(); | arm_physmem_init_kernel_globals(); | ||||
devmap_bootstrap(0, NULL); | devmap_bootstrap(0, NULL); | ||||
valid = bus_probe(); | valid = bus_probe(); | ||||
cninit(); | cninit(); | ||||
set_ttbr0(abp->kern_ttbr0); | |||||
alc: This is replacing the page table that is associated with ASID 0, so it needs to be followed by… | |||||
if (!valid) | if (!valid) | ||||
panic("Invalid bus configuration: %s", | panic("Invalid bus configuration: %s", | ||||
kern_getenv("kern.cfg.order")); | kern_getenv("kern.cfg.order")); | ||||
init_proc0(abp->kern_stack); | init_proc0(abp->kern_stack); | ||||
msgbufinit(msgbufp, msgbufsize); | msgbufinit(msgbufp, msgbufsize); | ||||
mutex_init(); | mutex_init(); | ||||
▲ Show 20 Lines • Show All 128 Lines • Show Last 20 Lines |
This is replacing the page table that is associated with ASID 0, so it needs to be followed by a complete TLB invalidation.