Skip to content

Commit f757d49

Browse files
authored
Merge pull request #322 from dbkinder/api-spell
doc: fix API documentation misspellings
2 parents 44293a4 + 69af3a9 commit f757d49

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

hypervisor/include/common/hypercall.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ int64_t hcall_pause_vm(uint64_t vmid);
101101
*
102102
* @param vm Pointer to VM data structure
103103
* @param vmid ID of the VM
104-
* @param param guest physical addressx. This gpa points to
104+
* @param param guest physical address. This gpa points to
105105
* struct acrn_create_vcpu
106106
*
107107
* @return 0 on success, non-zero on error.
@@ -211,7 +211,7 @@ int64_t hcall_notify_req_finish(uint64_t vmid, uint64_t param);
211211
int64_t hcall_set_vm_memmap(struct vm *vm, uint64_t vmid, uint64_t param);
212212

213213
/**
214-
* @brief setup ept memmory mapping for multi regions
214+
* @brief setup ept memory mapping for multi regions
215215
*
216216
* @param vm Pointer to VM data structure
217217
* @param param guest physical address. This gpa points to
@@ -237,7 +237,7 @@ int64_t hcall_set_vm_memmaps(struct vm *vm, uint64_t param);
237237
int64_t hcall_remap_pci_msix(struct vm *vm, uint64_t vmid, uint64_t param);
238238

239239
/**
240-
* @brief translate guest physical address ot host physical address
240+
* @brief translate guest physical address to host physical address
241241
*
242242
* Translate guest physical address to host physical address for a VM.
243243
* The function will return -1 if the target VM does not exist.

hypervisor/include/public/acrn_hv_defs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ struct hc_ptdev_irq {
228228
} __aligned(8);
229229

230230
/**
231-
* Hypervisor api version info, return it for HC_GET_API_VERSION hyercall
231+
* Hypervisor api version info, return it for HC_GET_API_VERSION hypercall
232232
*/
233233
struct hc_api_version {
234234
/** hypervisor api major version */

0 commit comments

Comments
 (0)