diff options
author | jhb <jhb@FreeBSD.org> | 2009-07-24 13:50:29 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2009-07-24 13:50:29 +0000 |
commit | 44220d7e1e07bbf1c88215543c5877abcdb88d29 (patch) | |
tree | 9a9fb32ead80921ec7937e7a600e46e446366436 /sys/vm/vm.h | |
parent | 4064b20ecefb589d0b9290e558c0abfc5229c120 (diff) | |
download | FreeBSD-src-44220d7e1e07bbf1c88215543c5877abcdb88d29.zip FreeBSD-src-44220d7e1e07bbf1c88215543c5877abcdb88d29.tar.gz |
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
Diffstat (limited to 'sys/vm/vm.h')
-rw-r--r-- | sys/vm/vm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vm.h b/sys/vm/vm.h index 9159e93..b547514 100644 --- a/sys/vm/vm.h +++ b/sys/vm/vm.h @@ -89,7 +89,7 @@ typedef u_char vm_prot_t; /* protection codes */ #define VM_PROT_DEFAULT VM_PROT_ALL enum obj_type { OBJT_DEFAULT, OBJT_SWAP, OBJT_VNODE, OBJT_DEVICE, OBJT_PHYS, - OBJT_DEAD }; + OBJT_DEAD, OBJT_SG }; typedef u_char objtype_t; union vm_map_object; |