From 44220d7e1e07bbf1c88215543c5877abcdb88d29 Mon Sep 17 00:00:00 2001 From: jhb Date: Fri, 24 Jul 2009 13:50:29 +0000 Subject: Add a new type of VM object: OBJT_SG. An OBJT_SG object is very similar to a device pager (OBJT_DEVICE) object in that it uses fictitious pages to provide aliases to other memory addresses. The primary difference is that it uses an sglist(9) to determine the physical addresses for a given offset into the object instead of invoking the d_mmap() method in a device driver. Reviewed by: alc Approved by: re (kensmith) MFC after: 2 weeks --- sys/arm/arm/pmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/arm') diff --git a/sys/arm/arm/pmap.c b/sys/arm/arm/pmap.c index 303b81e..19c7236 100644 --- a/sys/arm/arm/pmap.c +++ b/sys/arm/arm/pmap.c @@ -3101,7 +3101,7 @@ pmap_object_init_pt(pmap_t pmap, vm_offset_t addr, vm_object_t object, { VM_OBJECT_LOCK_ASSERT(object, MA_OWNED); - KASSERT(object->type == OBJT_DEVICE, + KASSERT(object->type == OBJT_DEVICE || object->type == OBJT_SG, ("pmap_object_init_pt: non-device object")); } -- cgit v1.1