Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jun 2009 19:24:59 GMT
From:      Arnar Mar Sig <antab@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 163437 for review
Message-ID:  <200906031924.n53JOxCb009362@repoman.freebsd.org>

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

Change 163437 by antab@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



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