Message type for {PM,VFS,RS,DS}_GETSYSINFO

Change-Id: I64d89f8a1c4704d0d0f420eb1e434cc96fd6351a
This commit is contained in:
2014-05-19 11:37:26 +02:00
parent 948a5389f9
commit ec130c9b4b
7 changed files with 26 additions and 24 deletions

View File

@@ -1226,15 +1226,6 @@
#define RTCDEV_Y2KBUG 0x01 /* Interpret 1980 as 2000 for RTC w/Y2K bug */
#define RTCDEV_CMOSREG 0x02 /* Also set the CMOS clock register bits. */
/*===========================================================================*
* Field names shared across several call codes *
*===========================================================================*/
/* Field names for the getsysinfo(2) call. */
#define SI_WHAT m1_i1 /* int */
#define SI_WHERE m1_p1 /* void */
#define SI_SIZE m1_i2 /* size_t */
/*===========================================================================*
* Internal codes used by several services *
*===========================================================================*/

View File

@@ -680,6 +680,15 @@ typedef struct {
} mess_linputdriver_input_event;
_ASSERT_MSG_SIZE(mess_linputdriver_input_event);
typedef struct {
int what;
vir_bytes where;
size_t size;
uint8_t padding[44];
} mess_lsys_getsysinfo;
_ASSERT_MSG_SIZE(mess_lsys_getsysinfo);
typedef struct {
uint32_t flags;
endpoint_t endpoint;
@@ -1364,6 +1373,8 @@ typedef struct {
mess_linputdriver_input_event m_linputdriver_input_event;
mess_lsys_getsysinfo m_lsys_getsysinfo;
mess_lsys_krn_schedctl m_lsys_krn_schedctl;
mess_lsys_krn_schedule m_lsys_krn_schedule;