custom message for vm_update

This commit is contained in:
Ben Gras
2014-07-26 13:53:49 +02:00
committed by Lionel Sambuc
parent 9e2efbd73d
commit 93422a1f4c
4 changed files with 12 additions and 6 deletions

View File

@@ -780,8 +780,6 @@
#define VMIW_REGION 3
#define VM_RS_UPDATE (VM_RQ_BASE+41)
# define VM_RS_SRC_ENDPT m1_i1
# define VM_RS_DST_ENDPT m1_i2
#define VM_RS_MEMCTL (VM_RQ_BASE+42)
# define VM_RS_CTL_ENDPT m1_i1

View File

@@ -1751,6 +1751,13 @@ typedef struct {
} mess_lsys_vm_info;
_ASSERT_MSG_SIZE(mess_lsys_vm_info);
typedef struct {
endpoint_t src;
endpoint_t dst;
uint8_t padding[48];
} mess_lsys_vm_update;
_ASSERT_MSG_SIZE(mess_lsys_vm_update);
typedef struct {
endpoint_t m_source; /* who sent the message */
int m_type; /* what kind of message is it */
@@ -1975,6 +1982,7 @@ typedef struct {
mess_lc_vm_shm_unmap m_lc_vm_shm_unmap;
mess_lsys_vm_query_exit m_lsys_vm_query_exit;
mess_lsys_vm_info m_lsys_vm_info;
mess_lsys_vm_update m_lsys_vm_update;
mess_vfs_lchardriver_cancel m_vfs_lchardriver_cancel;
mess_vfs_lchardriver_openclose m_vfs_lchardriver_openclose;