Message type for SYS_DIAGCTL.
Change-Id: Icdaa84847f8c75f5af6612dda3326f800166e0d7
This commit is contained in:
@@ -414,9 +414,6 @@
|
||||
#define VMCTL_BOOTINHIBIT_CLEAR 33
|
||||
|
||||
/* Codes and field names for SYS_DIAGCTL. */
|
||||
#define DIAGCTL_CODE m1_i1 /* DIAGCTL_CODE_* below */
|
||||
#define DIAGCTL_ARG1 m1_p1
|
||||
#define DIAGCTL_ARG2 m1_i2
|
||||
#define DIAGCTL_CODE_DIAG 1 /* Print diagnostics. */
|
||||
#define DIAGCTL_CODE_STACKTRACE 2 /* Print process stack. */
|
||||
#define DIAGCTL_CODE_REGISTER 3 /* Register for diagnostic signals */
|
||||
|
||||
@@ -131,6 +131,16 @@ typedef struct {
|
||||
} mess_pm_lsys_sigs_signal;
|
||||
_ASSERT_MSG_SIZE(mess_pm_lsys_sigs_signal);
|
||||
|
||||
typedef struct {
|
||||
int code;
|
||||
vir_bytes buf;
|
||||
int len;
|
||||
endpoint_t endpt;
|
||||
|
||||
uint8_t padding[40];
|
||||
} mess_lsys_krn_sys_diagctl;
|
||||
_ASSERT_MSG_SIZE(mess_lsys_krn_sys_diagctl);
|
||||
|
||||
typedef struct {
|
||||
off_t offset;
|
||||
void *addr;
|
||||
@@ -1968,6 +1978,7 @@ typedef struct {
|
||||
mess_notify m_notify;
|
||||
mess_sigcalls m_sigcalls;
|
||||
|
||||
mess_lsys_krn_sys_diagctl m_lsys_krn_sys_diagctl;
|
||||
mess_lsys_krn_readbios m_lsys_krn_readbios;
|
||||
mess_pm_lsys_sigs_signal m_pm_lsys_sigs_signal;
|
||||
mess_input_tty_event m_input_tty_event;
|
||||
|
||||
Reference in New Issue
Block a user