Changeset 40280 in vbox for trunk/include
- Timestamp:
- Feb 28, 2012 7:47:00 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 76509
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/err.h
r40054 r40280 42 42 /** Failed to allocate VM memory. */ 43 43 #define VERR_NO_VM_MEMORY (-1000) 44 /** GC is toasted and the VMM should be terminated at once, but no need to panic about it :-) */ 44 /** RC is toasted and the VMM should be terminated at once, but no need to 45 * panic about it :-) */ 45 46 #define VERR_DONT_PANIC (-1001) 46 47 /** Unsupported CPU. */ … … 171 172 #define VINF_EM_LAST 1120 172 173 173 /** Reason for leaving GC: Guest trap which couldn't be handled in GC.174 /** Reason for leaving RC: Guest trap which couldn't be handled in RC. 174 175 * The trap is generally forwarded to the REM and executed there. */ 175 176 #define VINF_EM_RAW_GUEST_TRAP 1121 176 /** Reason for leaving GC: Interrupted by external interrupt.177 /** Reason for leaving RC: Interrupted by external interrupt. 177 178 * The interrupt needed to be handled by the host OS. */ 178 179 #define VINF_EM_RAW_INTERRUPT 1122 179 /** Reason for leaving GC: Interrupted by external interrupt while in hypervisor code.180 * The interrupt needed to be handled by the host OS and hypervisor execution must be181 * resumed. VM state is not complete at this point. */180 /** Reason for leaving RC: Interrupted by external interrupt while in hypervisor 181 * code. The interrupt needed to be handled by the host OS and hypervisor 182 * execution must be resumed. VM state is not complete at this point. */ 182 183 #define VINF_EM_RAW_INTERRUPT_HYPER 1123 183 /** Reason for leaving GC: A Ring switch was attempted.184 /** Reason for leaving RC: A Ring switch was attempted. 184 185 * Normal cause of action is to execute this in REM. */ 185 186 #define VINF_EM_RAW_RING_SWITCH 1124 186 /** Reason for leaving GC: A Ring switch was attempted using software interrupt.187 /** Reason for leaving RC: A Ring switch was attempted using software interrupt. 187 188 * Normal cause of action is to execute this in REM. */ 188 189 #define VINF_EM_RAW_RING_SWITCH_INT 1125 189 /** Reason for leaving GC: A privileged instruction was attempted executed.190 /** Reason for leaving RC: A privileged instruction was attempted executed. 190 191 * Normal cause of action is to execute this in REM. */ 191 192 #define VINF_EM_RAW_EXCEPTION_PRIVILEGED 1126 192 193 193 /** Reason for leaving GC: Emulate instruction. */194 /** Reason for leaving RZ: Emulate instruction. */ 194 195 #define VINF_EM_RAW_EMULATE_INSTR 1127 195 /** Reason for leaving GC: Unhandled TSS write.196 /** Reason for leaving RC: Unhandled TSS write. 196 197 * Recompiler gets control. */ 197 198 #define VINF_EM_RAW_EMULATE_INSTR_TSS_FAULT 1128 198 /** Reason for leaving GC: Unhandled LDT write.199 /** Reason for leaving RC: Unhandled LDT write. 199 200 * Recompiler gets control. */ 200 201 #define VINF_EM_RAW_EMULATE_INSTR_LDT_FAULT 1129 201 /** Reason for leaving GC: Unhandled IDT write.202 /** Reason for leaving RC: Unhandled IDT write. 202 203 * Recompiler gets control. */ 203 204 #define VINF_EM_RAW_EMULATE_INSTR_IDT_FAULT 1130 204 /** Reason for leaving GC: Unhandled GDT write.205 /** Reason for leaving RC: Unhandled GDT write. 205 206 * Recompiler gets control. */ 206 207 #define VINF_EM_RAW_EMULATE_INSTR_GDT_FAULT 1131 207 /** Reason for leaving GC: Unhandled Page Directory write.208 /** Reason for leaving RC: Unhandled Page Directory write. 208 209 * Recompiler gets control. */ 209 210 #define VINF_EM_RAW_EMULATE_INSTR_PD_FAULT 1132 210 /** Reason for leaving GC: jump inside generated patch jump.211 /** Reason for leaving RC: jump inside generated patch jump. 211 212 * Fatal error. */ 212 213 #define VERR_EM_RAW_PATCH_CONFLICT (-1133) 213 /** Reason for leaving GC: Hlt instruction.214 /** Reason for leaving RC: Hlt instruction. 214 215 * Recompiler gets control. */ 215 216 #define VINF_EM_RAW_EMULATE_INSTR_HLT 1134 216 /** Reason for leaving GC: Ring-3 operation pending. */217 /** Reason for leaving RZ: Ring-3 operation pending. */ 217 218 #define VINF_EM_RAW_TO_R3 1135 218 /** Reason for leaving GC: Timer pending. */219 /** Reason for leaving RZ: Timer pending. */ 219 220 #define VINF_EM_RAW_TIMER_PENDING 1136 220 /** Reason for leaving GC: Interrupt pending (guest). */221 /** Reason for leaving RC: Interrupt pending (guest). */ 221 222 #define VINF_EM_RAW_INTERRUPT_PENDING 1137 222 /** Reason for leaving GC: Encountered a stale selector. */223 /** Reason for leaving RC: Encountered a stale selector. */ 223 224 #define VINF_EM_RAW_STALE_SELECTOR 1138 224 /** Reason for leaving GC: The IRET resuming guest code trapped. */225 /** Reason for leaving RC: The IRET resuming guest code trapped. */ 225 226 #define VINF_EM_RAW_IRET_TRAP 1139 226 /** Reason for leaving GC: Emulate (MM)IO intensive code in the recompiler. */227 /** Reason for leaving RC: Emulate (MM)IO intensive code in the recompiler. */ 227 228 #define VINF_EM_RAW_EMULATE_IO_BLOCK 1140 228 229 /** The interpreter was unable to deal with the instruction at hand. */ … … 323 324 #define VWRN_PATCH_REMOVED 1407 324 325 325 /** Reason for leaving GC: \#GP with EIP pointing to patch code. */326 /** Reason for leaving RC: \#GP with EIP pointing to patch code. */ 326 327 #define VINF_PATM_PATCH_TRAP_GP 1408 327 /** First leave GC code. */328 #define VINF_PATM_LEAVE GC_FIRST VINF_PATM_PATCH_TRAP_GP329 /** Reason for leaving GC: \#PF with EIP pointing to patch code. */328 /** First leave RC code. */ 329 #define VINF_PATM_LEAVE_RC_FIRST VINF_PATM_PATCH_TRAP_GP 330 /** Reason for leaving RC: \#PF with EIP pointing to patch code. */ 330 331 #define VINF_PATM_PATCH_TRAP_PF 1409 331 /** Reason for leaving GC: int3 with EIP pointing to patch code. */332 /** Reason for leaving RC: int3 with EIP pointing to patch code. */ 332 333 #define VINF_PATM_PATCH_INT3 1410 333 /** Reason for leaving GC: \#PF for monitored patch page. */334 /** Reason for leaving RC: \#PF for monitored patch page. */ 334 335 #define VINF_PATM_CHECK_PATCH_PAGE 1411 335 /** Reason for leaving GC: duplicate instruction called at current eip. */336 /** Reason for leaving RC: duplicate instruction called at current eip. */ 336 337 #define VINF_PATM_DUPLICATE_FUNCTION 1412 337 338 /** Execute one instruction with the recompiler */ 338 339 #define VINF_PATCH_EMULATE_INSTR 1413 339 /** Reason for leaving GC: attempt to patch MMIO write. */340 /** Reason for leaving RC: attempt to patch MMIO write. */ 340 341 #define VINF_PATM_HC_MMIO_PATCH_WRITE 1414 341 /** Reason for leaving GC: attempt to patch MMIO read. */342 /** Reason for leaving RC: attempt to patch MMIO read. */ 342 343 #define VINF_PATM_HC_MMIO_PATCH_READ 1415 343 /** Reason for leaving GC: pending irq after iret that sets IF. */344 /** Reason for leaving RC: pending irq after iret that sets IF. */ 344 345 #define VINF_PATM_PENDING_IRQ_AFTER_IRET 1416 345 /** Last leave GC code. */346 #define VINF_PATM_LEAVE GC_LAST VINF_PATM_PENDING_IRQ_AFTER_IRET346 /** Last leave RC code. */ 347 #define VINF_PATM_LEAVE_RC_LAST VINF_PATM_PENDING_IRQ_AFTER_IRET 347 348 348 349 /** No conflicts to resolve */ … … 371 372 /** Page record not found */ 372 373 #define VWRN_CSAM_PAGE_NOT_FOUND 1502 373 /** Reason for leaving GC: CSAM wants perform a task in ring-3. */374 /** Reason for leaving RC: CSAM wants perform a task in ring-3. */ 374 375 #define VINF_CSAM_PENDING_ACTION 1503 375 376 /** @} */ … … 412 413 /** Failed to fix mappings because the proposed memory area was to small. */ 413 414 #define VERR_PGM_MAPPINGS_FIX_TOO_SMALL (-1612) 414 /** Reason for leaving GC: The urge to syncing CR3. */415 /** Reason for leaving RZ: The urge to syncing CR3. */ 415 416 #define VINF_PGM_SYNC_CR3 1613 416 417 /** Page not marked for dirty bit tracking */ … … 419 420 #define VINF_PGM_HANDLED_DIRTY_BIT_FAULT 1615 420 421 /** Go ahead with the default Read/Write operation. 421 * This is returned by a HC physical or virtual handler when it wants the PGMPhys[Read|Write]422 * routine do the reading/writing. */422 * This is returned by a R3 physical or virtual handler when it wants the 423 * PGMPhys[Read|Write] routine do the reading/writing. */ 423 424 #define VINF_PGM_HANDLER_DO_DEFAULT 1616 424 425 /** The paging mode of the host is not supported yet. */ 425 426 #define VERR_PGM_UNSUPPORTED_HOST_PAGING_MODE (-1617) 426 /** The physical guest page is a reserved/mmio page and does not have any HC address. */ 427 /** The physical guest page is a reserved/MMIO page and does not have any HC 428 * address. */ 427 429 #define VERR_PGM_PHYS_PAGE_RESERVED (-1618) 428 430 /** No page directory available for the hypervisor. */ … … 442 444 * aliased or/and mapped by multiple PTs. */ 443 445 #define VINF_PGM_GCPHYS_ALIASED 1623 444 /** Reason for leaving GC: Paging mode changed. 445 * PGMChangeMode() uses this to force a switch to HC so it can safely 446 * deal with a mode switch. 447 */ 446 /** Reason for leaving RC: Paging mode changed. 447 * PGMChangeMode() uses this to force a switch to R3 so it can safely deal with 448 * a mode switch. */ 448 449 #define VINF_PGM_CHANGE_MODE 1624 449 450 /** SyncPage modified the PDE. … … 941 942 /** Active trap. Cannot assert a new trap when when one is already active. */ 942 943 #define VERR_TRPM_ACTIVE_TRAP (-2401) 943 /** Reason for leaving GC: Guest tried to write to our IDT - fatal.944 /** Reason for leaving RC: Guest tried to write to our IDT - fatal. 944 945 * The VM will be terminated assuming the worst, i.e. that the 945 946 * guest has read the idtr register. */ 946 947 #define VERR_TRPM_SHADOW_IDT_WRITE (-2402) 947 /** Reason for leaving GC: Fatal trap in hypervisor. */948 /** Reason for leaving RC: Fatal trap in hypervisor. */ 948 949 #define VERR_TRPM_DONT_PANIC (-2403) 949 /** Reason for leaving GC: Double Fault. */950 /** Reason for leaving RC: Double Fault. */ 950 951 #define VERR_TRPM_PANIC (-2404) 951 952 /** The exception was dispatched for raw-mode execution. */ … … 965 966 * @{ 966 967 */ 967 /** Reason for leaving GC: Guest tried to write to our GDT - fatal.968 /** Reason for leaving RC: Guest tried to write to our GDT - fatal. 968 969 * The VM will be terminated assuming the worst, i.e. that the 969 970 * guest has read the gdtr register. */ 970 971 #define VERR_SELM_SHADOW_GDT_WRITE (-2500) 971 /** Reason for leaving GC: Guest tried to write to our LDT - fatal.972 /** Reason for leaving RC: Guest tried to write to our LDT - fatal. 972 973 * The VM will be terminated assuming the worst, i.e. that the 973 974 * guest has read the ldtr register. */ 974 975 #define VERR_SELM_SHADOW_LDT_WRITE (-2501) 975 /** Reason for leaving GC: Guest tried to write to our TSS - fatal.976 /** Reason for leaving RC: Guest tried to write to our TSS - fatal. 976 977 * The VM will be terminated assuming the worst, i.e. that the 977 978 * guest has read the ltr register. */ 978 979 #define VERR_SELM_SHADOW_TSS_WRITE (-2502) 979 /** Reason for leaving GC: Sync the GDT table to solve a conflict. */980 /** Reason for leaving RC: Sync the GDT table to solve a conflict. */ 980 981 #define VINF_SELM_SYNC_GDT 2503 981 982 /** No valid TSS present. */ … … 994 995 * It was either empty or it was out of bounds. */ 995 996 #define VERR_IOM_INVALID_IOPORT_RANGE (-2600) 996 /** The specified GC I/O port range didn't have a corresponding HCrange.997 * IOM IOPortRegisterHC() must be called before IOMIOPortRegisterGC(). */998 #define VERR_IOM_NO_ HC_IOPORT_RANGE (-2601)997 /** The specified R0 or RC I/O port range didn't have a corresponding R3 range. 998 * IOMR3IOPortRegisterR3() must be called first. */ 999 #define VERR_IOM_NO_R3_IOPORT_RANGE (-2601) 999 1000 /** The specified I/O port range intruded on an existing range. There is 1000 1001 * a I/O port conflict between two device, or a device tried to register … … 1004 1005 #define VERR_IOM_IOPORT_RANGE_NOT_FOUND (-2603) 1005 1006 /** The specified I/O port range was owned by some other device(s). Both registration 1006 * and deregistration, but in the first case only GCranges. */1007 * and deregistration, but in the first case only RC and R0 ranges. */ 1007 1008 #define VERR_IOM_NOT_IOPORT_RANGE_OWNER (-2604) 1008 1009 … … 1010 1011 * It was either empty or it was out of bounds. */ 1011 1012 #define VERR_IOM_INVALID_MMIO_RANGE (-2605) 1012 /** The specified GC MMIO range didn't have a corresponding HCrange.1013 * IOM MMIORegisterHC() must be called before IOMMMIORegisterGC(). */1014 #define VERR_IOM_NO_ HC_MMIO_RANGE (-2606)1013 /** The specified R0 or RC MMIO range didn't have a corresponding R3 range. 1014 * IOMR3MMIORegisterR3() must be called first. */ 1015 #define VERR_IOM_NO_R3_MMIO_RANGE (-2606) 1015 1016 /** The specified MMIO range was owned by some other device(s). Both registration 1016 * and deregistration, but in the first case only GCranges. */1017 * and deregistration, but in the first case only RC and R0 ranges. */ 1017 1018 #define VERR_IOM_NOT_MMIO_RANGE_OWNER (-2607) 1018 1019 /** The specified MMIO range intruded on an existing range. There is … … 1039 1040 #define VINF_IOM_MMIO_UNUSED_FF 2616 1040 1041 1041 /** Reason for leaving GC: I/O port read. */1042 #define VINF_IOM_ HC_IOPORT_READ 26201043 /** Reason for leaving GC: I/O port write. */1044 #define VINF_IOM_ HC_IOPORT_WRITE 26211045 /** Reason for leaving GC: MMIO write. */1046 #define VINF_IOM_ HC_MMIO_READ 26231047 /** Reason for leaving GC: MMIO read. */1048 #define VINF_IOM_ HC_MMIO_WRITE 26241049 /** Reason for leaving GC: MMIO read/write. */1050 #define VINF_IOM_ HC_MMIO_READ_WRITE 26251042 /** Reason for leaving RZ: I/O port read. */ 1043 #define VINF_IOM_R3_IOPORT_READ 2620 1044 /** Reason for leaving RZ: I/O port write. */ 1045 #define VINF_IOM_R3_IOPORT_WRITE 2621 1046 /** Reason for leaving RZ: MMIO write. */ 1047 #define VINF_IOM_R3_MMIO_READ 2623 1048 /** Reason for leaving RZ: MMIO read. */ 1049 #define VINF_IOM_R3_MMIO_WRITE 2624 1050 /** Reason for leaving RZ: MMIO read/write. */ 1051 #define VINF_IOM_R3_MMIO_READ_WRITE 2625 1051 1052 1052 1053 /** IOMGCIOPortHandler was given an unexpected opcode. */
Note:
See TracChangeset
for help on using the changeset viewer.