From 826c10b2f366c8c6ecf0ceec0d97d59d642e87fc Mon Sep 17 00:00:00 2001 From: pfg Date: Tue, 3 May 2016 22:07:18 +0000 Subject: [PATCH] vmm(4): Small spelling fixes. Reviewed by: grehan --- sys/amd64/vmm/amd/vmcb.h | 2 +- sys/amd64/vmm/intel/vtd.c | 2 +- sys/amd64/vmm/io/vlapic.c | 2 +- sys/amd64/vmm/vmm_instruction_emul.c | 2 +- sys/amd64/vmm/vmm_stat.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sys/amd64/vmm/amd/vmcb.h b/sys/amd64/vmm/amd/vmcb.h index 496f88053c9..9c4f582cebd 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 be57aff679c..f3b7a98a9d3 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 3451e1e7f23..cdf411b288b 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 ae5330ff529..852f1d7393b 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 7e2f64d1fe1..62002d632ee 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; } -- 2.45.0