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/fs/procfs/procfs_map.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/fs/procfs') diff --git a/sys/fs/procfs/procfs_map.c b/sys/fs/procfs/procfs_map.c index dee99ad..878e2d5 100644 --- a/sys/fs/procfs/procfs_map.c +++ b/sys/fs/procfs/procfs_map.c @@ -174,6 +174,7 @@ procfs_doprocmap(PFS_FILL_ARGS) type = "swap"; vp = NULL; break; + case OBJT_SG: case OBJT_DEVICE: type = "device"; vp = NULL; -- cgit v1.1