Changeset 53615 in vbox
- Timestamp:
- Dec 31, 2014 1:53:47 AM (10 years ago)
- Location:
- trunk/include
- Files:
-
- 43 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/VBoxGuest.h
r52867 r53615 6 6 7 7 /* 8 * Copyright (C) 2006-201 2Oracle Corporation8 * Copyright (C) 2006-2015 Oracle Corporation 9 9 * 10 10 * This file is part of VirtualBox Open Source Edition (OSE), as … … 40 40 */ 41 41 42 /** @todo it would be nice if we could have two definewithout paths. */42 /** @todo It would be nice if we could have two defines without paths. */ 43 43 44 44 /** @def VBOXGUEST_DEVICE_NAME … … 81 81 #ifdef RT_OS_DARWIN 82 82 /** Cookie used to fend off some unwanted clients to the IOService. */ 83 # define VBOXGUEST_DARWIN_IOSERVICE_COOKIE 0x56426F78/* 'VBox' */83 # define VBOXGUEST_DARWIN_IOSERVICE_COOKIE UINT32_C(0x56426f78) /* 'VBox' */ 84 84 #endif 85 85 86 86 #if !defined(IN_RC) && !defined(IN_RING0_AGNOSTIC) && !defined(IPRT_NO_CRT) 87 87 88 /** @name VBoxGuest IOCTL codes and structures. 88 89 * … … 360 361 /** @name IOCTL numbers that 32-bit clients, like the Windows OpenGL guest 361 362 * driver, will use when taking to a 64-bit driver. 362 * @remarks These are only used by the driver implementation! */ 363 * @remarks These are only used by the driver implementation! 364 * @{*/ 363 365 # define VBOXGUEST_IOCTL_HGCM_CONNECT_32 VBOXGUEST_IOCTL_CODE_32(16, sizeof(VBoxGuestHGCMConnectInfo)) 364 366 # define VBOXGUEST_IOCTL_HGCM_DISCONNECT_32 VBOXGUEST_IOCTL_CODE_32(17, sizeof(VBoxGuestHGCMDisconnectInfo)) … … 548 550 #endif /* RT_OS_LINUX || RT_OS_SOLARIS || RT_OS_FREEBSD */ 549 551 552 #endif /* !defined(IN_RC) && !defined(IN_RING0_AGNOSTIC) && !defined(IPRT_NO_CRT) */ 553 550 554 /** @} */ 551 #endif /* !defined(IN_RC) && !defined(IN_RING0_AGNOSTIC) && !defined(IPRT_NO_CRT) */ 552 553 #endif 554 555 556 #endif 557 -
trunk/include/VBox/param.h
r44528 r53615 6 6 7 7 /* 8 * Copyright (C) 2006-201 1Oracle Corporation8 * Copyright (C) 2006-2015 Oracle Corporation 9 9 * 10 10 * This file is part of VirtualBox Open Source Edition (OSE), as … … 53 53 54 54 /** @defgroup grp_vbox_param_mm Memory Monitor Parameters 55 * @ingroup grp_vbox_param56 55 * @{ 57 56 */ … … 90 89 91 90 /** @defgroup grp_vbox_param_pgm Page Manager Parameters 92 * @ingroup grp_vbox_param93 91 * @{ 94 92 */ … … 124 122 125 123 /** @defgroup grp_vbox_param_vmm VMM Parameters 126 * @ingroup grp_vbox_param127 124 * @{ 128 125 */ -
trunk/include/VBox/sup.h
r53441 r53615 4 4 5 5 /* 6 * Copyright (C) 2006-201 4Oracle Corporation6 * Copyright (C) 2006-2015 Oracle Corporation 7 7 * 8 8 * This file is part of VirtualBox Open Source Edition (OSE), as … … 703 703 704 704 /** @defgroup grp_sup_r3 SUP Host Context Ring-3 API 705 * @ingroup grp_sup706 705 * @{ 707 706 */ … … 1650 1649 #ifdef IN_RING0 1651 1650 /** @defgroup grp_sup_r0 SUP Host Context Ring-0 API 1652 * @ingroup grp_sup1653 1651 * @{ 1654 1652 */ … … 2045 2043 2046 2044 /** @defgroup grp_sup_r0_idc The IDC Interface 2047 * @ingroup grp_sup_r02048 2045 * @{ 2049 2046 */ -
trunk/include/VBox/types.h
r45152 r53615 4 4 5 5 /* 6 * Copyright (C) 2006-201 2Oracle Corporation6 * Copyright (C) 2006-2015 Oracle Corporation 7 7 * 8 8 * This file is part of VirtualBox Open Source Edition (OSE), as … … 37 37 38 38 /** @defgroup grp_types_both Common Guest and Host Context Basic Types 39 * @ingroup grp_types40 39 * @{ 41 40 */ … … 43 42 44 43 /** @defgroup grp_types_hc Host Context Basic Types 45 * @ingroup grp_types_both46 44 * @{ 47 45 */ … … 51 49 52 50 /** @defgroup grp_types_gc Guest Context Basic Types 53 * @ingroup grp_types_both54 51 * @{ 55 52 */ … … 405 402 406 403 /** @defgroup grp_types_idt Interrupt Descriptor Table Entry. 407 * @ingroup grp_types408 404 * @todo This all belongs in x86.h! 409 405 * @{ */ -
trunk/include/VBox/vmm/cfgm.h
r53437 r53615 4 4 5 5 /* 6 * Copyright (C) 2006-201 3Oracle Corporation6 * Copyright (C) 2006-2015 Oracle Corporation 7 7 * 8 8 * This file is part of VirtualBox Open Source Edition (OSE), as … … 55 55 #ifdef IN_RING3 56 56 /** @defgroup grp_cfgm_r3 The CFGM Host Context Ring-3 API 57 * @ingroup grp_cfgm58 57 * @{ 59 58 */ -
trunk/include/VBox/vmm/cpum.h
r53466 r53615 4 4 5 5 /* 6 * Copyright (C) 2006-201 4Oracle Corporation6 * Copyright (C) 2006-2015 Oracle Corporation 7 7 * 8 8 * This file is part of VirtualBox Open Source Edition (OSE), as … … 1245 1245 1246 1246 #ifdef IN_RING3 1247 /** @defgroup grp_cpum_r3 The CPU Monitor(/Manager) API 1248 * @ingroup grp_cpum 1247 /** @defgroup grp_cpum_r3 The CPUM ring-3 API 1249 1248 * @{ 1250 1249 */ … … 1282 1281 1283 1282 #ifdef IN_RC 1284 /** @defgroup grp_cpum_gc The CPU Monitor(/Manager) API 1285 * @ingroup grp_cpum 1283 /** @defgroup grp_cpum_rc The CPUM Raw-mode Context API 1286 1284 * @{ 1287 1285 */ … … 1322 1320 1323 1321 #ifdef IN_RING0 1324 /** @defgroup grp_cpum_r0 The CPU Monitor(/Manager) API 1325 * @ingroup grp_cpum 1322 /** @defgroup grp_cpum_r0 The CPUM ring-0 API 1326 1323 * @{ 1327 1324 */ -
trunk/include/VBox/vmm/csam.h
r45528 r53615 4 4 5 5 /* 6 * Copyright (C) 2006-201 3Oracle Corporation6 * Copyright (C) 2006-2015 Oracle Corporation 7 7 * 8 8 * This file is part of VirtualBox Open Source Edition (OSE), as … … 73 73 #ifdef IN_RING3 74 74 /** @defgroup grp_csam_r3 The Code Scanning and Analysis API 75 * @ingroup grp_csam76 75 * @{ 77 76 */ -
trunk/include/VBox/vmm/dbgf.h
r48898 r53615 537 537 const char *pszSepFmt, PCDBGFINFOHLP pHlp); 538 538 539 /** @def DBGFR3 InfoLog539 /** @def DBGFR3_INFO_LOG 540 540 * Display a piece of info writing to the log if enabled. 541 541 * … … 913 913 VMMR3DECL(int) DBGFR3DisasInstrCurrentLogInternal(PVMCPU pVCpu, const char *pszPrefix); 914 914 915 /** @def DBGFR3 DisasInstrCurrentLog915 /** @def DBGFR3_DISAS_INSTR_CUR_LOG 916 916 * Disassembles the current guest context instruction and writes it to the log. 917 917 * All registers and data will be displayed. Addresses will be attempted resolved to symbols. … … 929 929 VMMR3DECL(int) DBGFR3DisasInstrLogInternal(PVMCPU pVCpu, RTSEL Sel, RTGCPTR GCPtr, const char *pszPrefix); 930 930 931 /** @def DBGFR3 DisasInstrLog931 /** @def DBGFR3_DISAS_INSTR_LOG 932 932 * Disassembles the specified guest context instruction and writes it to the log. 933 933 * Addresses will be attempted resolved to symbols. -
trunk/include/VBox/vmm/em.h
r48370 r53615 4 4 5 5 /* 6 * Copyright (C) 2006-201 3Oracle Corporation6 * Copyright (C) 2006-2015 Oracle Corporation 7 7 * 8 8 * This file is part of VirtualBox Open Source Edition (OSE), as … … 251 251 #ifdef IN_RING3 252 252 /** @defgroup grp_em_r3 The EM Host Context Ring-3 API 253 * @ingroup grp_em254 253 * @{ 255 254 */ -
trunk/include/VBox/vmm/ftm.h
r44529 r53615 4 4 5 5 /* 6 * Copyright (C) 2010-201 3Oracle Corporation6 * Copyright (C) 2010-2015 Oracle Corporation 7 7 * 8 8 * This file is part of VirtualBox Open Source Edition (OSE), as … … 53 53 #ifdef IN_RING3 54 54 /** @defgroup grp_ftm_r3 The FTM Host Context Ring-3 API 55 * @ingroup grp_ftm56 55 * @{ 57 56 */ -
trunk/include/VBox/vmm/gim.h
r53466 r53615 4 4 5 5 /* 6 * Copyright (C) 2014 Oracle Corporation6 * Copyright (C) 2014-2015 Oracle Corporation 7 7 * 8 8 * This file is part of VirtualBox Open Source Edition (OSE), as … … 141 141 #ifdef IN_RC 142 142 /** @defgroup grp_gim_rc The GIM Raw-mode Context API 143 * @ingroup grp_gim144 143 * @{ 145 144 */ … … 149 148 #ifdef IN_RING0 150 149 /** @defgroup grp_gim_r0 The GIM Host Context Ring-0 API 151 * @ingroup grp_gim152 150 * @{ 153 151 */ … … 161 159 #ifdef IN_RING3 162 160 /** @defgroup grp_gim_r3 The GIM Host Context Ring-3 API 163 * @ingroup grp_gim164 161 * @{ 165 162 */ -
trunk/include/VBox/vmm/gmm.h
r44528 r53615 4 4 5 5 /* 6 * Copyright (C) 2007-201 2Oracle Corporation6 * Copyright (C) 2007-2015 Oracle Corporation 7 7 * 8 8 * This file is part of VirtualBox Open Source Edition (OSE), as … … 769 769 #ifdef IN_RING3 770 770 /** @defgroup grp_gmm_r3 The Global Memory Manager Ring-3 API Wrappers 771 * @ingroup grp_gmm772 771 * @{ 773 772 */ -
trunk/include/VBox/vmm/gvm.h
r44528 r53615 5 5 6 6 /* 7 * Copyright (C) 2007-201 1Oracle Corporation7 * Copyright (C) 2007-2015 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 33 33 34 34 35 /** @defgroup grp_gvm 35 /** @defgroup grp_gvmcpu GVMCPU - The Global VMCPU Data 36 36 * @{ 37 37 */ -
trunk/include/VBox/vmm/hm.h
r52419 r53615 4 4 5 5 /* 6 * Copyright (C) 2006-201 4Oracle Corporation6 * Copyright (C) 2006-2015 Oracle Corporation 7 7 * 8 8 * This file is part of VirtualBox Open Source Edition (OSE), as … … 165 165 #ifdef IN_RING0 166 166 /** @defgroup grp_hm_r0 The VM Hardware Manager API 167 * @ingroup grp_hm168 167 * @{ 169 168 */ … … 180 179 VMMR0_INT_DECL(void) HMR0SavePendingIOPortRead(PVMCPU pVCpu, RTGCPTR GCPtrRip, RTGCPTR GCPtrRipNext, 181 180 unsigned uPort, unsigned uAndVal, unsigned cbSize); 181 /** Disables preemption if required. */ 182 # define HM_DISABLE_PREEMPT_IF_NEEDED() \ 183 RTTHREADPREEMPTSTATE PreemptStateInternal = RTTHREADPREEMPTSTATE_INITIALIZER; \ 184 bool fPreemptDisabledInternal = false; \ 185 if (RTThreadPreemptIsEnabled(NIL_RTTHREAD)) \ 186 { \ 187 Assert(VMMR0ThreadCtxHooksAreRegistered(pVCpu)); \ 188 RTThreadPreemptDisable(&PreemptStateInternal); \ 189 fPreemptDisabledInternal = true; \ 190 } else do { } while (0) 191 192 /** Restores preemption if previously disabled by HM_DISABLE_PREEMPT(). */ 193 # define HM_RESTORE_PREEMPT_IF_NEEDED() \ 194 do \ 195 { \ 196 if (fPreemptDisabledInternal) \ 197 RTThreadPreemptRestore(&PreemptStateInternal); \ 198 } while (0) 199 200 VMMR0_INT_DECL(int) HMR0SetupVM(PVM pVM); 201 VMMR0_INT_DECL(int) HMR0RunGuestCode(PVM pVM, PVMCPU pVCpu); 202 VMMR0_INT_DECL(int) HMR0Enter(PVM pVM, PVMCPU pVCpu); 203 VMMR0_INT_DECL(int) HMR0EnterCpu(PVMCPU pVCpu); 204 VMMR0_INT_DECL(int) HMR0LeaveCpu(PVMCPU pVCpu); 205 VMMR0_INT_DECL(void) HMR0ThreadCtxCallback(RTTHREADCTXEVENT enmEvent, void *pvUser); 206 VMMR0_INT_DECL(bool) HMR0SuspendPending(void); 207 208 # if HC_ARCH_BITS == 32 && defined(VBOX_WITH_64_BITS_GUESTS) 209 VMMR0_INT_DECL(int) HMR0SaveFPUState(PVM pVM, PVMCPU pVCpu, PCPUMCTX pCtx); 210 VMMR0_INT_DECL(int) HMR0SaveDebugState(PVM pVM, PVMCPU pVCpu, PCPUMCTX pCtx); 211 VMMR0_INT_DECL(int) HMR0TestSwitcher3264(PVM pVM); 212 # endif 182 213 183 214 /** @} */ … … 187 218 #ifdef IN_RING3 188 219 /** @defgroup grp_hm_r3 The VM Hardware Manager API 189 * @ingroup grp_hm190 220 * @{ 191 221 */ … … 221 251 #endif /* IN_RING3 */ 222 252 223 #ifdef IN_RING0224 /** @addtogroup grp_hm_r0225 * @{226 */227 /** Disables preemption if required. */228 # define HM_DISABLE_PREEMPT_IF_NEEDED() \229 RTTHREADPREEMPTSTATE PreemptStateInternal = RTTHREADPREEMPTSTATE_INITIALIZER; \230 bool fPreemptDisabledInternal = false; \231 if (RTThreadPreemptIsEnabled(NIL_RTTHREAD)) \232 { \233 Assert(VMMR0ThreadCtxHooksAreRegistered(pVCpu)); \234 RTThreadPreemptDisable(&PreemptStateInternal); \235 fPreemptDisabledInternal = true; \236 }237 238 /** Restores preemption if previously disabled by HM_DISABLE_PREEMPT(). */239 # define HM_RESTORE_PREEMPT_IF_NEEDED() \240 do \241 { \242 if (fPreemptDisabledInternal) \243 RTThreadPreemptRestore(&PreemptStateInternal); \244 } while (0)245 246 VMMR0_INT_DECL(int) HMR0SetupVM(PVM pVM);247 VMMR0_INT_DECL(int) HMR0RunGuestCode(PVM pVM, PVMCPU pVCpu);248 VMMR0_INT_DECL(int) HMR0Enter(PVM pVM, PVMCPU pVCpu);249 VMMR0_INT_DECL(int) HMR0EnterCpu(PVMCPU pVCpu);250 VMMR0_INT_DECL(int) HMR0LeaveCpu(PVMCPU pVCpu);251 VMMR0_INT_DECL(void) HMR0ThreadCtxCallback(RTTHREADCTXEVENT enmEvent, void *pvUser);252 VMMR0_INT_DECL(bool) HMR0SuspendPending(void);253 254 # if HC_ARCH_BITS == 32 && defined(VBOX_WITH_64_BITS_GUESTS)255 VMMR0_INT_DECL(int) HMR0SaveFPUState(PVM pVM, PVMCPU pVCpu, PCPUMCTX pCtx);256 VMMR0_INT_DECL(int) HMR0SaveDebugState(PVM pVM, PVMCPU pVCpu, PCPUMCTX pCtx);257 VMMR0_INT_DECL(int) HMR0TestSwitcher3264(PVM pVM);258 # endif259 260 /** @} */261 #endif /* IN_RING0 */262 263 264 253 /** @} */ 265 254 RT_C_DECLS_END -
trunk/include/VBox/vmm/hm_svm.h
r46842 r53615 1 1 /** @file 2 * HM - SVM Structures and Definitions. (VMM)2 * HM - SVM (AMD-V) Structures and Definitions. (VMM) 3 3 */ 4 4 5 5 /* 6 * Copyright (C) 2006-201 3Oracle Corporation6 * Copyright (C) 2006-2015 Oracle Corporation 7 7 * 8 8 * This file is part of VirtualBox Open Source Edition (OSE), as … … 32 32 #include <iprt/asm.h> 33 33 34 /** @defgroup grp_svm svm Types and Definitions 34 35 /** @defgroup grp_svm SVM (AMD-V) Types and Definitions 35 36 * @ingroup grp_hm 36 37 * @{ -
trunk/include/VBox/vmm/hm_vmx.h
r53610 r53615 95 95 96 96 /** @name Host-state restoration flags. 97 * @{ 98 */ 99 /* If you change these values don't forget to update the assembly defines as well! */ 97 * @note If you change these values don't forget to update the assembly 98 * defines as well! 99 * @{ 100 */ 100 101 #define VMX_RESTORE_HOST_SEL_DS RT_BIT(0) 101 102 #define VMX_RESTORE_HOST_SEL_ES RT_BIT(1) … … 435 436 * @{ 436 437 */ 437 # define VMX_VMCS_GUEST_ES_BASE_CACHE_IDX0438 # define VMX_VMCS_GUEST_CS_BASE_CACHE_IDX1439 # define VMX_VMCS_GUEST_SS_BASE_CACHE_IDX2440 # define VMX_VMCS_GUEST_DS_BASE_CACHE_IDX3441 # define VMX_VMCS_GUEST_FS_BASE_CACHE_IDX4442 # define VMX_VMCS_GUEST_GS_BASE_CACHE_IDX5443 # define VMX_VMCS_GUEST_LDTR_BASE_CACHE_IDX6444 # define VMX_VMCS_GUEST_TR_BASE_CACHE_IDX7445 # define VMX_VMCS_GUEST_GDTR_BASE_CACHE_IDX8446 # define VMX_VMCS_GUEST_IDTR_BASE_CACHE_IDX9447 # define VMX_VMCS_GUEST_RSP_CACHE_IDX10448 # define VMX_VMCS_GUEST_RIP_CACHE_IDX11449 # define VMX_VMCS_GUEST_SYSENTER_ESP_CACHE_IDX12450 # define VMX_VMCS_GUEST_SYSENTER_EIP_CACHE_IDX13451 # define VMX_VMCS_RO_EXIT_QUALIFICATION_CACHE_IDX14452 # define VMX_VMCS_MAX_CACHE_IDX(VMX_VMCS_RO_EXIT_QUALIFICATION_CACHE_IDX + 1)453 # define VMX_VMCS_GUEST_CR3_CACHE_IDX15454 # define VMX_VMCS_MAX_NESTED_PAGING_CACHE_IDX(VMX_VMCS_GUEST_CR3_CACHE_IDX + 1)438 #define VMX_VMCS_GUEST_ES_BASE_CACHE_IDX 0 439 #define VMX_VMCS_GUEST_CS_BASE_CACHE_IDX 1 440 #define VMX_VMCS_GUEST_SS_BASE_CACHE_IDX 2 441 #define VMX_VMCS_GUEST_DS_BASE_CACHE_IDX 3 442 #define VMX_VMCS_GUEST_FS_BASE_CACHE_IDX 4 443 #define VMX_VMCS_GUEST_GS_BASE_CACHE_IDX 5 444 #define VMX_VMCS_GUEST_LDTR_BASE_CACHE_IDX 6 445 #define VMX_VMCS_GUEST_TR_BASE_CACHE_IDX 7 446 #define VMX_VMCS_GUEST_GDTR_BASE_CACHE_IDX 8 447 #define VMX_VMCS_GUEST_IDTR_BASE_CACHE_IDX 9 448 #define VMX_VMCS_GUEST_RSP_CACHE_IDX 10 449 #define VMX_VMCS_GUEST_RIP_CACHE_IDX 11 450 #define VMX_VMCS_GUEST_SYSENTER_ESP_CACHE_IDX 12 451 #define VMX_VMCS_GUEST_SYSENTER_EIP_CACHE_IDX 13 452 #define VMX_VMCS_RO_EXIT_QUALIFICATION_CACHE_IDX 14 453 #define VMX_VMCS_MAX_CACHE_IDX (VMX_VMCS_RO_EXIT_QUALIFICATION_CACHE_IDX + 1) 454 #define VMX_VMCS_GUEST_CR3_CACHE_IDX 15 455 #define VMX_VMCS_MAX_NESTED_PAGING_CACHE_IDX (VMX_VMCS_GUEST_CR3_CACHE_IDX + 1) 455 456 /** @} */ 456 457 … … 781 782 typedef const EPTPT *PCEPTPT; 782 783 783 /** @name VMX VPID flush types. 784 * Warning!! Valid enum members are in accordance to the VT-x spec. 785 * @{ 784 /** @} */ 785 786 /** VMX VPID flush types. 787 * Warning!! Valid enum members are in accordance to the VT-x spec. 786 788 */ 787 789 typedef enum … … 801 803 } VMXFLUSHVPID; 802 804 AssertCompileSize(VMXFLUSHVPID, 4); 803 /** @} */ 804 805 /** @name VMX EPT flush types. 806 * Warning!! Valid enums values below are in accordance to the VT-x spec. 807 * @{ 805 806 /** VMX EPT flush types. 807 * @note Warning!! Valid enums values below are in accordance to the VT-x spec. 808 808 */ 809 809 typedef enum … … 819 819 } VMXFLUSHEPT; 820 820 AssertCompileSize(VMXFLUSHEPT, 4); 821 /** @} */ 822 823 /** @name VMX MSR autoload/store element. 824 * In accordance to VT-x spec. 825 * @{ 826 */ 827 #pragma pack(1) 821 822 /** VMX MSR autoload/store element. 823 * In accordance to VT-x spec. 824 */ 828 825 typedef struct 829 826 { … … 835 832 uint64_t u64Value; 836 833 } VMXAUTOMSR; 837 #pragma pack() 834 AssertCompileSize(VMXAUTOMSR, 8); 838 835 /** Pointer to an MSR load/store element. */ 839 836 typedef VMXAUTOMSR *PVMXAUTOMSR; 840 837 /** Pointer to a const MSR load/store element. */ 841 838 typedef const VMXAUTOMSR *PCVMXAUTOMSR; 842 /** @} */ 843 844 /** @name VMX-capability qword 845 * @{ 846 */ 847 #pragma pack(1) 839 840 /** 841 * VMX-capability qword 842 */ 848 843 typedef union 849 844 { … … 858 853 uint64_t u; 859 854 } VMXCAPABILITY; 860 #pragma pack() 861 /** @} */ 862 863 /** @name VMX MSRs. 864 * @{ 855 AssertCompileSize(VMXCAPABILITY, 8); 856 857 /** 858 * VMX MSRs. 865 859 */ 866 860 typedef struct VMXMSRS … … 882 876 uint64_t u64EptVpidCaps; 883 877 } VMXMSRS; 878 AssertCompileSizeAlignment(VMXMSRS, 8); 884 879 /** Pointer to a VMXMSRS struct. */ 885 880 typedef VMXMSRS *PVMXMSRS; 886 AssertCompileSizeAlignment(VMXMSRS, 8);887 /** @} */888 881 889 882 /** @name VMX EFLAGS reserved bits. … … 891 884 */ 892 885 /** And-mask for setting reserved bits to zero */ 893 #define VMX_EFLAGS_RESERVED_0 (~ 0xffc08028)886 #define VMX_EFLAGS_RESERVED_0 (~(X86_EFL_1 | X86_EFL_LIVE_MASK)) 894 887 /** Or-mask for setting reserved bits to 1 */ 895 #define VMX_EFLAGS_RESERVED_1 0x00000002888 #define VMX_EFLAGS_RESERVED_1 X86_EFL_1 896 889 /** @} */ 897 890 … … 1070 1063 /** Invalid operand to INVEPT/INVVPID. */ 1071 1064 #define VMX_ERROR_INVEPTVPID_INVALID_OPERAND 28 1072 1073 1065 /** @} */ 1074 1066 … … 1155 1147 #define MSR_IA32_VMX_EPT_VPID_CAP_INVVPID_ALL_CONTEXTS RT_BIT_64(42) 1156 1148 #define MSR_IA32_VMX_EPT_VPID_CAP_INVVPID_SINGLE_CONTEXT_RETAIN_GLOBALS RT_BIT_64(43) 1157 1158 1149 /** @} */ 1159 1150 … … 1450 1441 */ 1451 1442 /** EPTP-switching function changes the value of the EPTP to one chosen from the EPTP list. */ 1452 #define VMX_VMCS_CTRL_VMFUNC_EPTP_SWITCHING RT_BIT_64(0)1453 /** @} */ 1454 1455 1456 /** 1457 * @{ 1458 */ 1459 #define VMX_VMCS32_RO_VM_INSTR_ERROR 1460 #define VMX_VMCS32_RO_EXIT_REASON 1461 #define VMX_VMCS32_RO_EXIT_INTERRUPTION_INFO 1462 #define VMX_VMCS32_RO_EXIT_INTERRUPTION_ERROR_CODE 1463 #define VMX_VMCS32_RO_IDT_INFO 1464 #define VMX_VMCS32_RO_IDT_ERROR_CODE 1465 #define VMX_VMCS32_RO_EXIT_INSTR_LENGTH 1466 #define VMX_VMCS32_RO_EXIT_INSTR_INFO 1443 #define VMX_VMCS_CTRL_VMFUNC_EPTP_SWITCHING RT_BIT_64(0) 1444 /** @} */ 1445 1446 1447 /** @name VMCS field encoding - 32 Bits read-only fields 1448 * @{ 1449 */ 1450 #define VMX_VMCS32_RO_VM_INSTR_ERROR 0x4400 1451 #define VMX_VMCS32_RO_EXIT_REASON 0x4402 1452 #define VMX_VMCS32_RO_EXIT_INTERRUPTION_INFO 0x4404 1453 #define VMX_VMCS32_RO_EXIT_INTERRUPTION_ERROR_CODE 0x4406 1454 #define VMX_VMCS32_RO_IDT_INFO 0x4408 1455 #define VMX_VMCS32_RO_IDT_ERROR_CODE 0x440A 1456 #define VMX_VMCS32_RO_EXIT_INSTR_LENGTH 0x440C 1457 #define VMX_VMCS32_RO_EXIT_INSTR_INFO 0x440E 1467 1458 /** @} */ 1468 1459 … … 1470 1461 * @{ 1471 1462 */ 1472 #define VMX_EXIT_REASON_BASIC(a) 1463 #define VMX_EXIT_REASON_BASIC(a) ((a) & 0xffff) 1473 1464 /** @} */ 1474 1465 … … 1476 1467 * @{ 1477 1468 */ 1478 #define VMX_ENTRY_INTERRUPTION_INFO_IS_VALID(a) 1479 #define VMX_ENTRY_INTERRUPTION_INFO_TYPE_SHIFT 1480 #define VMX_ENTRY_INTERRUPTION_INFO_TYPE(a) 1469 #define VMX_ENTRY_INTERRUPTION_INFO_IS_VALID(a) RT_BOOL((a) & RT_BIT(31)) 1470 #define VMX_ENTRY_INTERRUPTION_INFO_TYPE_SHIFT 8 1471 #define VMX_ENTRY_INTERRUPTION_INFO_TYPE(a) ((a >> VMX_ENTRY_INTERRUPTION_INFO_TYPE_SHIFT) & 7) 1481 1472 /** @} */ 1482 1473 … … 1485 1476 * @{ 1486 1477 */ 1487 #define VMX_EXIT_INTERRUPTION_INFO_VECTOR(a) 1488 #define VMX_EXIT_INTERRUPTION_INFO_TYPE_SHIFT 1489 #define VMX_EXIT_INTERRUPTION_INFO_TYPE(a) 1490 #define VMX_EXIT_INTERRUPTION_INFO_ERROR_CODE_VALID 1491 #define VMX_EXIT_INTERRUPTION_INFO_ERROR_CODE_IS_VALID(a) 1492 #define VMX_EXIT_INTERRUPTION_INFO_NMI_UNBLOCK_IRET(a) 1493 #define VMX_EXIT_INTERRUPTION_INFO_VALID 1494 #define VMX_EXIT_INTERRUPTION_INFO_IS_VALID(a) 1478 #define VMX_EXIT_INTERRUPTION_INFO_VECTOR(a) ((a) & 0xff) 1479 #define VMX_EXIT_INTERRUPTION_INFO_TYPE_SHIFT 8 1480 #define VMX_EXIT_INTERRUPTION_INFO_TYPE(a) (((a) >> VMX_EXIT_INTERRUPTION_INFO_TYPE_SHIFT) & 7) 1481 #define VMX_EXIT_INTERRUPTION_INFO_ERROR_CODE_VALID RT_BIT(11) 1482 #define VMX_EXIT_INTERRUPTION_INFO_ERROR_CODE_IS_VALID(a) RT_BOOL((a) & VMX_EXIT_INTERRUPTION_INFO_ERROR_CODE_VALID) 1483 #define VMX_EXIT_INTERRUPTION_INFO_NMI_UNBLOCK_IRET(a) ((a) & RT_BIT(12)) 1484 #define VMX_EXIT_INTERRUPTION_INFO_VALID RT_BIT(31) 1485 #define VMX_EXIT_INTERRUPTION_INFO_IS_VALID(a) RT_BOOL((a) & RT_BIT(31)) 1495 1486 /** Construct an irq event injection value from the exit interruption info value (same except that bit 12 is reserved). */ 1496 #define VMX_VMCS_CTRL_ENTRY_IRQ_INFO_FROM_EXIT_INT_INFO(a) 1487 #define VMX_VMCS_CTRL_ENTRY_IRQ_INFO_FROM_EXIT_INT_INFO(a) ((a) & ~RT_BIT(12)) 1497 1488 /** @} */ 1498 1489 … … 1500 1491 * @{ 1501 1492 */ 1502 #define VMX_EXIT_INTERRUPTION_INFO_TYPE_EXT_INT 1503 #define VMX_EXIT_INTERRUPTION_INFO_TYPE_NMI 1504 #define VMX_EXIT_INTERRUPTION_INFO_TYPE_HW_XCPT 1505 #define VMX_EXIT_INTERRUPTION_INFO_TYPE_SW_INT 1506 #define VMX_EXIT_INTERRUPTION_INFO_TYPE_PRIV_SW_XCPT 1507 #define VMX_EXIT_INTERRUPTION_INFO_TYPE_SW_XCPT 1493 #define VMX_EXIT_INTERRUPTION_INFO_TYPE_EXT_INT 0 1494 #define VMX_EXIT_INTERRUPTION_INFO_TYPE_NMI 2 1495 #define VMX_EXIT_INTERRUPTION_INFO_TYPE_HW_XCPT 3 1496 #define VMX_EXIT_INTERRUPTION_INFO_TYPE_SW_INT 4 1497 #define VMX_EXIT_INTERRUPTION_INFO_TYPE_PRIV_SW_XCPT 5 1498 #define VMX_EXIT_INTERRUPTION_INFO_TYPE_SW_XCPT 6 1508 1499 /** @} */ 1509 1500 … … 1511 1502 * @{ 1512 1503 */ 1513 #define VMX_IDT_VECTORING_INFO_VECTOR(a) 1514 #define VMX_IDT_VECTORING_INFO_TYPE_SHIFT 1515 #define VMX_IDT_VECTORING_INFO_TYPE(a) 1516 #define VMX_IDT_VECTORING_INFO_ERROR_CODE_VALID 1517 #define VMX_IDT_VECTORING_INFO_ERROR_CODE_IS_VALID(a) 1518 #define VMX_IDT_VECTORING_INFO_VALID(a) 1519 #define VMX_ENTRY_INT_INFO_FROM_EXIT_IDT_INFO(a) 1504 #define VMX_IDT_VECTORING_INFO_VECTOR(a) ((a) & 0xff) 1505 #define VMX_IDT_VECTORING_INFO_TYPE_SHIFT 8 1506 #define VMX_IDT_VECTORING_INFO_TYPE(a) (((a) >> VMX_IDT_VECTORING_INFO_TYPE_SHIFT) & 7) 1507 #define VMX_IDT_VECTORING_INFO_ERROR_CODE_VALID RT_BIT(11) 1508 #define VMX_IDT_VECTORING_INFO_ERROR_CODE_IS_VALID(a) RT_BOOL((a) & VMX_IDT_VECTORING_INFO_ERROR_CODE_VALID) 1509 #define VMX_IDT_VECTORING_INFO_VALID(a) ((a) & RT_BIT(31)) 1510 #define VMX_ENTRY_INT_INFO_FROM_EXIT_IDT_INFO(a) ((a) & ~RT_BIT(12)) 1520 1511 /** @} */ 1521 1512 … … 1523 1514 * @{ 1524 1515 */ 1525 #define VMX_IDT_VECTORING_INFO_TYPE_EXT_INT 1526 #define VMX_IDT_VECTORING_INFO_TYPE_NMI 1527 #define VMX_IDT_VECTORING_INFO_TYPE_HW_XCPT 1528 #define VMX_IDT_VECTORING_INFO_TYPE_SW_INT 1529 #define VMX_IDT_VECTORING_INFO_TYPE_PRIV_SW_XCPT 1530 #define VMX_IDT_VECTORING_INFO_TYPE_SW_XCPT 1531 /** @} */ 1532 1533 1534 /** 1535 * @{ 1536 */ 1537 #define VMX_VMCS32_GUEST_ES_LIMIT 1538 #define VMX_VMCS32_GUEST_CS_LIMIT 1539 #define VMX_VMCS32_GUEST_SS_LIMIT 1540 #define VMX_VMCS32_GUEST_DS_LIMIT 1541 #define VMX_VMCS32_GUEST_FS_LIMIT 1542 #define VMX_VMCS32_GUEST_GS_LIMIT 1543 #define VMX_VMCS32_GUEST_LDTR_LIMIT 1544 #define VMX_VMCS32_GUEST_TR_LIMIT 1545 #define VMX_VMCS32_GUEST_GDTR_LIMIT 1546 #define VMX_VMCS32_GUEST_IDTR_LIMIT 1547 #define VMX_VMCS32_GUEST_ES_ACCESS_RIGHTS 1548 #define VMX_VMCS32_GUEST_CS_ACCESS_RIGHTS 1549 #define VMX_VMCS32_GUEST_SS_ACCESS_RIGHTS 1550 #define VMX_VMCS32_GUEST_DS_ACCESS_RIGHTS 1551 #define VMX_VMCS32_GUEST_FS_ACCESS_RIGHTS 1552 #define VMX_VMCS32_GUEST_GS_ACCESS_RIGHTS 1553 #define VMX_VMCS32_GUEST_LDTR_ACCESS_RIGHTS 1554 #define VMX_VMCS32_GUEST_TR_ACCESS_RIGHTS 1555 #define VMX_VMCS32_GUEST_INTERRUPTIBILITY_STATE 1556 #define VMX_VMCS32_GUEST_ACTIVITY_STATE 1557 #define VMX_VMCS32_GUEST_SYSENTER_CS 1558 #define VMX_VMCS32_GUEST_PREEMPT_TIMER_VALUE 1516 #define VMX_IDT_VECTORING_INFO_TYPE_EXT_INT 0 1517 #define VMX_IDT_VECTORING_INFO_TYPE_NMI 2 1518 #define VMX_IDT_VECTORING_INFO_TYPE_HW_XCPT 3 1519 #define VMX_IDT_VECTORING_INFO_TYPE_SW_INT 4 1520 #define VMX_IDT_VECTORING_INFO_TYPE_PRIV_SW_XCPT 5 1521 #define VMX_IDT_VECTORING_INFO_TYPE_SW_XCPT 6 1522 /** @} */ 1523 1524 1525 /** @name VMCS field encoding - 32 Bits guest state fields 1526 * @{ 1527 */ 1528 #define VMX_VMCS32_GUEST_ES_LIMIT 0x4800 1529 #define VMX_VMCS32_GUEST_CS_LIMIT 0x4802 1530 #define VMX_VMCS32_GUEST_SS_LIMIT 0x4804 1531 #define VMX_VMCS32_GUEST_DS_LIMIT 0x4806 1532 #define VMX_VMCS32_GUEST_FS_LIMIT 0x4808 1533 #define VMX_VMCS32_GUEST_GS_LIMIT 0x480A 1534 #define VMX_VMCS32_GUEST_LDTR_LIMIT 0x480C 1535 #define VMX_VMCS32_GUEST_TR_LIMIT 0x480E 1536 #define VMX_VMCS32_GUEST_GDTR_LIMIT 0x4810 1537 #define VMX_VMCS32_GUEST_IDTR_LIMIT 0x4812 1538 #define VMX_VMCS32_GUEST_ES_ACCESS_RIGHTS 0x4814 1539 #define VMX_VMCS32_GUEST_CS_ACCESS_RIGHTS 0x4816 1540 #define VMX_VMCS32_GUEST_SS_ACCESS_RIGHTS 0x4818 1541 #define VMX_VMCS32_GUEST_DS_ACCESS_RIGHTS 0x481A 1542 #define VMX_VMCS32_GUEST_FS_ACCESS_RIGHTS 0x481C 1543 #define VMX_VMCS32_GUEST_GS_ACCESS_RIGHTS 0x481E 1544 #define VMX_VMCS32_GUEST_LDTR_ACCESS_RIGHTS 0x4820 1545 #define VMX_VMCS32_GUEST_TR_ACCESS_RIGHTS 0x4822 1546 #define VMX_VMCS32_GUEST_INTERRUPTIBILITY_STATE 0x4824 1547 #define VMX_VMCS32_GUEST_ACTIVITY_STATE 0x4826 1548 #define VMX_VMCS32_GUEST_SYSENTER_CS 0x482A /**< MSR IA32_SYSENTER_CS */ 1549 #define VMX_VMCS32_GUEST_PREEMPT_TIMER_VALUE 0x482E 1559 1550 /** @} */ 1560 1551 … … 1564 1555 */ 1565 1556 /** The logical processor is active. */ 1566 #define VMX_VMCS_GUEST_ACTIVITY_ACTIVE 1557 #define VMX_VMCS_GUEST_ACTIVITY_ACTIVE 0x0 1567 1558 /** The logical processor is inactive, because executed a HLT instruction. */ 1568 #define VMX_VMCS_GUEST_ACTIVITY_HLT 1559 #define VMX_VMCS_GUEST_ACTIVITY_HLT 0x1 1569 1560 /** The logical processor is inactive, because of a triple fault or other serious error. */ 1570 #define VMX_VMCS_GUEST_ACTIVITY_SHUTDOWN 1561 #define VMX_VMCS_GUEST_ACTIVITY_SHUTDOWN 0x2 1571 1562 /** The logical processor is inactive, because it's waiting for a startup-IPI */ 1572 #define VMX_VMCS_GUEST_ACTIVITY_SIPI_WAIT 1563 #define VMX_VMCS_GUEST_ACTIVITY_SIPI_WAIT 0x3 1573 1564 /** @} */ 1574 1565 … … 1658 1649 /** 16-31: LMSW source data (else 0). */ 1659 1650 #define VMX_EXIT_QUALIFICATION_CRX_LMSW_DATA(a) (((a) >> 16) & 0xFFFF) 1660 /* *Rest: reserved. */1651 /* Rest: reserved. */ 1661 1652 /** @} */ 1662 1653 … … 1772 1763 /** @} */ 1773 1764 1774 /** @} */1775 1765 1776 1766 /** @name VMCS field encoding - Natural width guest state fields … … 1801 1791 1802 1792 /** @name VMX_VMCS_GUEST_DEBUG_EXCEPTIONS 1793 * Bits 4-11, 13 and 15-63 are reserved. 1803 1794 * @{ 1804 1795 */ … … 1815 1806 /** A debug exception would have been triggered by single-step execution mode. */ 1816 1807 #define VMX_VMCS_GUEST_DEBUG_EXCEPTIONS_BS RT_BIT(14) 1817 /** Bits 4-11, 13 and 15-63 are reserved. */1818 1819 1808 /** @} */ 1820 1809 … … 1836 1825 /** @} */ 1837 1826 1838 /** @} */1839 1840 1827 1841 1828 /** @defgroup grp_vmx_asm vmx assembly helpers 1842 * @ingroup grp_vmx1843 1829 * @{ 1844 1830 */ … … 2184 2170 # define VMXWriteVmcsHstN VMXWriteVmcs32 2185 2171 # define VMXWriteVmcsGstN(idxField, u64Val) VMXWriteVmcs64Ex(pVCpu, idxField, u64Val) 2186 # 2172 #else /* ARCH_BITS == 64 */ 2187 2173 # define VMXWriteVmcsHstN VMXWriteVmcs64 2188 2174 # define VMXWriteVmcsGstN VMXWriteVmcs64 2189 # 2175 #endif 2190 2176 2191 2177 … … 2361 2347 /** @} */ 2362 2348 2349 /** @} */ 2350 2363 2351 #endif 2364 2352 -
trunk/include/VBox/vmm/iem.h
r51182 r53615 84 84 85 85 86 /** @defgroup grp_em_r3 The IEM Host Context Ring-3 API. 87 * @ingroup grp_em 86 /** @defgroup grp_iem_r3 The IEM Host Context Ring-3 API. 88 87 * @{ 89 88 */ -
trunk/include/VBox/vmm/iom.h
r50645 r53615 4 4 5 5 /* 6 * Copyright (C) 2006-201 3Oracle Corporation6 * Copyright (C) 2006-2015 Oracle Corporation 7 7 * 8 8 * This file is part of VirtualBox Open Source Edition (OSE), as … … 290 290 #ifdef IN_RC 291 291 /** @defgroup grp_iom_rc The IOM Raw-Mode Context API 292 * @ingroup grp_iom293 292 * @{ 294 293 */ … … 301 300 #ifdef IN_RING3 302 301 /** @defgroup grp_iom_r3 The IOM Host Context Ring-3 API 303 * @ingroup grp_iom304 302 * @{ 305 303 */ -
trunk/include/VBox/vmm/mm.h
r51271 r53615 142 142 143 143 /** @defgroup grp_mm_hyper Hypervisor Memory Management 144 * @ingroup grp_mm145 144 * @{ */ 146 145 … … 241 240 242 241 243 #if def IN_RING3242 #if defined(IN_RING3) || defined(DOXYGEN_RUNNING) 244 243 /** @defgroup grp_mm_r3 The MM Host Context Ring-3 API 245 * @ingroup grp_mm246 244 * @{ 247 245 */ … … 261 259 262 260 /** @defgroup grp_mm_r3_hyper Hypervisor Memory Manager (HC R3 Portion) 263 * @ingroup grp_mm_r3264 261 * @{ */ 265 262 VMMR3DECL(int) MMR3HyperAllocOnceNoRel(PVM pVM, size_t cb, uint32_t uAlignment, MMTAG enmTag, void **ppv); … … 289 286 /** @defgroup grp_mm_phys Guest Physical Memory Manager 290 287 * @todo retire this group, elimintating or moving MMR3PhysGetRamSize to PGMPhys. 291 * @ingroup grp_mm_r3292 288 * @{ */ 293 289 VMMR3DECL(uint64_t) MMR3PhysGetRamSize(PVM pVM); … … 296 292 297 293 /** @defgroup grp_mm_page Physical Page Pool 298 * @ingroup grp_mm_r3299 294 * @{ */ 300 295 VMMR3DECL(void *) MMR3PageAlloc(PVM pVM); … … 310 305 311 306 /** @defgroup grp_mm_heap Heap Manager 312 * @ingroup grp_mm_r3313 307 * @{ */ 314 308 VMMR3DECL(void *) MMR3HeapAlloc(PVM pVM, MMTAG enmTag, size_t cbSize); … … 330 324 /** @} */ 331 325 332 /** @defgroup grp_mm_heap User-kernel Heap Manager. 333 * @ingroup grp_mm_r3 326 /** @defgroup grp_mm_ukheap User-kernel Heap Manager. 334 327 * 335 328 * The memory is safely accessible from kernel context as well as user land. … … 344 337 345 338 /** @} */ 346 #endif /* IN_RING3 */ 347 348 349 350 #ifdef IN_RC 351 /** @defgroup grp_mm_gc The MM Guest Context API 352 * @ingroup grp_mm 339 #endif /* IN_RING3 || DOXYGEN_RUNNING */ 340 341 342 343 #if defined(IN_RC) || defined(DOXYGEN_RUNNING) 344 /** @defgroup grp_mm_rc The MM Raw-mode Context API 353 345 * @{ 354 346 */ … … 365 357 366 358 /** @} */ 367 #endif /* IN_RC */359 #endif /* IN_RC || DOXYGEN_RUNNING */ 368 360 369 361 /** @} */ -
trunk/include/VBox/vmm/patm.h
r47427 r53615 4 4 5 5 /* 6 * Copyright (C) 2006-201 3Oracle Corporation6 * Copyright (C) 2006-2015 Oracle Corporation 7 7 * 8 8 * This file is part of VirtualBox Open Source Edition (OSE), as … … 160 160 161 161 #ifdef IN_RC 162 /** @defgroup grp_patm_rc The Patch Manager RC API 163 * @ingroup grp_patm 162 /** @defgroup grp_patm_rc The Patch Manager Raw-mode Context API 164 163 * @{ 165 164 */ … … 174 173 175 174 #ifdef IN_RING3 176 /** @defgroup grp_patm_r3 The Patch Manager API 177 * @ingroup grp_patm 175 /** @defgroup grp_patm_r3 The Patch Manager Host Ring-3 Context API 178 176 * @{ 179 177 */ -
trunk/include/VBox/vmm/pdmapi.h
r52670 r53615 8 8 9 9 /* 10 * Copyright (C) 2006-201 3Oracle Corporation10 * Copyright (C) 2006-2015 Oracle Corporation 11 11 * 12 12 * This file is part of VirtualBox Open Source Edition (OSE), as … … 60 60 61 61 /** @defgroup grp_pdm_r3 The PDM Host Context Ring-3 API 62 * @ingroup grp_pdm63 62 * @{ 64 63 */ … … 165 164 166 165 /** @defgroup grp_pdm_rc The PDM Raw-Mode Context API 167 * @ingroup grp_pdm168 166 * @{ 169 167 */ … … 173 171 174 172 /** @defgroup grp_pdm_r0 The PDM Ring-0 Context API 175 * @ingroup grp_pdm176 173 * @{ 177 174 */ -
trunk/include/VBox/vmm/pgm.h
r49640 r53615 4 4 5 5 /* 6 * Copyright (C) 2006-201 3Oracle Corporation6 * Copyright (C) 2006-2015 Oracle Corporation 7 7 * 8 8 * This file is part of VirtualBox Open Source Edition (OSE), as … … 415 415 #ifdef IN_RC 416 416 /** @defgroup grp_pgm_gc The PGM Guest Context API 417 * @ingroup grp_pgm418 417 * @{ 419 418 */ … … 425 424 #ifdef IN_RING0 426 425 /** @defgroup grp_pgm_r0 The PGM Host Context Ring-0 API 427 * @ingroup grp_pgm428 426 * @{ 429 427 */ … … 451 449 #ifdef IN_RING3 452 450 /** @defgroup grp_pgm_r3 The PGM Host Context Ring-3 API 453 * @ingroup grp_pgm454 451 * @{ 455 452 */ -
trunk/include/VBox/vmm/rem.h
r44528 r53615 4 4 5 5 /* 6 * Copyright (C) 2006-201 1Oracle Corporation6 * Copyright (C) 2006-2015 Oracle Corporation 7 7 * 8 8 * This file is part of VirtualBox Open Source Edition (OSE), as … … 56 56 #ifdef IN_RING3 57 57 /** @defgroup grp_rem_r3 REM Host Context Ring 3 API 58 * @ingroup grp_rem59 58 * @{ 60 59 */ -
trunk/include/VBox/vmm/selm.h
r45705 r53615 4 4 5 5 /* 6 * Copyright (C) 2006-201 2Oracle Corporation6 * Copyright (C) 2006-2015 Oracle Corporation 7 7 * 8 8 * This file is part of VirtualBox Open Source Edition (OSE), as … … 86 86 #ifdef IN_RING3 87 87 /** @defgroup grp_selm_r3 The Selector Monitor(/Manager) API 88 * @ingroup grp_selm89 88 * @{ 90 89 */ -
trunk/include/VBox/vmm/stam.h
r46493 r53615 1098 1098 1099 1099 /** @defgroup grp_stam_r3 The STAM Host Context Ring 3 API 1100 * @ingroup grp_stam1101 1100 * @{ 1102 1101 */ -
trunk/include/VBox/vmm/tm.h
r51643 r53615 4 4 5 5 /* 6 * Copyright (C) 2006-201 3Oracle Corporation6 * Copyright (C) 2006-2015 Oracle Corporation 7 7 * 8 8 * This file is part of VirtualBox Open Source Edition (OSE), as … … 246 246 #ifdef IN_RING3 247 247 /** @defgroup grp_tm_r3 The TM Host Context Ring-3 API 248 * @ingroup grp_tm249 248 * @{ 250 249 */ -
trunk/include/VBox/vmm/trpm.h
r45728 r53615 4 4 5 5 /* 6 * Copyright (C) 2006-201 2Oracle Corporation6 * Copyright (C) 2006-2015 Oracle Corporation 7 7 * 8 8 * This file is part of VirtualBox Open Source Edition (OSE), as … … 93 93 #ifdef IN_RING3 94 94 /** @defgroup grp_trpm_r3 TRPM Host Context Ring 3 API 95 * @ingroup grp_trpm96 95 * @{ 97 96 */ … … 116 115 117 116 #ifdef IN_RC 118 /** @defgroup grp_trpm_gc The TRPM Guest Context API 119 * @ingroup grp_trpm 117 /** @defgroup grp_trpm_rc The TRPM Raw-mode Context API 120 118 * @{ 121 119 */ … … 141 139 #ifdef IN_RING0 142 140 /** @defgroup grp_trpm_r0 TRPM Host Context Ring 0 API 143 * @ingroup grp_trpm144 141 * @{ 145 142 */ -
trunk/include/VBox/vmm/vmcpuset.h
r39303 r53615 102 102 } 103 103 104 /** @ */104 /** @} */ 105 105 106 106 #endif -
trunk/include/VBox/vmm/vmm.h
r50001 r53615 4 4 5 5 /* 6 * Copyright (C) 2006-201 3Oracle Corporation6 * Copyright (C) 2006-2015 Oracle Corporation 7 7 * 8 8 * This file is part of VirtualBox Open Source Edition (OSE), as … … 270 270 271 271 272 #if def IN_RING3272 #if defined(IN_RING3) || defined(DOXYGEN_RUNNING) 273 273 /** @defgroup grp_vmm_r3 The VMM Host Context Ring 3 API 274 * @ingroup grp_vmm275 274 * @{ 276 275 */ … … 337 336 338 337 /** @defgroup grp_vmm_r0 The VMM Host Context Ring 0 API 339 * @ingroup grp_vmm340 338 * @{ 341 339 */ … … 504 502 typedef GCFGMVALUEREQ *PGCFGMVALUEREQ; 505 503 506 #if def IN_RING0504 #if defined(IN_RING0) || defined(DOXYGEN_RUNNING) 507 505 VMMR0DECL(int) VMMR0EntryInt(PVM pVM, VMMR0OPERATION enmOperation, void *pvArg); 508 506 VMMR0DECL(void) VMMR0EntryFast(PVM pVM, VMCPUID idCpu, VMMR0OPERATION enmOperation); … … 532 530 533 531 534 #if def IN_RC532 #if defined(IN_RC) || defined(DOXYGEN_RUNNING) 535 533 /** @defgroup grp_vmm_rc The VMM Raw-Mode Context API 536 * @ingroup grp_vmm537 534 * @{ 538 535 */ … … 543 540 #endif /* IN_RC */ 544 541 545 #if defined(IN_RC) || defined(IN_RING0) 542 #if defined(IN_RC) || defined(IN_RING0) || defined(DOXYGEN_RUNNING) 546 543 /** @defgroup grp_vmm_rz The VMM Raw-Mode and Ring-0 Context API 547 * @ingroup grp_vmm548 544 * @{ 549 545 */ -
trunk/include/iprt/asm.h
r52929 r53615 142 142 */ 143 143 #ifndef RT_INLINE_DONT_MIX_CMPXCHG8B_AND_PIC 144 # define RT_INLINE_DONT_MIX_CMPXCHG8B_AND_PIC \ 144 # ifdef DOXYGEN_RUNNING 145 # define RT_INLINE_DONT_MIX_CMPXCHG8B_AND_PIC 1 146 # else 147 # define RT_INLINE_DONT_MIX_CMPXCHG8B_AND_PIC \ 145 148 ( (defined(PIC) || defined(__PIC__)) \ 146 149 && defined(RT_ARCH_X86) \ 147 150 && ( RT_INLINE_ASM_GCC_4_3_X_X86 \ 148 151 || defined(RT_OS_DARWIN)) ) 152 # endif 149 153 #endif 150 154 -
trunk/include/iprt/cdrom.h
r39730 r53615 4 4 5 5 /* 6 * Copyright (C) 2012 Oracle Corporation6 * Copyright (C) 2012-2015 Oracle Corporation 7 7 * 8 8 * This file is part of VirtualBox Open Source Edition (OSE), as … … 31 31 RT_C_DECLS_BEGIN 32 32 33 /** @defgroup grp_cdrom IPRT CD/DVD/BD-ROM Drive API 33 /** @defgroup grp_rt_cdrom IPRT CD/DVD/BD-ROM Drive API 34 * @ingroup grp_rt 34 35 * 35 36 * The user of the API is currently resposible for serializing calls to it. -
trunk/include/iprt/cpp/utils.h
r48833 r53615 4 4 5 5 /* 6 * Copyright (C) 2006-201 1Oracle Corporation6 * Copyright (C) 2006-2015 Oracle Corporation 7 7 * 8 8 * This file is part of VirtualBox Open Source Edition (OSE), as … … 42 42 * Inherit from this class in order to prevent automatic generation 43 43 * of the copy constructor and assignment operator in your class. 44 *45 * @addtogroup grp_rt_cpp_util46 44 */ 47 45 class RTCNonCopyable -
trunk/include/iprt/err.h
r52533 r53615 4 4 5 5 /* 6 * Copyright (C) 2006-201 3Oracle Corporation6 * Copyright (C) 2006-2015 Oracle Corporation 7 7 * 8 8 * This file is part of VirtualBox Open Source Edition (OSE), as … … 44 44 45 45 /** @defgroup grp_rt_err_hlp Status Code Helpers 46 * @ingroup grp_rt_err47 46 * @{ 48 47 */ -
trunk/include/iprt/filesystem.h
r41549 r53615 33 33 RT_C_DECLS_BEGIN 34 34 35 /** @defgroup grp_filesystem IPRT Filesystem VFS 35 /** @defgroup grp_rt_filesystem IPRT Filesystem VFS 36 * 37 * @todo r=bird: WRONG WRONG WRONG FILE. We already have a file system API in 38 * IPRT, it is RTFs*, see @ref grp_rt_fs. NOBODY ADDS ANY NEW APIS HERE!! 39 * 36 40 * @{ 37 41 */ -
trunk/include/iprt/queueatomic.h
r46185 r53615 4 4 5 5 /* 6 * Copyright (C) 2013 Oracle Corporation6 * Copyright (C) 2013-2015 Oracle Corporation 7 7 * 8 8 * This file is part of VirtualBox Open Source Edition (OSE), as … … 30 30 #include <iprt/asm.h> 31 31 32 /** @defgroup grp_rt_ listRTQueueAtomic - Generic Work Queue32 /** @defgroup grp_rt_queueatomic RTQueueAtomic - Generic Work Queue 33 33 * @ingroup grp_rt 34 34 * … … 122 122 123 123 #endif 124 -
trunk/include/iprt/socket.h
r53536 r53615 4 4 5 5 /* 6 * Copyright (C) 2006-201 2Oracle Corporation6 * Copyright (C) 2006-2015 Oracle Corporation 7 7 * 8 8 * This file is part of VirtualBox Open Source Edition (OSE), as … … 40 40 RT_C_DECLS_BEGIN 41 41 42 /** @defgroup grp_rt_ tcpRTSocket - Network Sockets42 /** @defgroup grp_rt_socket RTSocket - Network Sockets 43 43 * @ingroup grp_rt 44 44 * @{ -
trunk/include/iprt/string.h
r52944 r53615 2602 2602 2603 2603 /** @defgroup rt_str_conv String To/From Number Conversions 2604 * @ingroup grp_rt_str2605 2604 * @{ */ 2606 2605 … … 3044 3043 3045 3044 /** @defgroup rt_str_space Unique String Space 3046 * @ingroup grp_rt_str3047 3045 * @{ 3048 3046 */ … … 3166 3164 3167 3165 /** @defgroup rt_str_hash Sting hashing 3168 * @ingroup grp_rt_str3169 3166 * @{ */ 3170 3167 … … 3215 3212 3216 3213 /** @defgroup rt_str_utf16 UTF-16 String Manipulation 3217 * @ingroup grp_rt_str3218 3214 * @{ 3219 3215 */ … … 4061 4057 4062 4058 /** @defgroup rt_str_latin1 Latin-1 (ISO-8859-1) String Manipulation 4063 * @ingroup grp_rt_str4064 4059 * @{ 4065 4060 */ -
trunk/include/iprt/tcp.h
r53536 r53615 4 4 5 5 /* 6 * Copyright (C) 2006-201 0Oracle Corporation6 * Copyright (C) 2006-2015 Oracle Corporation 7 7 * 8 8 * This file is part of VirtualBox Open Source Edition (OSE), as -
trunk/include/iprt/types.h
r53020 r53615 760 760 761 761 /** @defgroup grp_rt_types_both Common Guest and Host Context Basic Types 762 * @ingroup grp_rt_types763 762 * @{ 764 763 */ … … 950 949 951 950 /** @defgroup grp_rt_types_hc Host Context Basic Types 952 * @ingroup grp_rt_types953 951 * @{ 954 952 */ … … 1229 1227 1230 1228 /** @defgroup grp_rt_types_gc Guest Context Basic Types 1231 * @ingroup grp_rt_types1232 1229 * @{ 1233 1230 */ … … 1431 1428 1432 1429 /** @defgroup grp_rt_types_rc Raw mode Context Basic Types 1433 * @ingroup grp_rt_types1434 1430 * @{ 1435 1431 */ … … 1483 1479 1484 1480 /** @defgroup grp_rt_types_cc Current Context Basic Types 1485 * @ingroup grp_rt_types1486 1481 * @{ 1487 1482 */ -
trunk/include/iprt/uint128.h
r52335 r53615 4 4 5 5 /* 6 * Copyright (C) 2011 Oracle Corporation6 * Copyright (C) 2011-2015 Oracle Corporation 7 7 * 8 8 * This file is part of VirtualBox Open Source Edition (OSE), as … … 37 37 RT_C_DECLS_BEGIN 38 38 39 /** @defgroup grp_rt_ onceRTUInt128 - 128-bit Unsigned Integer Methods39 /** @defgroup grp_rt_uint128 RTUInt128 - 128-bit Unsigned Integer Methods 40 40 * @ingroup grp_rt 41 41 * @{ -
trunk/include/iprt/uri.h
r50507 r53615 4 4 5 5 /* 6 * Copyright (C) 2011 Oracle Corporation6 * Copyright (C) 2011-2015 Oracle Corporation 7 7 * 8 8 * This file is part of VirtualBox Open Source Edition (OSE), as … … 109 109 * Adds file: scheme support to the generic RTUri interface. This is partly 110 110 * documented in http://datatracker.ietf.org/doc/rfc1738/. 111 * @ingroup grp_rt_uri112 111 * @{ 113 112 */ -
trunk/include/iprt/vfs.h
r47359 r53615 130 130 bool *pfUsed); 131 131 132 /** @defgroup grp_vfs_ dirVFS Base Object API132 /** @defgroup grp_vfs_obj VFS Base Object API 133 133 * @{ 134 134 */ -
trunk/include/iprt/vfslowlevel.h
r44529 r53615 1153 1153 /** Mask of valid flags. */ 1154 1154 #define RTVFSCHAIN_PF_VALID_MASK UINT32_C(0x00000007) 1155 /** @} */1155 /** @} */ 1156 1156 1157 1157 /**
Note:
See TracChangeset
for help on using the changeset viewer.