Changeset View
Changeset View
Standalone View
Standalone View
sys/amd64/amd64/machdep.c
Show First 20 Lines • Show All 1,912 Lines • ▼ Show 20 Lines | #endif | ||||
/* setup proc 0's pcb */ | /* setup proc 0's pcb */ | ||||
thread0.td_pcb->pcb_flags = 0; | thread0.td_pcb->pcb_flags = 0; | ||||
thread0.td_frame = &proc0_tf; | thread0.td_frame = &proc0_tf; | ||||
env = kern_getenv("kernelname"); | env = kern_getenv("kernelname"); | ||||
if (env != NULL) | if (env != NULL) | ||||
strlcpy(kernelname, env, sizeof(kernelname)); | strlcpy(kernelname, env, sizeof(kernelname)); | ||||
cpu_probe_amdc1e(); | |||||
kcsan_cpu_init(0); | kcsan_cpu_init(0); | ||||
#ifdef FDT | #ifdef FDT | ||||
x86_init_fdt(); | x86_init_fdt(); | ||||
#endif | #endif | ||||
thread0.td_critnest = 0; | thread0.td_critnest = 0; | ||||
TSEXIT(); | TSEXIT(); | ||||
▲ Show 20 Lines • Show All 886 Lines • Show Last 20 Lines |