VirtualBox

Changeset 53630 in vbox for trunk


Ignore:
Timestamp:
Jan 1, 2015 11:41:26 PM (10 years ago)
Author:
vboxsync
Message:

dtrace library fixes/hacks.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/vm.h

    r53094 r53630  
    235235
    236236    /** Align the following members on page boundary. */
    237     //uint8_t                 abAlignment2[64];
     237    /*uint8_t                 abAlignment2[64];*/
    238238
    239239    /** PGM part. */
  • trunk/include/iprt/x86.h

    r53194 r53630  
    945945#define X86_DR7_RW_ALL_MASKS                UINT32_C(0x33330000)
    946946
     947#ifndef VBOX_FOR_DTRACE_LIB
    947948/** Checks if there are any I/O breakpoint types configured in the RW
    948949 * registers.  Does NOT check if these are enabled, sorry. */
    949 #define X86_DR7_ANY_RW_IO(uDR7) \
     950# define X86_DR7_ANY_RW_IO(uDR7) \
    950951    (   (    UINT32_C(0x22220000) & (uDR7) ) /* any candidates? */ \
    951952     && ( ( (UINT32_C(0x22220000) & (uDR7) ) >> 1 )  &  ~(uDR7) ) )
     
    959960AssertCompile(X86_DR7_ANY_RW_IO(UINT32_C(0x00030000)) == 0);
    960961AssertCompile(X86_DR7_ANY_RW_IO(UINT32_C(0x00040000)) == 0);
     962#endif /* !VBOX_FOR_DTRACE_LIB */
    961963
    962964/** @name Length values.
     
    23732375 *  forget to update x86.mac if you change this! */
    23742376#define X86_FXSTATE_RSVD_32BIT_MAGIC    0x32b3232b
     2377#ifndef VBOX_FOR_DTRACE_LIB
    23752378AssertCompileSize(X86FXSTATE, 512);
    23762379AssertCompileMemberOffset(X86FXSTATE, au32RsrvdForSoftware, X86_OFF_FXSTATE_RSVD);
     2380#endif
    23772381
    23782382/** @name FPU status word flags.
  • trunk/src/VBox/VMM/include/CPUMInternal.h

    r52419 r53630  
    2727# pragma D depends_on library x86.d
    2828# pragma D depends_on library cpumctx.d
     29
     30/* Some fudging. */
     31typedef uint32_t CPUMMICROARCH;
     32typedef uint32_t CPUMUKNOWNCPUID;
     33typedef struct CPUMCPUIDLEAF *PCPUMCPUIDLEAF;
     34typedef struct CPUMMSRRANGE  *PCPUMMSRRANGE;
     35typedef uint64_t STAMCOUNTER;
    2936#endif
    3037
     
    128135    uint8_t         uStepping;
    129136    /** The microarchitecture. */
     137#ifndef VBOX_FOR_DTRACE_LIB
    130138    CPUMMICROARCH   enmMicroarch;
     139#else
     140    uint32_t        enmMicroarch;
     141#endif
    131142    /** The maximum physical address with of the CPU. */
    132143    uint8_t         cMaxPhysAddrWidth;
     
    181192    uint64_t        auPadding[2];
    182193} CPUMFEATURES;
     194#ifndef VBOX_FOR_DTRACE_LIB
    183195AssertCompileSize(CPUMFEATURES, 32);
     196#endif
    184197/** Pointer to a CPU feature structure. */
    185198typedef CPUMFEATURES *PCPUMFEATURES;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette