HV: add main vcpu API comments for document

This patch adds comments to the main public functions
of vCPU in the hypervisor. The comments are in doxygen-style
for document generation.

Tracked-On: #1595
Signed-off-by: Minggui Cao <minggui.cao@intel.com>
This commit is contained in:
Minggui Cao
2018-10-31 10:13:33 +08:00
committed by David Kinder
parent 277c9330a2
commit c885011457
2 changed files with 281 additions and 5 deletions

View File

@@ -280,6 +280,9 @@ struct acrn_descriptor_ptr {
uint16_t reserved[3]; /* align struct size to 64bit */
} __attribute__((packed));
/**
* @brief registers info for vcpu.
*/
struct acrn_vcpu_regs {
struct acrn_gp_regs gprs;
struct acrn_descriptor_ptr gdt;