diff options
author | davidcunado-arm <david.cunado@arm.com> | 2017-10-04 16:23:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-04 16:23:59 +0100 |
commit | c64d1345a8227ec9c9d8f8fa6a6c3e5e487b82f0 (patch) | |
tree | 2604ec7cfc96c5ea1ea9456bd958b45a15d44e75 /include/lib/psci/psci.h | |
parent | cb2cfae365eedb94619f8f88f98aee8f866d9a14 (diff) | |
parent | b09ba056c4203a3fcca78675aa3de257023b7d70 (diff) |
Merge pull request #1109 from robertovargas-arm/mem_protect
Mem protect
Diffstat (limited to 'include/lib/psci/psci.h')
-rw-r--r-- | include/lib/psci/psci.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/lib/psci/psci.h b/include/lib/psci/psci.h index 0ed39c9a..0b44ab2e 100644 --- a/include/lib/psci/psci.h +++ b/include/lib/psci/psci.h @@ -65,6 +65,9 @@ #define PSCI_STAT_RESIDENCY_AARCH64 U(0xc4000010) #define PSCI_STAT_COUNT_AARCH32 U(0x84000011) #define PSCI_STAT_COUNT_AARCH64 U(0xc4000011) +#define PSCI_MEM_PROTECT U(0x84000013) +#define PSCI_MEM_CHK_RANGE_AARCH32 U(0x84000014) +#define PSCI_MEM_CHK_RANGE_AARCH64 U(0xc4000014) /* Macro to help build the psci capabilities bitfield */ #define define_psci_cap(x) (U(1) << (x & U(0x1f))) @@ -288,6 +291,9 @@ typedef struct plat_psci_ops { unsigned int power_state, psci_power_state_t *output_state); int (*get_node_hw_state)(u_register_t mpidr, unsigned int power_level); + int (*mem_protect_chk)(uintptr_t base, u_register_t length); + int (*read_mem_protect)(int *val); + int (*write_mem_protect)(int val); } plat_psci_ops_t; /******************************************************************************* |