Annotation of Gnu-Mach/vm/memory_object_proxy.h, revision 1.1.1.1

1.1       root        1: /* memory_object_proxy.h - Proxy memory objects for Mach.
                      2:    Copyright (C) 2005, 2011 Free Software Foundation, Inc.
                      3:    Written by Marcus Brinkmann.
                      4: 
                      5:    This file is part of GNU Mach.
                      6: 
                      7:    GNU Mach is free software; you can redistribute it and/or modify it
                      8:    under the terms of the GNU General Public License as published by
                      9:    the Free Software Foundation; either version 2, or (at your option)
                     10:    any later version.
                     11: 
                     12:    GNU Mach is distributed in the hope that it will be useful, but
                     13:    WITHOUT ANY WARRANTY; without even the implied warranty of
                     14:    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
                     15:    General Public License for more details.
                     16: 
                     17:    You should have received a copy of the GNU General Public License
                     18:    along with this program; if not, write to the Free Software
                     19:    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA. */
                     20: 
                     21: #ifndef _VM_MEMORY_OBJECT_PROXY_H_
                     22: #define _VM_MEMORY_OBJECT_PROXT_H_
                     23: 
                     24: #include <ipc/ipc_types.h>
                     25: #include <mach/boolean.h>
                     26: #include <mach/machine/kern_return.h>
                     27: #include <mach/machine/vm_types.h>
                     28: #include <mach/message.h>
                     29: #include <mach/vm_prot.h>
                     30: 
                     31: extern void memory_object_proxy_init (void);
                     32: extern boolean_t memory_object_proxy_notify (mach_msg_header_t *msg);
                     33: extern kern_return_t memory_object_create_proxy (ipc_space_t space,
                     34:                                                  vm_prot_t max_protection,
                     35:                                                  ipc_port_t *object,
                     36:                                                  natural_t object_count,
                     37:                                                  vm_offset_t *offset,
                     38:                                                  natural_t offset_count,
                     39:                                                  vm_offset_t *start,
                     40:                                                  natural_t start_count,
                     41:                                                  vm_offset_t *len,
                     42:                                                  natural_t len_count,
                     43:                                                  ipc_port_t *port);
                     44: extern kern_return_t memory_object_proxy_lookup (ipc_port_t port,
                     45:                                                  ipc_port_t *object,
                     46:                                                  vm_prot_t *max_protection);
                     47: 
                     48: #endif /* _VM_MEMORY_OBJECT_PROXT_H_ */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.