Add context management library
This patch adds support for a cpu context management library. This
library will be used to:

1. Share pointers to secure and non-secure state cpu contexts between
   runtime services e.g. PSCI and Secure Payload Dispatcher services
2. Set SP_EL3 to a context structure which will be used for
   programming an ERET into a lower EL
3. Provide wrapper functions to save and restore EL3 & EL1
   state. These functions will in turn use the helper functions in
   context.S

Change-Id: I655eeef83dcd2a0c6f2eb2ac23efab866ac83ca0
1 parent 9ac63c5 commit 7aea908761a6a2923940b8c9491cc1e749142ad1
@Achin Gupta Achin Gupta authored on 1 Feb 2014
Dan Handley committed on 17 Feb 2014
Showing 5 changed files
View
bl31/bl31.mk
View
bl31/bl31_main.c
View
bl31/context_mgmt.c 0 → 100644
View
include/aarch64/arch.h
View
include/context_mgmt.h 0 → 100644