pm: use cpu_context for s3 save/restore

use structure cpu_context and update offsets in wakeup.S

Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
This commit is contained in:
Jason Chen CJ
2018-08-02 00:45:42 +08:00
committed by lijinxia
parent 8a95b2abdc
commit 72f9c9a26e
2 changed files with 22 additions and 26 deletions

View File

@@ -5,7 +5,7 @@
#include <hypervisor.h>
#include <reloc.h>
struct run_context cpu_ctx;
struct cpu_context cpu_ctx;
/* whether the host enter s3 success */
uint8_t host_enter_s3_success = 1U;