MFp4: Don't force single-user now we can go multi-user.

Call cninit() only after the pagetable has been set, as locore.S won't
map the system device for us anymore.
This commit is contained in:
Olivier Houchard 2006-03-22 22:31:31 +00:00
parent 6d52c3bf33
commit 5207a211b3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=157029

View file

@ -203,7 +203,6 @@ initarm(void *arg, void *arg2)
i = 0;
set_cpufuncs();
cninit();
fake_preload[i++] = MODINFO_NAME;
fake_preload[i++] = strlen("elf kernel") + 1;
@ -343,6 +342,7 @@ initarm(void *arg, void *arg2)
setttb(kernel_l1pt.pv_pa);
cpu_tlb_flushID();
cpu_domains(DOMAIN_CLIENT << (PMAP_DOMAIN_KERNEL*2));
cninit();
/*
* Pages were allocated during the secondary bootstrap for the
@ -415,7 +415,6 @@ initarm(void *arg, void *arg2)
init_param2(memsize / PAGE_SIZE);
avail_end = KERNPHYSADDR + memsize - 1;
kdb_init();
boothowto = RB_SINGLE;
return ((void *)(kernelstack.pv_va + USPACE_SVC_STACK_TOP -
sizeof(struct pcb)));
}