diff options
author | John Baldwin <jhb@FreeBSD.org> | 2009-07-24 13:50:29 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2009-07-24 13:50:29 +0000 |
commit | 013818111a1477055223a69d538ebcd1c23b955e (patch) | |
tree | 9a9fb32ead80921ec7937e7a600e46e446366436 /sys/powerpc | |
parent | 29985e350dfa6d71c0a97e352d5b1019468f9e58 (diff) | |
download | src-013818111a1477055223a69d538ebcd1c23b955e.tar.gz src-013818111a1477055223a69d538ebcd1c23b955e.zip |
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
Notes
Notes:
svn path=/head/; revision=195840
Diffstat (limited to 'sys/powerpc')
-rw-r--r-- | sys/powerpc/booke/pmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/powerpc/booke/pmap.c b/sys/powerpc/booke/pmap.c index d96c09a927b5..78a72507fa44 100644 --- a/sys/powerpc/booke/pmap.c +++ b/sys/powerpc/booke/pmap.c @@ -2582,7 +2582,7 @@ mmu_booke_object_init_pt(mmu_t mmu, pmap_t pmap, vm_offset_t addr, { VM_OBJECT_LOCK_ASSERT(object, MA_OWNED); - KASSERT(object->type == OBJT_DEVICE, + KASSERT(object->type == OBJT_DEVICE || object->type == OBJT_SG, ("mmu_booke_object_init_pt: non-device object")); } |