PERFORCE change 88492 for review

Olivier Houchard cognet at FreeBSD.org
Tue Dec 20 16:19:07 PST 2005


http://perforce.freebsd.org/chv.cgi?CH=88492

Change 88492 by cognet at cognet on 2005/12/21 00:18:24

	Remove the now hopefully uneeded PA == VA mapping hack.

Affected files ...

.. //depot/projects/arm/src/sys/arm/at91/kb920x_machdep.c#14 edit

Differences ...

==== //depot/projects/arm/src/sys/arm/at91/kb920x_machdep.c#14 (text+ko) ====

@@ -271,12 +271,6 @@
 	pmap_map_chunk(l1pagetable, KERNBASE, KERNPHYSADDR,
 	   (((uint32_t)(&end) - KERNBASE) + PAGE_SIZE) & ~(PAGE_SIZE - 1),
 	    VM_PROT_READ|VM_PROT_WRITE, PTE_CACHE);
-#if 1
-	/* XXX PA == VA XXX */
-	pmap_map_chunk(l1pagetable, KERNPHYSADDR, KERNPHYSADDR,
-	  (((uint32_t)(&end) - KERNBASE) + L1_S_SIZE) & ~(L1_S_SIZE - 1),
-	    VM_PROT_READ|VM_PROT_WRITE, PTE_CACHE);
-#endif
 	afterkern = round_page(((vm_offset_t)&end + L1_S_SIZE) & ~(L1_S_SIZE 
 	    - 1));
 	for (i = 0; i < KERNEL_PT_AFKERNEL_NUM; i++) {


More information about the p4-projects mailing list