PERFORCE change 123186 for review
Jesper Brix Rosenkilde
jbr at FreeBSD.org
Mon Jul 9 09:20:53 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=123186
Change 123186 by jbr at jbr_bob on 2007/07/09 09:20:50
Added dummy process for page allocation
Affected files ...
.. //depot/projects/soc2007/jbr-syscall/sys/vm/vm_map.c#2 edit
.. //depot/projects/soc2007/jbr-syscall/sys/vm/vm_map.h#2 edit
Differences ...
==== //depot/projects/soc2007/jbr-syscall/sys/vm/vm_map.c#2 (text+ko) ====
@@ -2983,6 +2983,16 @@
}
/*
+ * Allocate a page which holds data shared between the kernel and user
+ * process.
+*/
+int
+vm_map_sysshm(vm_map_t)
+{
+ return (KERN_SUCCESS);
+}
+
+/*
* Unshare the specified VM space for exec. If other processes are
* mapped to it, then create a new one. The new vmspace is null.
*/
==== //depot/projects/soc2007/jbr-syscall/sys/vm/vm_map.h#2 (text+ko) ====
@@ -354,6 +354,7 @@
void vm_map_simplify_entry (vm_map_t, vm_map_entry_t);
void vm_init2 (void);
int vm_map_stack (vm_map_t, vm_offset_t, vm_size_t, vm_prot_t, vm_prot_t, int);
+int vm_map_sysshm(vm_map_t);
int vm_map_growstack (struct proc *p, vm_offset_t addr);
int vm_map_unwire(vm_map_t map, vm_offset_t start, vm_offset_t end,
int flags);
More information about the p4-projects
mailing list