pmap.c (195149) | pmap.c (195840) |
---|---|
1/*- 2 * Copyright (c) 1991 Regents of the University of California. 3 * All rights reserved. 4 * Copyright (c) 1994 John S. Dyson 5 * All rights reserved. 6 * Copyright (c) 1994 David Greenman 7 * All rights reserved. 8 * --- 28 unchanged lines hidden (view full) --- 37 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 38 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 39 * SUCH DAMAGE. 40 * 41 * from: @(#)pmap.c 7.7 (Berkeley) 5/12/91 42 */ 43 44#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1991 Regents of the University of California. 3 * All rights reserved. 4 * Copyright (c) 1994 John S. Dyson 5 * All rights reserved. 6 * Copyright (c) 1994 David Greenman 7 * All rights reserved. 8 * --- 28 unchanged lines hidden (view full) --- 37 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 38 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 39 * SUCH DAMAGE. 40 * 41 * from: @(#)pmap.c 7.7 (Berkeley) 5/12/91 42 */ 43 44#include <sys/cdefs.h> |
45__FBSDID("$FreeBSD: head/sys/sparc64/sparc64/pmap.c 195149 2009-06-28 22:42:51Z marius $"); | 45__FBSDID("$FreeBSD: head/sys/sparc64/sparc64/pmap.c 195840 2009-07-24 13:50:29Z jhb $"); |
46 47/* 48 * Manages physical address maps. 49 * 50 * In addition to hardware address maps, this module is called upon to 51 * provide software-use-only maps which may or may not be stored in the 52 * same form as hardware maps. These pseudo-maps are used to store 53 * intermediate results from copy operations to and from address spaces. --- 1440 unchanged lines hidden (view full) --- 1494} 1495 1496void 1497pmap_object_init_pt(pmap_t pm, vm_offset_t addr, vm_object_t object, 1498 vm_pindex_t pindex, vm_size_t size) 1499{ 1500 1501 VM_OBJECT_LOCK_ASSERT(object, MA_OWNED); | 46 47/* 48 * Manages physical address maps. 49 * 50 * In addition to hardware address maps, this module is called upon to 51 * provide software-use-only maps which may or may not be stored in the 52 * same form as hardware maps. These pseudo-maps are used to store 53 * intermediate results from copy operations to and from address spaces. --- 1440 unchanged lines hidden (view full) --- 1494} 1495 1496void 1497pmap_object_init_pt(pmap_t pm, vm_offset_t addr, vm_object_t object, 1498 vm_pindex_t pindex, vm_size_t size) 1499{ 1500 1501 VM_OBJECT_LOCK_ASSERT(object, MA_OWNED); |
1502 KASSERT(object->type == OBJT_DEVICE, | 1502 KASSERT(object->type == OBJT_DEVICE || object->type == OBJT_SG, |
1503 ("pmap_object_init_pt: non-device object")); 1504} 1505 1506/* 1507 * Change the wiring attribute for a map/virtual-address pair. 1508 * The mapping must already exist in the pmap. 1509 */ 1510void --- 503 unchanged lines hidden --- | 1503 ("pmap_object_init_pt: non-device object")); 1504} 1505 1506/* 1507 * Change the wiring attribute for a map/virtual-address pair. 1508 * The mapping must already exist in the pmap. 1509 */ 1510void --- 503 unchanged lines hidden --- |