summaryrefslogtreecommitdiffstats
path: root/sys/amd64/vmm
diff options
context:
space:
mode:
Diffstat (limited to 'sys/amd64/vmm')
-rw-r--r--sys/amd64/vmm/amd/vmcb.h2
-rw-r--r--sys/amd64/vmm/intel/vtd.c2
-rw-r--r--sys/amd64/vmm/io/vlapic.c2
-rw-r--r--sys/amd64/vmm/vmm_instruction_emul.c2
-rw-r--r--sys/amd64/vmm/vmm_stat.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/sys/amd64/vmm/amd/vmcb.h b/sys/amd64/vmm/amd/vmcb.h
index 496f880..9c4f582 100644
--- a/sys/amd64/vmm/amd/vmcb.h
+++ b/sys/amd64/vmm/amd/vmcb.h
@@ -313,7 +313,7 @@ struct vmcb_state {
uint64_t br_to;
uint64_t int_from;
uint64_t int_to;
- uint8_t pad7[0x968]; /* Reserved upto end of VMCB */
+ uint8_t pad7[0x968]; /* Reserved up to end of VMCB */
} __attribute__ ((__packed__));
CTASSERT(sizeof(struct vmcb_state) == 0xC00);
diff --git a/sys/amd64/vmm/intel/vtd.c b/sys/amd64/vmm/intel/vtd.c
index be57aff..f3b7a98 100644
--- a/sys/amd64/vmm/intel/vtd.c
+++ b/sys/amd64/vmm/intel/vtd.c
@@ -463,7 +463,7 @@ vtd_update_mapping(void *arg, vm_paddr_t gpa, vm_paddr_t hpa, uint64_t len,
panic("vtd_create_mapping: unaligned len 0x%0lx", len);
/*
- * Compute the size of the mapping that we can accomodate.
+ * Compute the size of the mapping that we can accommodate.
*
* This is based on three factors:
* - supported super page size
diff --git a/sys/amd64/vmm/io/vlapic.c b/sys/amd64/vmm/io/vlapic.c
index 3451e1e..cdf411b 100644
--- a/sys/amd64/vmm/io/vlapic.c
+++ b/sys/amd64/vmm/io/vlapic.c
@@ -841,7 +841,7 @@ vlapic_calcdest(struct vm *vm, cpuset_t *dmask, uint32_t dest, bool phys,
} else {
/*
* In the "Flat Model" the MDA is interpreted as an 8-bit wide
- * bitmask. This model is only avilable in the xAPIC mode.
+ * bitmask. This model is only available in the xAPIC mode.
*/
mda_flat_ldest = dest & 0xff;
diff --git a/sys/amd64/vmm/vmm_instruction_emul.c b/sys/amd64/vmm/vmm_instruction_emul.c
index ae5330f..852f1d7 100644
--- a/sys/amd64/vmm/vmm_instruction_emul.c
+++ b/sys/amd64/vmm/vmm_instruction_emul.c
@@ -1232,7 +1232,7 @@ emulate_stack_op(void *vm, int vcpuid, uint64_t mmio_gpa, struct vie *vie,
size = vie->opsize_override ? 2 : 8;
} else {
/*
- * In protected or compability mode the 'B' flag in the
+ * In protected or compatibility mode the 'B' flag in the
* stack-segment descriptor determines the size of the
* stack pointer.
*/
diff --git a/sys/amd64/vmm/vmm_stat.c b/sys/amd64/vmm/vmm_stat.c
index 7e2f64d..62002d6 100644
--- a/sys/amd64/vmm/vmm_stat.c
+++ b/sys/amd64/vmm/vmm_stat.c
@@ -69,7 +69,7 @@ vmm_stat_register(void *arg)
return;
if (vst_num_elems + vst->nelems >= MAX_VMM_STAT_ELEMS) {
- printf("Cannot accomodate vmm stat type \"%s\"!\n", vst->desc);
+ printf("Cannot accommodate vmm stat type \"%s\"!\n", vst->desc);
return;
}
OpenPOWER on IntegriCloud