Changing the message union to anonymous.
This allows us to write things like this: message m; m.m_notify.interrupts = new_value; or message *mp; mp->m_notify.interrupts = new_value; The shorthands macro have been adapted for the new scheme, and will be kept as long as we have generic messages being used. Change-Id: Icfd02b5f126892b1d5d2cebe8c8fb02b180000f7
This commit is contained in:
@@ -769,7 +769,7 @@ static void start_motor(void)
|
||||
if (is_ipc_notify(ipc_status)) {
|
||||
switch (_ENDPOINT_P(mess.m_source)) {
|
||||
case CLOCK:
|
||||
f_expire_tmrs(mess.NOTIFY_TIMESTAMP);
|
||||
f_expire_tmrs(mess.m_notify.timestamp);
|
||||
break;
|
||||
default :
|
||||
f_busy = BSY_IDLE;
|
||||
@@ -845,7 +845,7 @@ static int seek(void)
|
||||
if (is_ipc_notify(ipc_status)) {
|
||||
switch (_ENDPOINT_P(mess.m_source)) {
|
||||
case CLOCK:
|
||||
f_expire_tmrs(mess.NOTIFY_TIMESTAMP);
|
||||
f_expire_tmrs(mess.m_notify.timestamp);
|
||||
break;
|
||||
default :
|
||||
f_busy = BSY_IDLE;
|
||||
@@ -1123,7 +1123,7 @@ static void f_reset(void)
|
||||
if (is_ipc_notify(ipc_status)) {
|
||||
switch (_ENDPOINT_P(mess.m_source)) {
|
||||
case CLOCK:
|
||||
f_expire_tmrs(mess.NOTIFY_TIMESTAMP);
|
||||
f_expire_tmrs(mess.m_notify.timestamp);
|
||||
break;
|
||||
default :
|
||||
f_busy = BSY_IDLE;
|
||||
@@ -1174,7 +1174,7 @@ static int f_intr_wait(void)
|
||||
if (is_ipc_notify(ipc_status)) {
|
||||
switch (_ENDPOINT_P(mess.m_source)) {
|
||||
case CLOCK:
|
||||
f_expire_tmrs(mess.NOTIFY_TIMESTAMP);
|
||||
f_expire_tmrs(mess.m_notify.timestamp);
|
||||
break;
|
||||
default :
|
||||
f_busy = BSY_IDLE;
|
||||
|
||||
Reference in New Issue
Block a user