VirtualBox

Ignore:
Timestamp:
Jun 27, 2012 4:12:16 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
78796
Message:

TRPM: Save state directly to the CPUMCPU context member instead of putting on the stack. this avoid copying the state around before returning to host context to service an IRQ, or before using IEM.

File:
1 edited

Legend:

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

    r41905 r41931  
    369369    CPUMCTXMSRS             GuestMsrs;
    370370
    371     /** Pointer to the current hypervisor core context - R3Ptr. */
    372     R3PTRTYPE(PCPUMCTXCORE) pHyperCoreR3;
    373     /** Pointer to the current hypervisor core context - R0Ptr. */
    374     R0PTRTYPE(PCPUMCTXCORE) pHyperCoreR0;
    375     /** Pointer to the current hypervisor core context - RCPtr. */
    376     RCPTRTYPE(PCPUMCTXCORE) pHyperCoreRC;
    377 
    378371    /** Use flags.
    379372     * These flags indicates both what is to be used and what has been used.
     
    401394
    402395    /** Align the structure on a 64-byte boundary. */
    403     uint8_t                 abPadding2[HC_ARCH_BITS == 32 ? 34 : 26];
     396    uint8_t                 abPadding2[HC_ARCH_BITS == 32 ? 48 : 46];
    404397} CPUMCPU;
    405398/** Pointer to the CPUMCPU instance data residing in the shared VMCPU structure. */
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