Date: Mon, 9 Jul 2007 09:20:52 GMT From: Jesper Brix Rosenkilde <jbr@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 123186 for review Message-ID: <200707090920.l699Kqr9005933@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=123186 Change 123186 by jbr@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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707090920.l699Kqr9005933>