vmm.h (277149) | vmm.h (277360) |
---|---|
1/*- 2 * Copyright (c) 2011 NetApp, Inc. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (c) 2011 NetApp, Inc. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/sys/amd64/include/vmm.h 277149 2015-01-13 22:00:47Z neel $ | 26 * $FreeBSD: head/sys/amd64/include/vmm.h 277360 2015-01-19 06:53:31Z neel $ |
27 */ 28 29#ifndef _VMM_H_ 30#define _VMM_H_ 31 32#include <x86/segments.h> 33 34enum vm_suspend_how { --- 406 unchanged lines hidden (view full) --- 441 uint8_t num_processed; 442 443 uint8_t addrsize:4, opsize:4; /* address and operand sizes */ 444 uint8_t rex_w:1, /* REX prefix */ 445 rex_r:1, 446 rex_x:1, 447 rex_b:1, 448 rex_present:1, | 27 */ 28 29#ifndef _VMM_H_ 30#define _VMM_H_ 31 32#include <x86/segments.h> 33 34enum vm_suspend_how { --- 406 unchanged lines hidden (view full) --- 441 uint8_t num_processed; 442 443 uint8_t addrsize:4, opsize:4; /* address and operand sizes */ 444 uint8_t rex_w:1, /* REX prefix */ 445 rex_r:1, 446 rex_x:1, 447 rex_b:1, 448 rex_present:1, |
449 repz_present:1, /* REP/REPE/REPZ prefix */ 450 repnz_present:1, /* REPNE/REPNZ prefix */ |
|
449 opsize_override:1, /* Operand size override */ | 451 opsize_override:1, /* Operand size override */ |
450 addrsize_override:1; /* Address size override */ | 452 addrsize_override:1, /* Address size override */ 453 segment_override:1; /* Segment override */ |
451 452 uint8_t mod:2, /* ModRM byte */ 453 reg:4, 454 rm:4; 455 456 uint8_t ss:2, /* SIB byte */ 457 index:4, 458 base:4; 459 460 uint8_t disp_bytes; 461 uint8_t imm_bytes; 462 463 uint8_t scale; 464 int base_register; /* VM_REG_GUEST_xyz */ 465 int index_register; /* VM_REG_GUEST_xyz */ | 454 455 uint8_t mod:2, /* ModRM byte */ 456 reg:4, 457 rm:4; 458 459 uint8_t ss:2, /* SIB byte */ 460 index:4, 461 base:4; 462 463 uint8_t disp_bytes; 464 uint8_t imm_bytes; 465 466 uint8_t scale; 467 int base_register; /* VM_REG_GUEST_xyz */ 468 int index_register; /* VM_REG_GUEST_xyz */ |
469 int segment_register; /* VM_REG_GUEST_xyz */ |
|
466 467 int64_t displacement; /* optional addr displacement */ 468 int64_t immediate; /* optional immediate operand */ 469 470 uint8_t decoded; /* set to 1 if successfully decoded */ 471 472 struct vie_op op; /* opcode description */ 473}; --- 161 unchanged lines hidden --- | 470 471 int64_t displacement; /* optional addr displacement */ 472 int64_t immediate; /* optional immediate operand */ 473 474 uint8_t decoded; /* set to 1 if successfully decoded */ 475 476 struct vie_op op; /* opcode description */ 477}; --- 161 unchanged lines hidden --- |