custom message type for VM_GETREF
This commit is contained in:
@@ -760,9 +760,6 @@
|
||||
#define VM_GETPHYS (VM_RQ_BASE+35)
|
||||
|
||||
#define VM_GETREF (VM_RQ_BASE+36)
|
||||
# define VMREFCNT_ENDPT m2_i1
|
||||
# define VMREFCNT_ADDR m2_l1
|
||||
# define VMREFCNT_RETC m2_i2
|
||||
|
||||
#define VM_RS_SET_PRIV (VM_RQ_BASE+37)
|
||||
# define VM_RS_NR m2_i1
|
||||
|
||||
@@ -1726,6 +1726,14 @@ typedef struct {
|
||||
} mess_lc_vm_getphys;
|
||||
_ASSERT_MSG_SIZE(mess_lc_vm_getphys);
|
||||
|
||||
typedef struct {
|
||||
endpoint_t endpt;
|
||||
void *addr;
|
||||
int retc;
|
||||
uint8_t padding[44];
|
||||
} mess_lsys_vm_getref;
|
||||
_ASSERT_MSG_SIZE(mess_lsys_vm_getref);
|
||||
|
||||
typedef struct {
|
||||
endpoint_t m_source; /* who sent the message */
|
||||
int m_type; /* what kind of message is it */
|
||||
@@ -1945,6 +1953,7 @@ typedef struct {
|
||||
mess_vfs_lc_lseek m_vfs_lc_lseek;
|
||||
|
||||
mess_lsys_vm_vmremap m_lsys_vm_vmremap;
|
||||
mess_lsys_vm_getref m_lsys_vm_getref;
|
||||
mess_lc_vm_getphys m_lc_vm_getphys;
|
||||
mess_lc_vm_shm_unmap m_lc_vm_shm_unmap;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user