PERFORCE change 88184 for review
Warner Losh
imp at FreeBSD.org
Wed Dec 14 10:24:17 PST 2005
http://perforce.freebsd.org/chv.cgi?CH=88184
Change 88184 by imp at imp_Speedy on 2005/12/14 18:23:17
Force single user mode, and bring back the VA == PA thing. I'll
test it again with it off in a second.
Affected files ...
.. //depot/projects/arm/src/sys/arm/at91/kb920x_machdep.c#12 edit
Differences ...
==== //depot/projects/arm/src/sys/arm/at91/kb920x_machdep.c#12 (text+ko) ====
@@ -271,7 +271,7 @@
pmap_map_chunk(l1pagetable, KERNBASE, KERNPHYSADDR,
(((uint32_t)(&end) - KERNBASE) + PAGE_SIZE) & ~(PAGE_SIZE - 1),
VM_PROT_READ|VM_PROT_WRITE, PTE_CACHE);
-#if 0
+#if 1
/* XXX PA == VA XXX */
pmap_map_chunk(l1pagetable, KERNPHYSADDR, KERNPHYSADDR,
(((uint32_t)(&end) - KERNBASE) + L1_S_SIZE) & ~(L1_S_SIZE - 1),
@@ -389,6 +389,7 @@
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)));
}
More information about the p4-projects
mailing list