Message type for SYS_IRQCTL
Change-Id: Idef5a1e49aea3eea690e2a9bf046348766a8b944
This commit is contained in:
@@ -301,18 +301,14 @@
|
||||
#define DIO_VALUE m2_l2 /* single I/O value */
|
||||
|
||||
/* Field names for SYS_IRQCTL. */
|
||||
#define IRQ_REQUEST m5_s1 /* what to do? */
|
||||
# define IRQ_SETPOLICY 1 /* manage a slot of the IRQ table */
|
||||
# define IRQ_RMPOLICY 2 /* remove a slot of the IRQ table */
|
||||
# define IRQ_ENABLE 3 /* enable interrupts */
|
||||
# define IRQ_DISABLE 4 /* disable interrupts */
|
||||
#define IRQ_VECTOR m5_s2 /* irq vector */
|
||||
#define IRQ_POLICY m5_i1 /* options for IRQCTL request */
|
||||
# define IRQ_REENABLE 0x001 /* reenable IRQ line after interrupt */
|
||||
# define IRQ_BYTE 0x100 /* byte values */
|
||||
# define IRQ_WORD 0x200 /* word values */
|
||||
# define IRQ_LONG 0x400 /* long values */
|
||||
#define IRQ_HOOK_ID m5_l3 /* id of irq hook at kernel */
|
||||
|
||||
/* Field names for SYS_ABORT. */
|
||||
#define ABRT_HOW m1_i1 /* RBT_REBOOT, RBT_HALT, etc. */
|
||||
|
||||
@@ -700,6 +700,23 @@ typedef struct {
|
||||
} mess_lsys_krn_schedctl;
|
||||
_ASSERT_MSG_SIZE(mess_lsys_krn_schedctl);
|
||||
|
||||
typedef struct {
|
||||
int request;
|
||||
int vector;
|
||||
int policy;
|
||||
int hook_id;
|
||||
|
||||
uint8_t padding[40];
|
||||
} mess_lsys_krn_sys_irqctl;
|
||||
_ASSERT_MSG_SIZE(mess_lsys_krn_sys_irqctl);
|
||||
|
||||
typedef struct {
|
||||
int hook_id;
|
||||
|
||||
uint8_t padding[52];
|
||||
} mess_krn_lsys_sys_irqctl;
|
||||
_ASSERT_MSG_SIZE(mess_krn_lsys_sys_irqctl);
|
||||
|
||||
typedef struct {
|
||||
int request;
|
||||
long int port;
|
||||
@@ -1387,6 +1404,7 @@ typedef struct {
|
||||
mess_sigcalls m_sigcalls;
|
||||
|
||||
mess_krn_lsys_schedule m_krn_lsys_schedule;
|
||||
mess_krn_lsys_sys_irqctl m_krn_lsys_sys_irqctl;
|
||||
|
||||
mess_fs_vfs_breadwrite m_fs_vfs_breadwrite;
|
||||
mess_fs_vfs_chmod m_fs_vfs_chmod;
|
||||
@@ -1463,6 +1481,7 @@ typedef struct {
|
||||
|
||||
mess_lsys_krn_schedctl m_lsys_krn_schedctl;
|
||||
mess_lsys_krn_schedule m_lsys_krn_schedule;
|
||||
mess_lsys_krn_sys_irqctl m_lsys_krn_sys_irqctl;
|
||||
mess_lsys_krn_sys_memset m_lsys_krn_sys_memset;
|
||||
mess_lsys_krn_sys_sdevio m_lsys_krn_sys_sdevio;
|
||||
mess_lsys_krn_sys_setalarm m_lsys_krn_sys_setalarm;
|
||||
|
||||
Reference in New Issue
Block a user