VirtualBox

Changeset 41147 in vbox for trunk/src/VBox/VMM/include


Ignore:
Timestamp:
May 3, 2012 8:15:27 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
77764
Message:

SUPDrv,VMM: Tracepoints in raw-mode.

Location:
trunk/src/VBox/VMM/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/include/VMMInternal.h

    r39303 r41147  
    2020
    2121#include <VBox/cdefs.h>
     22#include <VBox/sup.h>
    2223#include <VBox/vmm/stam.h>
    2324#include <VBox/log.h>
     
    425426     *  attempts at recursive rendezvous. */
    426427    bool volatile               fInRendezvous;
    427     bool                        afPadding[HC_ARCH_BITS == 32 ? 7 : 3];
     428    bool                        afPadding[HC_ARCH_BITS == 32 ? 3 : 7];
    428429    /** @} */
     430
     431    /** @name Raw-mode context tracting data.
     432     * @{ */
     433    SUPDRVTRACERUSRCTX          TracerCtx;
     434    /** @} */
     435
     436    /** Alignment padding, making sure u64CallRing3Arg is nicly aligned. */
     437    uint32_t                    u32Padding1;
    429438
    430439    /** @name Call Ring-3
     
    439448    /** The argument to the operation. */
    440449    uint64_t                    u64CallRing3Arg;
    441     /** The Ring-0 jmp buffer. */
     450    /** The Ring-0 jmp buffer.
     451     * @remarks The size of this type isn't stable in assembly, so don't put
     452     *          anything that needs to be accessed from assembly after it. */
    442453    VMMR0JMPBUF                 CallRing3JmpBufR0;
    443454    /** @} */
    444455
    445456} VMMCPU;
     457AssertCompileMemberAlignment(VMMCPU, TracerCtx, 8);
    446458/** Pointer to VMMCPU. */
    447459typedef VMMCPU *PVMMCPU;
  • trunk/src/VBox/VMM/include/VMMInternal.mac

    r35333 r41147  
    1717
    1818%include "VBox/asmdefs.mac"
     19%include "VBox/sup.mac"
    1920
    2021;
     
    9596endstruc
    9697
     98
     99struc VMMCPU
     100                               
     101        .offVMCPU               resd 1
     102        .iLastGZRc              resd 1
     103        .pbEMTStackR3           RTR3PTR_RES 1
     104        .pbEMTStackRC           RTRCPTR_RES 1
     105        .pbEMTStackBottomRC     RTRCPTR_RES 1
     106%ifdef LOG_ENABLED
     107        .pR0LoggerR3            RTR3PTR_RES 1
     108        .pR0LoggerR0            RTR0PTR_RES 1
     109%endif
     110
     111        .fInRendezvous          resb 1
     112%if HC_ARCH_BITS == 32
     113        .afPadding              resb 7
     114%else
     115        .afPadding              resb 3
     116%endif
     117
     118        alignb 8
     119        .TracerCtx              resb SUPDRVTRACERUSRCTX64_size
     120
     121
     122        .cCallRing3Disabled     resd 1
     123        .enmCallRing3Operation  resd 1
     124        .rcCallRing3            resd 1
     125        .u64CallRing3Arg        resq 1
     126        ; .CallRing3JmpBufR0    resb no-can-do
     127
     128endstruc
     129
Note: See TracChangeset for help on using the changeset viewer.

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