summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid E. Garcia Porras <david.garcia@aheadcomputing.com>2026-06-08 18:22:56 +0530
committerAnup Patel <anup@brainfault.org>2026-06-10 18:13:10 +0530
commitb6e7c84ae2635f4cd3f951c8d6ea0ddd2aac425a (patch)
tree61aa477a0301e2110c4180fc58d049fe7a0d0ecb
parent59fe435b2840da294fa054012ac23e26a8f325c0 (diff)
downloadopensbi-b6e7c84ae2635f4cd3f951c8d6ea0ddd2aac425a.tar.gz
opensbi-b6e7c84ae2635f4cd3f951c8d6ea0ddd2aac425a.zip
include: sbi: Add SBI MPXY notification related defines
The SBI MPXY notification header related offsets are missing from the sbi_ecall_interface.h hence add these defines. Signed-off-by: David E. Garcia Porras <david.garcia@aheadcomputing.com> Signed-off-by: Anup Patel <anup.patel@oss.qualcomm.com> Link: https://lore.kernel.org/r/20260608125257.3220114-5-anup.patel@oss.qualcomm.com Signed-off-by: Anup Patel <anup@brainfault.org>
-rw-r--r--include/sbi/sbi_ecall_interface.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/sbi/sbi_ecall_interface.h b/include/sbi/sbi_ecall_interface.h
index 9a776f79..acb91a01 100644
--- a/include/sbi/sbi_ecall_interface.h
+++ b/include/sbi/sbi_ecall_interface.h
@@ -469,6 +469,15 @@ enum sbi_sse_state {
#define SBI_EXT_MPXY_SEND_MSG_WITHOUT_RESP 0x6
#define SBI_EXT_MPXY_GET_NOTIFICATION_EVENTS 0x7
+/** SBI MPXY notification header size */
+#define SBI_MPXY_NOTIF_HDR_SIZE 16
+
+/** SBI MPXY notification header offsets */
+#define SBI_MPXY_NOTIF_HDR_REMAINING_OFFSET 0x00
+#define SBI_MPXY_NOTIF_HDR_RETURNED_OFFSET 0x04
+#define SBI_MPXY_NOTIF_HDR_LOST_OFFSET 0x08
+#define SBI_MPXY_NOTIF_HDR_RESERVED_OFFSET 0x0C
+
/* SBI base specification related macros */
#define SBI_SPEC_VERSION_MAJOR_OFFSET 24
#define SBI_SPEC_VERSION_MAJOR_MASK 0x7f