mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-21 08:50:27 +00:00
Documentation: add pictures to Trusty documentation
A couple of diagram were written using text characters. This commit changes that to use pictures instead. Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
This commit is contained in:
committed by
David Kinder
parent
d24179550e
commit
f7d78289ee
@@ -334,11 +334,12 @@ int64_t hcall_get_cpu_pm_state(struct vm *vm, uint64_t cmd, uint64_t param);
|
||||
/**
|
||||
* @brief Switch vCPU state between Normal/Secure World.
|
||||
*
|
||||
* * Hypervisor uses the Secure Monitor Code (SMC) instruction to do
|
||||
* the world switch
|
||||
* * The hypervisor needs to save current world vCPU contexts, and load
|
||||
* the next world vCPU contexts
|
||||
* * Updates ``rdi``, ``rsi``, ``rdx``, ``rbx`` to next world vCPU contexts
|
||||
* * The hypervisor uses this hypercall to do the world switch
|
||||
* * The hypervisor needs to:
|
||||
* * save current world vCPU contexts, and load the next world
|
||||
* vCPU contexts
|
||||
* * update ``rdi``, ``rsi``, ``rdx``, ``rbx`` to next world
|
||||
* vCPU contexts
|
||||
*
|
||||
* @param vcpu Pointer to VCPU data structure
|
||||
*
|
||||
|
Reference in New Issue
Block a user