PERFORCE change 163437 for review

Arnar Mar Sig antab at FreeBSD.org
Wed Jun 3 19:25:00 UTC 2009


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

Change 163437 by antab at antab_farm on 2009/06/03 19:24:30

	* Implement pmap_zero_page_area()

Affected files ...

.. //depot/projects/avr32/src/sys/avr32/avr32/pmap.c#19 edit

Differences ...

==== //depot/projects/avr32/src/sys/avr32/avr32/pmap.c#19 (text+ko) ====

@@ -430,7 +430,9 @@
 void
 pmap_zero_page_area(vm_page_t m, int off, int size)
 {
-	avr32_impl();
+	vm_offset_t phys = VM_PAGE_TO_PHYS(m);
+
+	bzero((caddr_t)AVR32_PHYS_TO_P2(phys) + off, size);
 }
 
 void


More information about the p4-projects mailing list