acrn-hypervisor/hypervisor/include/arch/x86/guest
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
..
guest_pm.h hv: treewide: fix 'No definition in system for prototyped procedure' 2018-07-20 10:38:32 +08:00
guest.h hv: get correct fault address for copy_to/from_gva 2018-08-09 14:46:13 +08:00
mptable.h HV: Adding mptable support for partition mode ACRN 2018-08-03 13:36:40 +08:00
ucode.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
vcpu.h vcpu: add ext context support for world switch 2018-08-07 09:55:13 +08:00
vioapic.h hv: vioapic: change the variable type of pin to uint32_t 2018-08-06 12:32:35 +08:00
vlapic.h hv: treewide: fix 'Prototype and definition name mismatch' 2018-08-06 16:04:40 +08:00
vm.h HV: trusty: new hypercall to save/restore context of secure world 2018-08-09 15:09:15 +08:00
vpic.h HV:treewide:rename struct vpic as struct acrn_vpic 2018-07-27 11:27:12 +08:00