Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Dec 2005 18:24:15 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 88184 for review
Message-ID:  <200512141824.jBEIOFRd082495@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=88184

Change 88184 by imp@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)));
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512141824.jBEIOFRd082495>