libmango: add flags parameter to address_space_map
This commit is contained in:
@@ -34,6 +34,16 @@
|
||||
#define KERN_HANDLE_FLAG2 0x40000000UL
|
||||
#define KERN_HANDLE_FLAG3 0x80000000UL
|
||||
|
||||
/* flags to specify when creating address-space mappings */
|
||||
/* this mapping is private. if a task with this mapping is duplicated,
|
||||
the duplicate task will receive a copy-on-write mapping. changes to one
|
||||
mapping will not be visible to the other. */
|
||||
#define VM_PRIVATE 0x0000u
|
||||
/* this mapping is shared. if a task with this mapping is duplicated,
|
||||
* the duplicate will receive a mapping of the same data. changes to one mapping
|
||||
* will be visibile to the other */
|
||||
#define VM_SHARED 0x0001u
|
||||
|
||||
/* maximum number of handles that can be sent in a single message */
|
||||
#define KERN_MSG_MAX_HANDLES 64
|
||||
|
||||
@@ -107,6 +117,7 @@ typedef unsigned int kern_status_t;
|
||||
typedef uint32_t kern_handle_t;
|
||||
typedef uint32_t kern_config_key_t;
|
||||
typedef uint32_t vm_prot_t;
|
||||
typedef uint32_t vm_flags_t;
|
||||
typedef int64_t ssize_t;
|
||||
typedef uint32_t kern_futex_t;
|
||||
typedef uint32_t kern_msg_type_t;
|
||||
|
||||
Reference in New Issue
Block a user