diff options
author | Achin Gupta <achin.gupta@arm.com> | 2014-01-16 12:08:03 +0000 |
---|---|---|
committer | Dan Handley <dan.handley@arm.com> | 2014-02-17 18:51:44 +0000 |
commit | 9ac63c59c4b6de7e48a6702ad799dc961a4fd6de (patch) | |
tree | fcb099ebf7519b5954199ca2feff8b12112b1172 /common/psci/psci_setup.c | |
parent | b739f22a99c96d5a295f083125505b5b5ec2f8b6 (diff) |
Add helper library for cpu context management
This patch introduces functions for saving and restoring shared system
registers between secure and non-secure EL1 exception levels, VFP
registers and essential EL3 system register and other state. It also
defines the 'cpu_context' data structure which will used for saving and
restoring execution context for a given security state. These functions
will allow runtime services like PSCI and Secure payload dispatcher to
implement logic for switching between the secure and non-secure states.
The save and restore functions follow AArch64 PCS and only use
caller-saved temporary registers.
Change-Id: I8ee3aaa061d3caaedb28ae2c5becb9a206b6fd74
Diffstat (limited to 'common/psci/psci_setup.c')
0 files changed, 0 insertions, 0 deletions