Changeset View
Changeset View
Standalone View
Standalone View
sys/mips/mips/machdep.c
Show First 20 Lines • Show All 204 Lines • ▼ Show 20 Lines | for (indx = 0; phys_avail[indx + 1] != 0; indx += 2) { | ||||
(uintmax_t)size1, | (uintmax_t)size1, | ||||
(uintmax_t)size1 / PAGE_SIZE); | (uintmax_t)size1 / PAGE_SIZE); | ||||
} | } | ||||
} | } | ||||
vm_ksubmap_init(&kmi); | vm_ksubmap_init(&kmi); | ||||
printf("avail memory = %ju (%juMB)\n", | printf("avail memory = %ju (%juMB)\n", | ||||
ptoa((uintmax_t)vm_cnt.v_free_count), | ptoa((uintmax_t)vm_free_count()), | ||||
ptoa((uintmax_t)vm_cnt.v_free_count) / 1048576); | ptoa((uintmax_t)vm_free_count()) / 1048576); | ||||
cpu_init_interrupts(); | cpu_init_interrupts(); | ||||
/* | /* | ||||
* Set up buffers, so they can be used to read disk labels. | * Set up buffers, so they can be used to read disk labels. | ||||
*/ | */ | ||||
bufinit(); | bufinit(); | ||||
vm_pager_bufferinit(); | vm_pager_bufferinit(); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 351 Lines • Show Last 20 Lines |