Deleted Added
full compact
vmcs.h (240941) vmcs.h (243640)
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

--- 53 unchanged lines hidden (view full) ---

62
63#define vmexit_instruction_length() vmcs_read(VMCS_EXIT_INSTRUCTION_LENGTH)
64#define vmcs_guest_rip() vmcs_read(VMCS_GUEST_RIP)
65#define vmcs_instruction_error() vmcs_read(VMCS_INSTRUCTION_ERROR)
66#define vmcs_exit_reason() (vmcs_read(VMCS_EXIT_REASON) & 0xffff)
67#define vmcs_exit_qualification() vmcs_read(VMCS_EXIT_QUALIFICATION)
68#define vmcs_guest_cr3() vmcs_read(VMCS_GUEST_CR3)
69#define vmcs_gpa() vmcs_read(VMCS_GUEST_PHYSICAL_ADDRESS)
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

--- 53 unchanged lines hidden (view full) ---

62
63#define vmexit_instruction_length() vmcs_read(VMCS_EXIT_INSTRUCTION_LENGTH)
64#define vmcs_guest_rip() vmcs_read(VMCS_GUEST_RIP)
65#define vmcs_instruction_error() vmcs_read(VMCS_INSTRUCTION_ERROR)
66#define vmcs_exit_reason() (vmcs_read(VMCS_EXIT_REASON) & 0xffff)
67#define vmcs_exit_qualification() vmcs_read(VMCS_EXIT_QUALIFICATION)
68#define vmcs_guest_cr3() vmcs_read(VMCS_GUEST_CR3)
69#define vmcs_gpa() vmcs_read(VMCS_GUEST_PHYSICAL_ADDRESS)
70#define vmcs_gla() vmcs_read(VMCS_GUEST_LINEAR_ADDRESS)
70
71#endif /* _KERNEL */
72
73#define VMCS_INITIAL 0xffffffffffffffff
74
75#define VMCS_IDENT(encoding) ((encoding) | 0x80000000)
76/*
77 * VMCS field encodings from Appendix H, Intel Architecture Manual Vol3B.

--- 260 unchanged lines hidden ---
71
72#endif /* _KERNEL */
73
74#define VMCS_INITIAL 0xffffffffffffffff
75
76#define VMCS_IDENT(encoding) ((encoding) | 0x80000000)
77/*
78 * VMCS field encodings from Appendix H, Intel Architecture Manual Vol3B.

--- 260 unchanged lines hidden ---