Changeset 41300 in vbox for trunk/include
- Timestamp:
- May 15, 2012 9:35:04 AM (13 years ago)
- Location:
- trunk/include
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/err.mac
r40069 r41300 90 90 %define VERR_DBGF_HYPER_DB_XCPT (-1217) 91 91 %define VERR_DBGF_STACK_IPE_1 (-1218) 92 %define VERR_DBGF_STACK_IPE_2 (-1218) 92 %define VERR_DBGF_STACK_IPE_2 (-1219) 93 %define VERR_DBGF_NO_TRACE_BUFFER (-1220) 93 94 %define VWRN_CONTINUE_ANALYSIS 1400 94 95 %define VWRN_CONTINUE_RECOMPILE VWRN_CONTINUE_ANALYSIS … … 102 103 %define VWRN_PATCH_REMOVED 1407 103 104 %define VINF_PATM_PATCH_TRAP_GP 1408 104 %define VINF_PATM_LEAVE GC_FIRST VINF_PATM_PATCH_TRAP_GP105 %define VINF_PATM_LEAVE_RC_FIRST VINF_PATM_PATCH_TRAP_GP 105 106 %define VINF_PATM_PATCH_TRAP_PF 1409 106 107 %define VINF_PATM_PATCH_INT3 1410 … … 111 112 %define VINF_PATM_HC_MMIO_PATCH_READ 1415 112 113 %define VINF_PATM_PENDING_IRQ_AFTER_IRET 1416 113 %define VINF_PATM_LEAVE GC_LAST VINF_PATM_PENDING_IRQ_AFTER_IRET114 %define VINF_PATM_LEAVE_RC_LAST VINF_PATM_PENDING_IRQ_AFTER_IRET 114 115 %define VERR_PATCH_NO_CONFLICT (-1425) 115 116 %define VERR_PATM_UNSAFE_CODE (-1426) … … 289 290 %define VERR_VM_UNEXPECTED_VM_STATE (-1915) 290 291 %define VERR_VM_UNEXPECTED_UNSTABLE_STATE (-1916) 291 %define VERR_VM_REQUEST_TOO_MANY_ARGS_IPE (-1 017)292 %define VERR_VM_FATAL_WAIT_ERROR (-1 018)293 %define VERR_VM_REQUEST_KILLED (-1 019)292 %define VERR_VM_REQUEST_TOO_MANY_ARGS_IPE (-1917) 293 %define VERR_VM_FATAL_WAIT_ERROR (-1918) 294 %define VERR_VM_REQUEST_KILLED (-1919) 294 295 %define VINF_VRDP_SUCCESS VINF_SUCCESS 295 296 %define VERR_VRDP_TIMEOUT VERR_TIMEOUT … … 360 361 %define VERR_SELM_LDT_OUT_OF_BOUNDS (-2506) 361 362 %define VERR_IOM_INVALID_IOPORT_RANGE (-2600) 362 %define VERR_IOM_NO_ HC_IOPORT_RANGE (-2601)363 %define VERR_IOM_NO_R3_IOPORT_RANGE (-2601) 363 364 %define VERR_IOM_IOPORT_RANGE_CONFLICT (-2602) 364 365 %define VERR_IOM_IOPORT_RANGE_NOT_FOUND (-2603) 365 366 %define VERR_IOM_NOT_IOPORT_RANGE_OWNER (-2604) 366 367 %define VERR_IOM_INVALID_MMIO_RANGE (-2605) 367 %define VERR_IOM_NO_ HC_MMIO_RANGE (-2606)368 %define VERR_IOM_NO_R3_MMIO_RANGE (-2606) 368 369 %define VERR_IOM_NOT_MMIO_RANGE_OWNER (-2607) 369 370 %define VERR_IOM_MMIO_RANGE_CONFLICT (-2608) … … 376 377 %define VINF_IOM_MMIO_UNUSED_00 2615 377 378 %define VINF_IOM_MMIO_UNUSED_FF 2616 378 %define VINF_IOM_ HC_IOPORT_READ 2620379 %define VINF_IOM_ HC_IOPORT_WRITE 2621380 %define VINF_IOM_ HC_MMIO_READ 2623381 %define VINF_IOM_ HC_MMIO_WRITE 2624382 %define VINF_IOM_ HC_MMIO_READ_WRITE 2625379 %define VINF_IOM_R3_IOPORT_READ 2620 380 %define VINF_IOM_R3_IOPORT_WRITE 2621 381 %define VINF_IOM_R3_MMIO_READ 2623 382 %define VINF_IOM_R3_MMIO_WRITE 2624 383 %define VINF_IOM_R3_MMIO_READ_WRITE 2625 383 384 %define VERR_IOM_IOPORT_UNKNOWN_OPCODE (-2630) 384 385 %define VERR_IOM_IOPORT_IPE_1 (-2631) … … 400 401 %define VERR_VMM_UNKNOWN_RING3_CALL (-2710) 401 402 %define VERR_VMM_RING3_CALL_NO_RC (-2711) 403 %define VINF_VMM_CALL_TRACER (2712) 402 404 %define VERR_PDM_NO_SUCH_LUN (-2800) 403 405 %define VERR_PDM_DEVINS_UNKNOWN_CFG_VALUES (-2801) … … 470 472 %define VERR_PDM_TOO_MANY_DEVICE_INSTANCES (-2867) 471 473 %define VERR_PDM_TOO_MANY_DRIVER_INSTANCES (-2868) 472 %define VERR_PDM_TOO_MANY_USB_DEVICE_INSTANCES (-2869)473 474 %define VERR_PDM_TOO_MANY_USB_DEVICE_INSTANCES (-2869) 474 475 %define VERR_PDM_DEVINS_VERSION_MISMATCH (-2870) … … 553 554 %define VERR_VD_IMAGE_REPAIR_NOT_SUPPORTED (-3280) 554 555 %define VERR_VD_IMAGE_REPAIR_IMPOSSIBLE (-3281) 556 %define VERR_VD_READ_OUT_OF_RANGE (-3282) 555 557 %define VERR_VBGL_NOT_INITIALIZED (-3300) 556 558 %define VERR_VBGL_INVALID_ADDR (-3301) … … 577 579 %define VERR_SUPDRV_SERVICE_NOT_FOUND (-3702) 578 580 %define VERR_SUPDRV_KERNEL_TOO_OLD_FOR_VTX (-3703) 581 %define VERR_SUPDRV_VTG_MAGIC (-3704) 582 %define VERR_SUPDRV_VTG_BITS (-3705) 583 %define VERR_SUPDRV_VTG_BAD_HDR_MISC (-3706) 584 %define VERR_SUPDRV_VTG_BAD_HDR_OFF (-3707) 585 %define VERR_SUPDRV_VTG_BAD_HDR_PTR (-3708) 586 %define VERR_SUPDRV_VTG_BAD_HDR_TOO_FEW (-3709) 587 %define VERR_SUPDRV_VTG_BAD_HDR_TOO_MUCH (-3710) 588 %define VERR_SUPDRV_VTG_BAD_HDR_NOT_MULTIPLE (-3711) 589 %define VERR_SUPDRV_VTG_STRTAB_OFF (-3712) 590 %define VERR_SUPDRV_VTG_BAD_STRING (-3713) 591 %define VERR_SUPDRV_VTG_STRING_TOO_LONG (-3714) 592 %define VERR_SUPDRV_VTG_BAD_ATTR (-3715) 593 %define VERR_SUPDRV_VTG_BAD_PROVIDER (-3716) 594 %define VERR_SUPDRV_VTG_BAD_PROBE (-3717) 595 %define VERR_SUPDRV_VTG_BAD_ARGLIST (-3718) 596 %define VERR_SUPDRV_VTG_BAD_PROBE_ENABLED (-3719) 597 %define VERR_SUPDRV_VTG_BAD_PROBE_LOC (-3720) 598 %define VERR_SUPDRV_VTG_ALREADY_REGISTERED (-3721) 599 %define VERR_SUPDRV_VTG_ONLY_ONCE_PER_SESSION (-3722) 600 %define VERR_SUPDRV_TRACER_ALREADY_REGISTERED (-3723) 601 %define VERR_SUPDRV_TRACER_NOT_REGISTERED (-3724) 602 %define VERR_SUPDRV_TRACER_ALREADY_OPENED (-3725) 603 %define VERR_SUPDRV_TRACER_NOT_OPENED (-3726) 604 %define VERR_SUPDRV_TRACER_NOT_PRESENT (-3727) 605 %define VERR_SUPDRV_TRACER_UNLOADING (-3728) 606 %define VERR_SUPDRV_TRACER_SESSION_BUSY (-3729) 607 %define VERR_SUPDRV_TRACER_CANNOT_OPEN_SELF (-3730) 608 %define VERR_SUPDRV_TRACER_BAD_ARG_FLAGS (-3731) 609 %define VERR_SUPDRV_TRACER_TOO_MANY_PROVIDERS (-3732) 610 %define VERR_SUPDRV_TRACER_TOO_LARGE (-3733) 611 %define VERR_SUPDRV_TRACER_UMOD_NOT_ADJACENT (-3734) 612 %define VERR_SUPDRV_TRACER_UMOD_TOO_MANY_PROBES (-3735) 613 %define VERR_SUPDRV_TRACER_UMOD_STRTAB_TOO_BIG (-3736) 614 %define VERR_SUPDRV_TRACER_UMOD_STRTAB_OFF_BAD (-3737) 579 615 %define VERR_SUPLIB_PATH_NOT_ABSOLUTE (-3750) 580 616 %define VERR_SUPLIB_PATH_NOT_CLEAN (-3751) -
trunk/include/iprt/err.mac
r40069 r41300 120 120 %define VINF_BUFFER_UNDERFLOW 22401 121 121 %define VERR_UNEVEN_INPUT (-22402) 122 %define VERR_NOT_AVAILABLE (-22403) 122 123 %define VERR_FILE_IO_ERROR (-100) 123 124 %define VERR_OPEN_FAILED (-101) … … 447 448 %define VERR_DVM_MAP_NO_VOLUME (-22201) 448 449 %define VERR_LOG_REVISION_MISMATCH (-22300) 449 %define VERR_SYS_CANNOT_POWER_OFF (-22 400)450 %define VINF_SYS_MAY_POWER_OFF (22 401)451 %define VERR_SYS_SHUTDOWN_FAILED (-22 402)452 %define VERR_FILESYSTEM_CORRUPT (-22 500)450 %define VERR_SYS_CANNOT_POWER_OFF (-22500) 451 %define VINF_SYS_MAY_POWER_OFF (22501) 452 %define VERR_SYS_SHUTDOWN_FAILED (-22502) 453 %define VERR_FILESYSTEM_CORRUPT (-22600) -
trunk/include/iprt/x86.mac
r40161 r41300 1 1 %ifndef ___iprt_x86_h 2 2 %define ___iprt_x86_h 3 %ifndef VBOX_FOR_DTRACE_LIB 4 %else 5 %endif 3 6 %ifdef RT_OS_SOLARIS 7 %endif 8 %ifndef VBOX_FOR_DTRACE_LIB 9 %endif 10 %ifndef VBOX_FOR_DTRACE_LIB 11 %endif 12 %ifndef VBOX_FOR_DTRACE_LIB 4 13 %endif 5 14 %define X86_EFL_CF RT_BIT(0) … … 24 33 %define X86_EFL_GET_IOPL(efl) (((efl) >> X86_EFL_IOPL_SHIFT) & 3) 25 34 %define X86_EFL_POPF_BITS (X86_EFL_CF | X86_EFL_PF | X86_EFL_AF | X86_EFL_ZF | X86_EFL_SF | X86_EFL_TF | X86_EFL_IF | X86_EFL_DF | X86_EFL_OF | X86_EFL_IOPL | X86_EFL_NT | X86_EFL_AC | X86_EFL_ID) 35 %ifndef VBOX_FOR_DTRACE_LIB 36 %else 37 %endif 38 %ifndef VBOX_FOR_DTRACE_LIB 39 %else 40 %endif 26 41 %define X86_CPUID_VENDOR_INTEL_EBX 0x756e6547 27 42 %define X86_CPUID_VENDOR_INTEL_ECX 0x6c65746e … … 270 285 %define MSR_IA32_MISC_ENABLE_XTPR_MSG_DISABLE RT_BIT(23) 271 286 %define MSR_IA32_MISC_ENABLE_XD_DISABLE RT_BIT(34) 287 %define IA32_MTRR_PHYSBASE0 0x200 288 %define IA32_MTRR_PHYSMASK0 0x201 289 %define IA32_MTRR_PHYSBASE1 0x202 290 %define IA32_MTRR_PHYSMASK1 0x203 291 %define IA32_MTRR_PHYSBASE2 0x204 292 %define IA32_MTRR_PHYSMASK2 0x205 293 %define IA32_MTRR_PHYSBASE3 0x206 294 %define IA32_MTRR_PHYSMASK3 0x207 295 %define IA32_MTRR_PHYSBASE4 0x208 296 %define IA32_MTRR_PHYSMASK4 0x209 297 %define IA32_MTRR_PHYSBASE5 0x20a 298 %define IA32_MTRR_PHYSMASK5 0x20b 299 %define IA32_MTRR_PHYSBASE6 0x20c 300 %define IA32_MTRR_PHYSMASK6 0x20d 301 %define IA32_MTRR_PHYSBASE7 0x20e 302 %define IA32_MTRR_PHYSMASK7 0x20f 303 %define IA32_MTRR_PHYSBASE8 0x210 304 %define IA32_MTRR_PHYSMASK8 0x211 305 %define IA32_MTRR_PHYSBASE9 0x212 306 %define IA32_MTRR_PHYSMASK9 0x213 307 %define IA32_MTRR_FIX64K_00000 0x250 308 %define IA32_MTRR_FIX16K_80000 0x258 309 %define IA32_MTRR_FIX16K_A0000 0x259 310 %define IA32_MTRR_FIX4K_C0000 0x268 311 %define IA32_MTRR_FIX4K_C8000 0x269 312 %define IA32_MTRR_FIX4K_D0000 0x26a 313 %define IA32_MTRR_FIX4K_D8000 0x26b 314 %define IA32_MTRR_FIX4K_E0000 0x26c 315 %define IA32_MTRR_FIX4K_E8000 0x26d 316 %define IA32_MTRR_FIX4K_F0000 0x26e 317 %define IA32_MTRR_FIX4K_F8000 0x26f 272 318 %define MSR_IA32_MTRR_DEF_TYPE 0x2FF 273 319 %define MSR_IA32_MC0_CTL 0x400 … … 314 360 %define MSR_K7_PERFCTR2 0xc0010006 315 361 %define MSR_K7_PERFCTR3 0xc0010007 316 %define MSR_K8_HWCR 0xc0010015317 362 %define MSR_K8_LSTAR 0xc0000082 318 363 %define MSR_K8_CSTAR 0xc0000083 … … 484 529 %define X86_FCW_PM RT_BIT(5) 485 530 %define X86_FCW_MASK_ALL 0x007f 531 %define X86_FCW_XCPT_MASK 0x003f 486 532 %define X86_FCW_PC_MASK 0x0300 487 533 %define X86_FCW_PC_24 0x0000 … … 494 540 %define X86_FCW_RC_UP 0x0800 495 541 %define X86_FCW_RC_ZERO 0x0c00 542 %define X86_FCW_ZERO_MASK 0xf080 543 %ifndef VBOX_FOR_DTRACE_LIB 544 %endif 545 %ifndef VBOX_FOR_DTRACE_LIB 546 %endif 547 %ifndef VBOX_FOR_DTRACE_LIB 548 %endif 549 %ifndef VBOX_FOR_DTRACE_LIB 550 %endif 551 %ifndef VBOX_FOR_DTRACE_LIB 552 %endif 553 %ifndef VBOX_FOR_DTRACE_LIB 554 %endif 555 %ifndef VBOX_FOR_DTRACE_LIB 556 %endif 557 %ifndef VBOX_FOR_DTRACE_LIB 558 %endif 496 559 %if HC_ARCH_BITS == 64 497 560 %else … … 556 619 %define X86_DESC_DB RT_BIT(22) 557 620 %define X86_DESC_G RT_BIT(23) 621 %ifndef VBOX_FOR_DTRACE_LIB 622 %endif 623 %ifndef VBOX_FOR_DTRACE_LIB 624 %endif 558 625 %define X86_SEL_SHIFT 3 559 626 %define X86_SEL_MASK 0xfff8 … … 570 637 %define X86_TRAP_PF_RSVD RT_BIT(3) 571 638 %define X86_TRAP_PF_ID RT_BIT(4) 639 %ifndef VBOX_FOR_DTRACE_LIB 640 %else 641 %endif 642 %ifndef VBOX_FOR_DTRACE_LIB 643 %else 644 %endif 572 645 %define X86_MODRM_RM_MASK 0x07 573 646 %define X86_MODRM_REG_MASK 0x38 … … 577 650 %define X86_MODRM_MOD_SMASK 0x03 578 651 %define X86_MODRM_MOD_SHIFT 6 652 %ifndef VBOX_FOR_DTRACE_LIB 653 %endif 579 654 %define X86_SIB_BASE_MASK 0x07 580 655 %define X86_SIB_INDEX_MASK 0x38 … … 584 659 %define X86_SIB_SCALE_SMASK 0x03 585 660 %define X86_SIB_SCALE_SHIFT 6 661 %ifndef VBOX_FOR_DTRACE_LIB 662 %endif 586 663 %define X86_GREG_xAX 0 587 664 %define X86_GREG_xCX 1
Note:
See TracChangeset
for help on using the changeset viewer.