Changeset View
Changeset View
Standalone View
Standalone View
sys/sparc64/sparc64/machdep.c
Show First 20 Lines • Show All 184 Lines • ▼ Show 20 Lines | cpu_startup(void *arg) | ||||
vm_ksubmap_init(&kmi); | vm_ksubmap_init(&kmi); | ||||
bufinit(); | bufinit(); | ||||
vm_pager_bufferinit(); | vm_pager_bufferinit(); | ||||
EVENTHANDLER_REGISTER(shutdown_final, sparc64_shutdown_final, NULL, | EVENTHANDLER_REGISTER(shutdown_final, sparc64_shutdown_final, NULL, | ||||
SHUTDOWN_PRI_LAST); | SHUTDOWN_PRI_LAST); | ||||
printf("avail memory = %lu (%lu MB)\n", vm_cnt.v_free_count * PAGE_SIZE, | printf("avail memory = %lu (%lu MB)\n", vm_free_count() * PAGE_SIZE, | ||||
vm_cnt.v_free_count / ((1024 * 1024) / PAGE_SIZE)); | vm_free_count() / ((1024 * 1024) / PAGE_SIZE)); | ||||
if (bootverbose) | if (bootverbose) | ||||
printf("machine: %s\n", sparc64_model); | printf("machine: %s\n", sparc64_model); | ||||
cpu_identify(rdpr(ver), PCPU_GET(clock), curcpu); | cpu_identify(rdpr(ver), PCPU_GET(clock), curcpu); | ||||
} | } | ||||
void | void | ||||
▲ Show 20 Lines • Show All 911 Lines • Show Last 20 Lines |