From: Lionel Sambuc Date: Thu, 28 Nov 2013 17:37:06 +0000 (+0100) Subject: Removing NOTIFY_* field macros. X-Git-Tag: v3.3.0~490 X-Git-Url: http://zhaoyanbai.com/repos/%22../static/icons/zlib_tech.html?a=commitdiff_plain;h=e69e14895d38dcac6e65bf4fe43aedc018eb251c;p=minix.git Removing NOTIFY_* field macros. Change-Id: Idc8604dac9630ee2343476b906b45a115a89994e --- diff --git a/include/minix/ipc.h b/include/minix/ipc.h index 40ac90b3e..3eaa0b9f2 100644 --- a/include/minix/ipc.h +++ b/include/minix/ipc.h @@ -114,14 +114,6 @@ typedef struct { } mess_11; _ASSERT_MSG_SIZE(mess_11); -typedef struct { - u64_t timestamp; /* valid for every notify msg */ - u64_t interrupts; /* raised interrupts; valid if from HARDWARE */ - sigset_t sigset; /* raised signals; valid if from SYSTEM */ - uint8_t padding[24]; -} mess_notify; -_ASSERT_MSG_SIZE(mess_notify); - typedef struct { off_t offset; void *addr; @@ -135,6 +127,14 @@ typedef struct { } mess_mmap; _ASSERT_MSG_SIZE(mess_mmap); +typedef struct { + u64_t timestamp; /* valid for every notify msg */ + u64_t interrupts; /* raised interrupts; valid if from HARDWARE */ + sigset_t sigset; /* raised signals; valid if from SYSTEM */ + uint8_t padding[24]; +} mess_notify; +_ASSERT_MSG_SIZE(mess_notify); + typedef struct { off_t offset; dev_t dev; @@ -185,10 +185,10 @@ typedef struct { mess_10 m_m10; mess_11 m_m11; mess_mmap m_mmap; + mess_notify m_notify; mess_vmmcp m_vmmcp; mess_vmmcp_reply m_vmmcp_reply; mess_vm_vfs_mmap m_vm_vfs; - mess_notify m_notify; /* notify messages */ mess_sigcalls m_sigcalls; /* SYS_{GETKSIG,ENDKSIG,KILL,SIGSEND,SIGRETURN} */ u8_t size[56]; /* message payload may have 56 bytes at most */ };