VirtualBox

Changeset 80938 in vbox for trunk


Ignore:
Timestamp:
Sep 23, 2019 8:19:38 AM (5 years ago)
Author:
vboxsync
Message:

VMM: bugref:9566 Removed TRPM ring-0 bits that are no longer used since the removal of raw-mode.

Location:
trunk
Files:
3 deleted
8 edited

Legend:

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

    r80281 r80938  
    107107#endif
    108108
    109 
    110 #ifdef IN_RING0
    111 /** @defgroup grp_trpm_r0   TRPM Host Context Ring 0 API
    112  * @{
    113  */
    114 VMMR0DECL(void)     TRPMR0DispatchHostInterrupt(PVM pVM);
    115 VMMR0DECL(void)     TRPMR0SetupInterruptDispatcherFrame(PVM pVM, void *pvRet);
    116 /** @} */
    117 #endif
    118 
    119109/** @} */
    120110RT_C_DECLS_END
  • trunk/src/VBox/VMM/Makefile.kmk

    r80641 r80938  
    489489        VMMR0/PGMR0.cpp \
    490490        VMMR0/PGMR0SharedPage.cpp \
    491         VMMR0/TRPMR0.cpp \
    492         VMMR0/TRPMR0A.asm \
    493491        VMMR0/VMMR0.cpp \
    494492        VMMRZ/CPUMRZ.cpp \
  • trunk/src/VBox/VMM/include/TRPMInternal.h

    r80015 r80938  
    3636 * @{
    3737 */
    38 
    39 /** First interrupt handler. Used for validating input. */
    40 #define TRPM_HANDLER_INT_BASE  0x20
    41 
    42 
    43 /** @name   TRPMGCTrapIn* flags.
    44  * The lower bits are offsets into the CPUMCTXCORE structure.
    45  * @{ */
    46 /** The mask for the operation. */
    47 #define TRPM_TRAP_IN_OP_MASK    0xffff
    48 /** Traps on MOV GS, eax. */
    49 #define TRPM_TRAP_IN_MOV_GS     1
    50 /** Traps on MOV FS, eax. */
    51 #define TRPM_TRAP_IN_MOV_FS     2
    52 /** Traps on MOV ES, eax. */
    53 #define TRPM_TRAP_IN_MOV_ES     3
    54 /** Traps on MOV DS, eax. */
    55 #define TRPM_TRAP_IN_MOV_DS     4
    56 /** Traps on IRET. */
    57 #define TRPM_TRAP_IN_IRET       5
    58 /** Set if this is a V86 resume. */
    59 #define TRPM_TRAP_IN_V86        RT_BIT(30)
    60 /** @} */
    61 
    6238
    6339/**
     
    130106typedef TRPMCPU *PTRPMCPU;
    131107
    132 
    133 #ifdef IN_RING0
    134 
    135 /**
    136  * Calls the interrupt gate as if we received an interrupt while in Ring-0.
    137  *
    138  * @param   uIP     The interrupt gate IP.
    139  * @param   SelCS   The interrupt gate CS.
    140  * @param   RSP     The interrupt gate RSP. ~0 if no stack switch should take place. (only AMD64)
    141  */
    142 DECLASM(void) trpmR0DispatchHostInterrupt(RTR0UINTPTR uIP, RTSEL SelCS, RTR0UINTPTR RSP);
    143 
    144 /**
    145  * Issues a software interrupt to the specified interrupt vector.
    146  *
    147  * @param   uActiveVector   The vector number.
    148  */
    149 DECLASM(void) trpmR0DispatchHostInterruptSimple(RTUINT uActiveVector);
    150 
    151 #endif /* IN_RING0 */
    152 
    153108/** @} */
    154109
  • trunk/src/VBox/VMM/testcase/Makefile.kmk

    r80319 r80938  
    549549                $(DEPTH)/include/iprt/x86.mac \
    550550                $(VBOX_PATH_VMM_SRC)/include/CPUMInternal.mac \
    551                 $(VBOX_PATH_VMM_SRC)/include/TRPMInternal.mac \
    552551                $(VBOX_PATH_VMM_SRC)/include/HMInternal.mac \
    553552                $(VBOX_PATH_VMM_SRC)/include/VMMInternal.mac \
     
    576575                $(DEPTH)/include/VBox/vmm/hm_vmx.mac \
    577576                $(DEPTH)/include/VBox/vmm/stam.mac \
    578                 $(DEPTH)/include/VBox/vmm/trpm.mac \
    579577                $(DEPTH)/include/VBox/vmm/vm.mac \
    580578                $(DEPTH)/include/VBox/sup.mac \
  • trunk/src/VBox/VMM/testcase/tstAsmStructs.cpp

    r80003 r80938  
    2222#include <VBox/vmm/cpum.h>
    2323#include "CPUMInternal.h"
    24 #include <VBox/vmm/trpm.h>
    25 #include "TRPMInternal.h"
    2624#include "HMInternal.h"
    2725#include "VMMInternal.h"
  • trunk/src/VBox/VMM/testcase/tstAsmStructsAsm.asm

    r80003 r80938  
    2525%include "CPUMInternal.mac"
    2626%include "HMInternal.mac"
    27 %include "TRPMInternal.mac"
    2827%include "VMMInternal.mac"
    2928%include "VBox/vmm/cpum.mac"
  • trunk/src/VBox/VMM/testcase/tstVMStruct.h

    r80334 r80938  
    11831183    GEN_CHECK_OFF(TMTIMERQUEUE, enmClock);
    11841184
    1185     GEN_CHECK_SIZE(TRPM); // has .mac
    1186     GEN_CHECK_SIZE(TRPMCPU); // has .mac
     1185    GEN_CHECK_SIZE(TRPM);
     1186    GEN_CHECK_SIZE(TRPMCPU);
    11871187    GEN_CHECK_SIZE(VM);  // has .mac
    11881188    GEN_CHECK_SIZE(VMM);
  • trunk/src/VBox/VMM/testcase/tstVMStructRC.cpp

    r76553 r80938  
    5757#include <VBox/vmm/pgm.h>
    5858#include <VBox/vmm/selm.h>
    59 #include <VBox/vmm/trpm.h>
    6059#include <VBox/vmm/vmm.h>
    6160#include <VBox/vmm/stam.h>
     
    6766#include "PGMInternal.h"
    6867#include "SELMInternal.h"
    69 #include "TRPMInternal.h"
    7068#include "TMInternal.h"
    7169#include "IOMInternal.h"
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