aboutsummaryrefslogtreecommitdiff
path: root/services/std_svc/spmd/spmd_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'services/std_svc/spmd/spmd_private.h')
-rw-r--r--services/std_svc/spmd/spmd_private.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/services/std_svc/spmd/spmd_private.h b/services/std_svc/spmd/spmd_private.h
index d5f66dde6a..de63ebabca 100644
--- a/services/std_svc/spmd/spmd_private.h
+++ b/services/std_svc/spmd/spmd_private.h
@@ -30,6 +30,9 @@
#define SPMD_C_RT_CTX_ENTRIES (SPMD_C_RT_CTX_SIZE >> DWORD_SHIFT)
#ifndef __ASSEMBLER__
+#include <lib/psci/psci.h>
+#include <lib/spinlock.h>
+#include <lib/utils.h>
#include <services/spci_svc.h>
#include <stdint.h>
@@ -45,7 +48,8 @@ typedef enum spmc_state {
typedef struct spmd_spm_core_context {
uint64_t c_rt_ctx;
cpu_context_t cpu_ctx;
- spmc_state_t state;
+ aff_info_state_t state;
+ spinlock_t lock;
} spmd_spm_core_context_t;
/*