mirror of https://github.com/thesofproject/sof.git
ipc4: add macro for building notification header
Add a macro for building ipc4 notification header based on specific notification type. Signed-off-by: Rafal Redzimski <rafal.f.redzimski@intel.com>
This commit is contained in:
parent
87caf973eb
commit
1918d789bd
|
@ -50,4 +50,9 @@ enum sof_ipc4_notification_type {
|
|||
#define SOF_IPC4_FW_READY \
|
||||
(((SOF_IPC4_NOTIFY_FW_READY) << (SOF_IPC4_GLB_NOTIFY_TYPE_SHIFT)) |\
|
||||
((SOF_IPC4_GLB_NOTIFICATION) << (SOF_IPC4_GLB_NOTIFY_MSG_TYPE_SHIFT)))
|
||||
|
||||
#define SOF_IPC4_NOTIF_HEADER(notif_type) \
|
||||
((notif_type) << (SOF_IPC4_GLB_NOTIFY_TYPE_SHIFT) | \
|
||||
((SOF_IPC4_GLB_NOTIFICATION) << (SOF_IPC4_GLB_NOTIFY_MSG_TYPE_SHIFT)))
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue