diff options
Diffstat (limited to 'services/std_svc/spm/spm_private.h')
-rw-r--r-- | services/std_svc/spm/spm_private.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/services/std_svc/spm/spm_private.h b/services/std_svc/spm/spm_private.h index 7216003b..5414e834 100644 --- a/services/std_svc/spm/spm_private.h +++ b/services/std_svc/spm/spm_private.h @@ -29,6 +29,9 @@ #define SP_C_RT_CTX_SIZE 0x60 #define SP_C_RT_CTX_ENTRIES (SP_C_RT_CTX_SIZE >> DWORD_SHIFT) +/* Value returned by spm_sp_synchronous_entry() when a partition is preempted */ +#define SPM_SECURE_PARTITION_PREEMPTED U(0x1234) + #ifndef __ASSEMBLY__ #include <spinlock.h> @@ -68,7 +71,7 @@ typedef struct sp_context { } sp_context_t; /* Functions used to enter/exit a Secure Partition synchronously */ -uint64_t spm_sp_synchronous_entry(sp_context_t *sp_ctx); +uint64_t spm_sp_synchronous_entry(sp_context_t *sp_ctx, int can_preempt); __dead2 void spm_sp_synchronous_exit(uint64_t rc); /* Assembly helpers */ |