vmm(4): Small spelling fixes.

Reviewed by:	grehan
This commit is contained in:
Pedro F. Giffuni 2016-05-03 22:07:18 +00:00
parent 696efc839c
commit 500eb14ae8
5 changed files with 5 additions and 5 deletions

View File

@ -313,7 +313,7 @@ struct vmcb_state {
uint64_t br_to; uint64_t br_to;
uint64_t int_from; uint64_t int_from;
uint64_t int_to; 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__)); } __attribute__ ((__packed__));
CTASSERT(sizeof(struct vmcb_state) == 0xC00); CTASSERT(sizeof(struct vmcb_state) == 0xC00);

View File

@ -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); 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: * This is based on three factors:
* - supported super page size * - supported super page size

View File

@ -841,7 +841,7 @@ vlapic_calcdest(struct vm *vm, cpuset_t *dmask, uint32_t dest, bool phys,
} else { } else {
/* /*
* In the "Flat Model" the MDA is interpreted as an 8-bit wide * 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; mda_flat_ldest = dest & 0xff;

View File

@ -1232,7 +1232,7 @@ emulate_stack_op(void *vm, int vcpuid, uint64_t mmio_gpa, struct vie *vie,
size = vie->opsize_override ? 2 : 8; size = vie->opsize_override ? 2 : 8;
} else { } 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-segment descriptor determines the size of the
* stack pointer. * stack pointer.
*/ */

View File

@ -69,7 +69,7 @@ vmm_stat_register(void *arg)
return; return;
if (vst_num_elems + vst->nelems >= MAX_VMM_STAT_ELEMS) { 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; return;
} }