acrn-hypervisor/hypervisor/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
..
hv_main.c move global x2apic_enabled into arch dir 2018-08-07 09:55:13 +08:00
hypercall.c HV: trusty: refine secure_world_control 2018-08-09 15:09:15 +08:00
io_request.c hv:cleanup vmid related code 2018-08-06 12:27:53 +08:00
ptdev.c HV:fix rest integer violations 2018-08-02 09:51:58 +08:00
schedule.c add cpu_do_idle to handle idle 2018-08-08 10:00:51 +08:00
softirq.c hv: softirq: refine softirq 2018-08-01 11:36:27 +08:00
stack_protector.c HV:common:fix "expression is not Boolean" 2018-06-20 14:19:47 +08:00
trusty_hypercall.c HV: trusty: new hypercall to save/restore context of secure world 2018-08-09 15:09:15 +08:00
vm_load.c vcpu: add get/set register APIs 2018-08-07 09:55:13 +08:00