acrn-hypervisor/hypervisor/include/common
Qi Yadong 2fc3bdec40 HV: trusty: new hypercall to save/restore context of secure world
New field in VM's structure:
    sworld_snapshot: save cpu_context of secure world.

New hypercall: HC_SAVE_RESTORE_SWORLD_CTX
    In UOS S3 suspend path: trusty kernel driver will call this hypercall
    to require Hypervisor save context of secure world.
    In UOS S3 resume path: virtual firmware will call this hypercall to
    require Hypervisor restore context of secure world.

New bit in secure_world_control.flag:
    ctx_saved: indicate whether cpu_context of secure world is saved.

Signed-off-by: Qi Yadong <yadong.qi@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2018-08-09 15:09:15 +08:00
..
acrn_efi.h hv: Fix typo of trampline with trampoline 2018-06-12 15:54:16 +08:00
hypercall.h HV: trusty: new hypercall to save/restore context of secure world 2018-08-09 15:09:15 +08:00
irq.h hv: treewide: fix 'Procedure parameter has a type but no identifier' 2018-08-03 13:29:24 +08:00
ptdev.h hv: treewide: fix 'Prototype and definition name mismatch' 2018-08-06 16:04:40 +08:00
schedule.h HV:treewide:Cleanup the type for parameters of bitmap 2018-07-02 10:46:11 +08:00
softirq.h hv: softirq: refine softirq 2018-08-01 11:36:27 +08:00