summaryrefslogtreecommitdiff
path: root/services/std_svc/spm/spmc/spmc.h
diff options
context:
space:
mode:
Diffstat (limited to 'services/std_svc/spm/spmc/spmc.h')
-rw-r--r--services/std_svc/spm/spmc/spmc.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/services/std_svc/spm/spmc/spmc.h b/services/std_svc/spm/spmc/spmc.h
index 04908bcc9..b998603d7 100644
--- a/services/std_svc/spm/spmc/spmc.h
+++ b/services/std_svc/spm/spmc/spmc.h
@@ -28,6 +28,8 @@
#define FFA_SP_ID_BASE (FFA_SPMC_ID + 1) /* SP IDs are allocated after the SPMC ID */
#define INV_SP_ID 0x7FFF /* Align with Hafnium implementation */
+#define FFA_PAGE_SIZE (4096)
+
/*
* Runtime states of an execution context as per the FF-A v1.1 specification.
*/
@@ -69,8 +71,8 @@ struct mailbox {
enum mailbox_state state;
/* RX/TX Buffers */
- uintptr_t rx_buffer;
- uintptr_t tx_buffer;
+ void *rx_buffer;
+ const void *tx_buffer;
/*
* Size of RX/TX Buffer