psci: replace secure context with suspend context

The secure context saved and restored across a cpu_suspend operation
can be more than just the state of the secure system registers e.g. we
also need to save the affinity level till which the cpu is being
powered down. This patch creates a suspend_context data structure
which includes the system register context. This will allow other bits
to be saved and restored as well in subsequent patches.

Change-Id: I1c1f7d25497388b54b7d6ee4fab77e8c6a9992c4
diff --git a/include/aarch64/arch.h b/include/aarch64/arch.h
index bcde243..10d2adb 100644
--- a/include/aarch64/arch.h
+++ b/include/aarch64/arch.h
@@ -314,6 +314,23 @@
 #ifndef __ASSEMBLY__
 
 /*******************************************************************************
+ * The following data structure holds the system register context across cpu
+ * save/restore operations
+ ******************************************************************************/
+typedef struct {
+	unsigned long sctlr;
+	unsigned long scr;
+	unsigned long cptr;
+	unsigned long cpacr;
+	unsigned long cntfrq;
+	unsigned long mair;
+	unsigned long tcr;
+	unsigned long ttbr;
+	unsigned long vbar;
+	unsigned long pstate;
+} sysregs_context;
+
+/*******************************************************************************
  * Function prototypes
  ******************************************************************************/