Skip to content

Commit fcd7932

Browse files
JasonChenCJlijinxia
authored andcommitted
doxygen: fix wrong description in hypercall.h
fix wrong description for hcall_get_cpu_pm_state/hcall_world_switch Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
1 parent f58fe33 commit fcd7932

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

hypervisor/include/common/hypercall.h

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -335,19 +335,21 @@ int64_t hcall_reset_ptdev_intr_info(struct vm *vm, uint64_t vmid,
335335
int64_t hcall_setup_sbuf(struct vm *vm, uint64_t param);
336336

337337
/**
338-
* @brief Switch VCPU state between Normal/Secure World.
338+
* @brief Get VCPU Power state.
339339
*
340-
* @param vcpu Pointer to VCPU data structure
340+
* @param cmd cmd to show get which VCPU power state data
341+
* @param param VCPU power state data
341342
*
342343
* @return 0 on success, non-zero on error.
343344
*/
344345

345346
int64_t hcall_get_cpu_pm_state(struct vm *vm, uint64_t cmd, uint64_t param);
346347

348+
347349
/**
348-
* @brief Get VCPU Power state.
350+
* @brief Switch VCPU state between Normal/Secure World.
349351
*
350-
* @param VCPU power state data
352+
* @param vcpu Pointer to VCPU data structure
351353
*
352354
* @return 0 on success, non-zero on error.
353355
*/

0 commit comments

Comments
 (0)