custom message type for VM_REMAP, VM_REMAP_RO
This commit is contained in:
@@ -754,13 +754,6 @@
|
||||
# define VMV_SIZE_PAGES m10_l3
|
||||
|
||||
#define VM_REMAP (VM_RQ_BASE+33)
|
||||
# define VMRE_D m1_i1
|
||||
# define VMRE_S m1_i2
|
||||
# define VMRE_DA m1_p1
|
||||
# define VMRE_SA m1_p2
|
||||
# define VMRE_RETA m1_p3
|
||||
# define VMRE_SIZE m1_i3
|
||||
# define VMRE_FLAGS m1_i3
|
||||
|
||||
#define VM_SHM_UNMAP (VM_RQ_BASE+34)
|
||||
# define VMUN_ENDPT m_mmap.forwhom
|
||||
|
||||
@@ -1700,6 +1700,17 @@ typedef struct {
|
||||
} mess_vmmcp_reply;
|
||||
_ASSERT_MSG_SIZE(mess_vmmcp_reply);
|
||||
|
||||
typedef struct {
|
||||
endpoint_t destination;
|
||||
endpoint_t source;
|
||||
void *dest_addr;
|
||||
void *src_addr;
|
||||
size_t size;
|
||||
void *ret_addr;
|
||||
uint8_t padding[32];
|
||||
} mess_lsys_vm_vmremap;
|
||||
_ASSERT_MSG_SIZE(mess_lsys_vm_vmremap);
|
||||
|
||||
typedef struct {
|
||||
endpoint_t m_source; /* who sent the message */
|
||||
int m_type; /* what kind of message is it */
|
||||
@@ -1918,6 +1929,8 @@ typedef struct {
|
||||
|
||||
mess_vfs_lc_lseek m_vfs_lc_lseek;
|
||||
|
||||
mess_lsys_vm_vmremap m_lsys_vm_vmremap;
|
||||
|
||||
mess_vfs_lchardriver_cancel m_vfs_lchardriver_cancel;
|
||||
mess_vfs_lchardriver_openclose m_vfs_lchardriver_openclose;
|
||||
mess_vfs_lchardriver_readwrite m_vfs_lchardriver_readwrite;
|
||||
|
||||
Reference in New Issue
Block a user