VirtualBox

Changeset 4776 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Sep 13, 2007 3:29:33 PM (17 years ago)
Author:
vboxsync
Message:

Stricter type checking. Removed unnecessary code from the ring 0 module.

Location:
trunk/src/VBox/VMM
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/Makefile.kmk

    r4738 r4776  
    354354        VMMAll/TMAllReal.cpp \
    355355        VMMAll/TMAllVirtual.cpp \
    356         VMMAll/VMAll.cpp \
    357         PATM/VMMAll/PATMAll.cpp
     356        VMMAll/VMAll.cpp
    358357
    359358ifeq ($(VBOX_LDR_FMT),pe)
  • trunk/src/VBox/VMM/PATM/CSAM.cpp

    r4071 r4776  
    548548 *
    549549 */
    550 static HCPTRTYPE(void *) CSAMGCVirtToHCVirt(PVM pVM, PCSAMP2GLOOKUPREC pCacheRec, GCPTRTYPE(uint8_t *) pGCPtr)
     550static R3PTRTYPE(void *) CSAMGCVirtToHCVirt(PVM pVM, PCSAMP2GLOOKUPREC pCacheRec, GCPTRTYPE(uint8_t *) pGCPtr)
    551551{
    552552    int rc;
    553     HCPTRTYPE(void *) pHCPtr;
     553    R3PTRTYPE(void *) pHCPtr;
    554554
    555555    STAM_PROFILE_START(&pVM->csam.s.StatTimeAddrConv, a);
     
    575575        return NULL;
    576576    }
    577 ////invalid?    Assert(sizeof(HCPTRTYPE(uint8_t*)) == sizeof(uint32_t));
    578 
    579     pCacheRec->pPageLocStartHC = (HCPTRTYPE(uint8_t*))((RTHCUINTPTR)pHCPtr & PAGE_BASE_HC_MASK);
     577////invalid?    Assert(sizeof(R3PTRTYPE(uint8_t*)) == sizeof(uint32_t));
     578
     579    pCacheRec->pPageLocStartHC = (R3PTRTYPE(uint8_t*))((RTHCUINTPTR)pHCPtr & PAGE_BASE_HC_MASK);
    580580    pCacheRec->pGuestLoc      = pGCPtr & PAGE_BASE_GC_MASK;
    581581    STAM_PROFILE_STOP(&pVM->csam.s.StatTimeAddrConv, a);
     
    10721072    int rc = VWRN_CONTINUE_ANALYSIS;
    10731073    uint32_t opsize;
    1074     HCPTRTYPE(uint8_t *) pCurInstrHC = 0;
     1074    R3PTRTYPE(uint8_t *) pCurInstrHC = 0;
    10751075    bool disret;
    10761076
  • trunk/src/VBox/VMM/PATM/CSAMInternal.h

    r4071 r4776  
    7070typedef struct
    7171{
    72     HCPTRTYPE(uint8_t *) pPageLocStartHC;
    73     HCPTRTYPE(uint8_t *) pPageLocEndHC;
     72    R3PTRTYPE(uint8_t *) pPageLocStartHC;
     73    R3PTRTYPE(uint8_t *) pPageLocEndHC;
    7474    GCPTRTYPE(uint8_t *) pGuestLoc;
    7575    uint32_t             depth;  //call/jump depth
     
    146146#endif
    147147
    148     HCPTRTYPE(PAVLPVNODECORE) pPageTree;
     148    R3PTRTYPE(PAVLPVNODECORE) pPageTree;
    149149
    150150    /* Array to store previously scanned dangerous instructions, so we don't need to
     
    157157    GCPTRTYPE(RTGCPTR *)  pPDBitmapGC;
    158158    GCPTRTYPE(RTHCPTR *)  pPDHCBitmapGC;
    159     HCPTRTYPE(uint8_t **) pPDBitmapHC;
    160     HCPTRTYPE(RTGCPTR  *) pPDGCBitmapHC;
     159    R3PTRTYPE(uint8_t **) pPDBitmapHC;
     160    R3PTRTYPE(RTGCPTR  *) pPDGCBitmapHC;
    161161
    162162    /* Temporary storage during load/save state */
    163163    struct
    164164    {
    165         HCPTRTYPE(PSSMHANDLE) pSSM;
     165        R3PTRTYPE(PSSMHANDLE) pSSM;
    166166        uint32_t        cPageRecords;
    167167        uint32_t        cPatchPageRecords;
     
    238238
    239239/**
    240  * Check if the current instruction is the start of a known guest block that requires our attention
    241  *
    242  * @param   pVM         The VM to operate on.
    243  * @param   pInstrGC    Guest context pointer of instruction to check
    244  * @param   pInstrHC    Host context pointer of instruction to check
    245  * @param   opcode      Opcode of instruction at pInstrGC
    246  *
    247  * @returns             true if patched
    248  *
    249  */
    250 bool csamCheckGuestSpecificPatch(PVM pVM, RTGCPTR pInstrGC, HCPTRTYPE(uint8_t *) pInstrHC, uint32_t opcode);
    251 
    252 /**
    253240 * Calculate the branch destination
    254241 *
  • trunk/src/VBox/VMM/PATM/PATM.cpp

    r4772 r4776  
    915915 * @param   pAddrGC     Guest context address
    916916 */
    917 PATMR3DECL(bool) PATMR3IsPatchHCAddr(PVM pVM, HCPTRTYPE(uint8_t *) pAddrHC)
     917PATMR3DECL(bool) PATMR3IsPatchHCAddr(PVM pVM, R3PTRTYPE(uint8_t *) pAddrHC)
    918918{
    919919    return (pAddrHC >= pVM->patm.s.pPatchMemHC && pAddrHC < pVM->patm.s.pPatchMemHC + pVM->patm.s.cbPatchMem) ? true : false;
     
    941941 * @param   pAddrGC     GC pointer
    942942 */
    943 PATMR3DECL(HCPTRTYPE(void *)) PATMR3GCPtrToHCPtr(PVM pVM, RTGCPTR pAddrGC)
     943PATMR3DECL(R3PTRTYPE(void *)) PATMR3GCPtrToHCPtr(PVM pVM, RTGCPTR pAddrGC)
    944944{
    945945    if (pVM->patm.s.pPatchMemGC <= pAddrGC && pVM->patm.s.pPatchMemGC + pVM->patm.s.cbPatchMem > pAddrGC)
     
    973973 *
    974974 */
    975 HCPTRTYPE(uint8_t *) PATMGCVirtToHCVirt(PVM pVM, PPATCHINFO pPatch, GCPTRTYPE(uint8_t *) pGCPtr)
     975R3PTRTYPE(uint8_t *) PATMGCVirtToHCVirt(PVM pVM, PPATCHINFO pPatch, GCPTRTYPE(uint8_t *) pGCPtr)
    976976{
    977977    int rc;
    978     HCPTRTYPE(uint8_t *) pHCPtr;
     978    R3PTRTYPE(uint8_t *) pHCPtr;
    979979    uint32_t offset;
    980980
     
    996996        return NULL;
    997997    }
    998 ////invalid?    Assert(sizeof(HCPTRTYPE(uint8_t*)) == sizeof(uint32_t));
    999 
    1000     pPatch->cacheRec.pPatchLocStartHC = (HCPTRTYPE(uint8_t*))((RTHCUINTPTR)pHCPtr & PAGE_BASE_HC_MASK);
     998////invalid?    Assert(sizeof(R3PTRTYPE(uint8_t*)) == sizeof(uint32_t));
     999
     1000    pPatch->cacheRec.pPatchLocStartHC = (R3PTRTYPE(uint8_t*))((RTHCUINTPTR)pHCPtr & PAGE_BASE_HC_MASK);
    10011001    pPatch->cacheRec.pGuestLoc        = pGCPtr & PAGE_BASE_GC_MASK;
    10021002    return pHCPtr;
     
    17041704            int         disret;
    17051705            GCPTRTYPE(uint8_t *) pNextInstrGC, pReturnInstrGC;
    1706             HCPTRTYPE(uint8_t *) pNextInstrHC;
     1706            R3PTRTYPE(uint8_t *) pNextInstrHC;
    17071707
    17081708            pPatch->flags |= PATMFL_FOUND_PATCHEND;
     
    20822082    int rc = VWRN_CONTINUE_ANALYSIS;
    20832083    uint32_t opsize, delta;
    2084     HCPTRTYPE(uint8_t *) pCurInstrHC = 0;
     2084    R3PTRTYPE(uint8_t *) pCurInstrHC = 0;
    20852085    bool disret;
    20862086    char szOutput[256];
     
    22532253    int rc = VWRN_CONTINUE_ANALYSIS;
    22542254    uint32_t opsize;
    2255     HCPTRTYPE(uint8_t *) pCurInstrHC = 0;
     2255    R3PTRTYPE(uint8_t *) pCurInstrHC = 0;
    22562256    bool disret;
    22572257#ifdef LOG_ENABLED
     
    26352635 *
    26362636 */
    2637 PATMR3DECL(int) PATMR3PatchBlock(PVM pVM, RTGCPTR pInstrGC, HCPTRTYPE(uint8_t *) pInstrHC,
     2637PATMR3DECL(int) PATMR3PatchBlock(PVM pVM, RTGCPTR pInstrGC, R3PTRTYPE(uint8_t *) pInstrHC,
    26382638                                 uint32_t uOpcode, uint32_t uOpSize, PPATMPATCHREC pPatchRec)
    26392639{
     
    28622862 *
    28632863 */
    2864 static int patmIdtHandler(PVM pVM, RTGCPTR pInstrGC, HCPTRTYPE(uint8_t *) pInstrHC,
     2864static int patmIdtHandler(PVM pVM, RTGCPTR pInstrGC, R3PTRTYPE(uint8_t *) pInstrHC,
    28652865                          uint32_t uOpSize, PPATMPATCHREC pPatchRec)
    28662866{
     
    37433743 *
    37443744 */
    3745 PATMR3DECL(int) PATMR3PatchInstrInt3(PVM pVM, RTGCPTR pInstrGC, HCPTRTYPE(uint8_t *) pInstrHC, DISCPUSTATE *pCpu, PPATCHINFO pPatch)
     3745PATMR3DECL(int) PATMR3PatchInstrInt3(PVM pVM, RTGCPTR pInstrGC, R3PTRTYPE(uint8_t *) pInstrHC, DISCPUSTATE *pCpu, PPATCHINFO pPatch)
    37463746{
    37473747    uint8_t ASMInt3 = 0xCC;
     
    37983798 *
    37993799 */
    3800 int patmPatchJump(PVM pVM, RTGCPTR pInstrGC, HCPTRTYPE(uint8_t *) pInstrHC, DISCPUSTATE *pCpu, PPATMPATCHREC pPatchRec)
     3800int patmPatchJump(PVM pVM, RTGCPTR pInstrGC, R3PTRTYPE(uint8_t *) pInstrHC, DISCPUSTATE *pCpu, PPATMPATCHREC pPatchRec)
    38013801{
    38023802    PPATCHINFO pPatch = &pPatchRec->patch;
     
    39413941{
    39423942    DISCPUSTATE cpu;
    3943     HCPTRTYPE(uint8_t *) pInstrHC;
     3943    R3PTRTYPE(uint8_t *) pInstrHC;
    39443944    uint32_t opsize;
    39453945    PPATMPATCHREC pPatchRec;
     
    50605060    PATCHINFO            patch = {0};
    50615061    DISCPUSTATE          cpu;
    5062     HCPTRTYPE(uint8_t *) pInstrHC;
     5062    R3PTRTYPE(uint8_t *) pInstrHC;
    50635063    uint32_t             opsize;
    50645064    bool                 disret;
  • trunk/src/VBox/VMM/PATM/PATMInternal.h

    r4071 r4776  
    131131
    132132    uint32_t        uType;
    133     HCPTRTYPE(uint8_t *) pRelocPos;
     133    R3PTRTYPE(uint8_t *) pRelocPos;
    134134    RTGCPTR         pSource;
    135135    RTGCPTR         pDest;
     
    138138typedef struct
    139139{
    140     HCPTRTYPE(uint8_t *) pPatchLocStartHC;
    141     HCPTRTYPE(uint8_t *) pPatchLocEndHC;
     140    R3PTRTYPE(uint8_t *) pPatchLocStartHC;
     141    R3PTRTYPE(uint8_t *) pPatchLocEndHC;
    142142    GCPTRTYPE(uint8_t *) pGuestLoc;
    143143    uint32_t             opsize;
     
    149149    AVLPVNODECORE   Core;
    150150
    151     HCPTRTYPE(uint8_t *) pJumpHC;
     151    R3PTRTYPE(uint8_t *) pJumpHC;
    152152    GCPTRTYPE(uint8_t *) pTargetGC;
    153153    uint32_t            offDispl;
     
    197197{
    198198    /* Temporary tree for storing the addresses of illegal instructions. */
    199     HCPTRTYPE(PAVLPVNODECORE)   IllegalInstrTree;
     199    R3PTRTYPE(PAVLPVNODECORE)   IllegalInstrTree;
    200200    uint32_t                    nrIllegalInstr;
    201201
     
    204204
    205205    /* Temporary tree of encountered jumps. (debug only) */
    206     HCPTRTYPE(PAVLPVNODECORE)   DisasmJumpTree;
     206    R3PTRTYPE(PAVLPVNODECORE)   DisasmJumpTree;
    207207
    208208    int32_t                     nrCalls;
     
    223223
    224224    GCPTRTYPE(uint8_t *)  pPrivInstrGC;    //GC pointer of privileged instruction
    225     HCPTRTYPE(uint8_t *)  pPrivInstrHC;    //HC pointer of privileged instruction
     225    R3PTRTYPE(uint8_t *)  pPrivInstrHC;    //HC pointer of privileged instruction
    226226    uint8_t         aPrivInstr[MAX_INSTR_SIZE];
    227227    uint32_t        cbPrivInstr;
     
    248248
    249249    /* Tree of fixup records for the patch. */
    250     HCPTRTYPE(PAVLPVNODECORE) FixupTree;
     250    R3PTRTYPE(PAVLPVNODECORE) FixupTree;
    251251    int32_t         nrFixups;
    252252
    253253    /* Tree of jumps inside the generated patch code. */
    254254    int32_t         nrJumpRecs;
    255     HCPTRTYPE(PAVLPVNODECORE) JumpTree;
     255    R3PTRTYPE(PAVLPVNODECORE) JumpTree;
    256256
    257257    /**
     
    259259     * instruction in the patch block.
    260260     */
    261     HCPTRTYPE(PAVLU32NODECORE) Patch2GuestAddrTree;
    262     HCPTRTYPE(PAVLGCPTRNODECORE) Guest2PatchAddrTree;
     261    R3PTRTYPE(PAVLU32NODECORE) Patch2GuestAddrTree;
     262    R3PTRTYPE(PAVLGCPTRNODECORE) Guest2PatchAddrTree;
    263263    uint32_t                  nrPatch2GuestRecs;
    264264#if HC_ARCH_BITS == 64
     
    270270
    271271    /* Temporary information during patch creation. Don't waste hypervisor memory for this. */
    272     HCPTRTYPE(PPATCHINFOTEMP) pTempInfo;
     272    R3PTRTYPE(PPATCHINFOTEMP) pTempInfo;
    273273
    274274    /* Count the number of writes to the corresponding guest code. */
     
    323323    uint32_t           cMaxPatches;
    324324    /** Array of patch pointers for this page. */
    325     HCPTRTYPE(PPATCHINFO *) aPatch;
     325    R3PTRTYPE(PPATCHINFO *) aPatch;
    326326} PATMPATCHPAGE, *PPATMPATCHPAGE;
    327327
     
    360360
    361361    GCPTRTYPE(uint8_t *)    pPatchMemGC;
    362     HCPTRTYPE(uint8_t *)    pPatchMemHC;
     362    R3PTRTYPE(uint8_t *)    pPatchMemHC;
    363363    uint32_t                cbPatchMem;
    364364    uint32_t                offPatchMem;
     
    368368
    369369    /* GC PATM state pointers */
    370     HCPTRTYPE(PPATMGCSTATE) pGCStateHC;
     370    R3PTRTYPE(PPATMGCSTATE) pGCStateHC;
    371371    GCPTRTYPE(PPATMGCSTATE) pGCStateGC;
    372372
    373373    /** PATM stack page for call instruction execution. (2 parts: one for our private stack and one to store the original return address */
    374374    GCPTRTYPE(RTGCPTR *)    pGCStackGC;
    375     HCPTRTYPE(RTGCPTR *)    pGCStackHC;
     375    R3PTRTYPE(RTGCPTR *)    pGCStackHC;
    376376
    377377    /** GC pointer to CPUMCTX structure. */
     
    380380    /* GC statistics pointers */
    381381    GCPTRTYPE(PSTAMRATIOU32) pStatsGC;
    382     HCPTRTYPE(PSTAMRATIOU32) pStatsHC;
     382    R3PTRTYPE(PSTAMRATIOU32) pStatsHC;
    383383
    384384    /* Current free index value (uPatchRun/uPatchTrap arrays). */
     
    399399    /** Pointer to the patch tree for instructions replaced by 'int 3'. */
    400400    GCPTRTYPE(PPATMTREES)   PatchLookupTreeGC;
    401     HCPTRTYPE(PPATMTREES)   PatchLookupTreeHC;
     401    R3PTRTYPE(PPATMTREES)   PatchLookupTreeHC;
    402402
    403403    /** Global PATM lookup and call function (used by call patches). */
     
    411411
    412412    /** Fake patch record for global functions. */
    413     HCPTRTYPE(PPATMPATCHREC) pGlobalPatchRec;
     413    R3PTRTYPE(PPATMPATCHREC) pGlobalPatchRec;
    414414
    415415    /** Pointer to original sysenter handler */
     
    433433    struct
    434434    {
    435         HCPTRTYPE(PSSMHANDLE) pSSM;
     435        R3PTRTYPE(PSSMHANDLE) pSSM;
    436436        uint32_t            cPatches;
    437437#if HC_ARCH_BITS == 64
     
    612612 *
    613613 */
    614 HCPTRTYPE(uint8_t *) PATMGCVirtToHCVirt(PVM pVM, PPATCHINFO pPatch, GCPTRTYPE(uint8_t *) pGCPtr);
     614R3PTRTYPE(uint8_t *) PATMGCVirtToHCVirt(PVM pVM, PPATCHINFO pPatch, GCPTRTYPE(uint8_t *) pGCPtr);
    615615
    616616
     
    681681    PVM           pVM;
    682682    PPATCHINFO    pPatchInfo;
    683     HCPTRTYPE(uint8_t *) pInstrHC;
     683    R3PTRTYPE(uint8_t *) pInstrHC;
    684684    RTGCPTR       pInstrGC;
    685685    uint32_t      fReadFlags;
     
    742742 *
    743743 */
    744 PATMR3DECL(int) PATMR3PatchBlock(PVM pVM, RTGCPTR pInstrGC, HCPTRTYPE(uint8_t *) pInstrHC,
     744PATMR3DECL(int) PATMR3PatchBlock(PVM pVM, RTGCPTR pInstrGC, R3PTRTYPE(uint8_t *) pInstrHC,
    745745                                 uint32_t uOpcode, uint32_t uOpSize, PPATMPATCHREC pPatchRec);
    746746
     
    759759 *
    760760 */
    761 PATMR3DECL(int) PATMR3PatchInstrInt3(PVM pVM, RTGCPTR pInstrGC, HCPTRTYPE(uint8_t *) pInstrHC, DISCPUSTATE *pCpu, PPATCHINFO pPatch);
     761PATMR3DECL(int) PATMR3PatchInstrInt3(PVM pVM, RTGCPTR pInstrGC, R3PTRTYPE(uint8_t *) pInstrHC, DISCPUSTATE *pCpu, PPATCHINFO pPatch);
    762762
    763763/**
  • trunk/src/VBox/VMM/PDMInternal.h

    r4767 r4776  
    7979    /** Pointer to the next instance (HC Ptr).
    8080     * (Head is pointed to by PDM::pDevInstances.) */
    81     HCPTRTYPE(PPDMDEVINS)           pNextHC;
     81    R3PTRTYPE(PPDMDEVINS)           pNextHC;
    8282    /** Pointer to the next per device instance (HC Ptr).
    8383     * (Head is pointed to by PDMDEV::pInstances.) */
    84     HCPTRTYPE(PPDMDEVINS)           pPerDeviceNextHC;
     84    R3PTRTYPE(PPDMDEVINS)           pPerDeviceNextHC;
    8585
    8686    /** Pointer to device structure - HC Ptr. */
     
    9090    HCPTRTYPE(PVM)                  pVMHC;
    9191    /** Pointer to the list of logical units associated with the device. (FIFO) */
    92     HCPTRTYPE(PPDMLUN)              pLunsHC;
     92    R3PTRTYPE(PPDMLUN)              pLunsHC;
    9393    /** Configuration handle to the instance node. */
    94     HCPTRTYPE(PCFGMNODE)            pCfgHandle;
     94    R3PTRTYPE(PCFGMNODE)            pCfgHandle;
    9595    /** HC pointer to associated PCI device structure. */
    96     HCPTRTYPE(struct PCIDevice *)  pPciDeviceHC;
     96    R3R0PTRTYPE(struct PCIDevice *) pPciDeviceHC;
    9797    /** HC pointer to associated PCI bus structure. */
    98     HCPTRTYPE(PPDMPCIBUS)           pPciBusHC;
     98    R3R0PTRTYPE(PPDMPCIBUS)         pPciBusHC;
    9999
    100100    /** GC pointer to associated PCI device structure. */
  • trunk/src/VBox/VMM/SELMInternal.h

    r4071 r4776  
    8585    /** Pointer to the GCs - HC Ptr.
    8686     * This size is governed by SELM_GDT_ELEMENTS. */
    87     HCPTRTYPE(PVBOXDESC)    paGdtHC;
     87    R3R0PTRTYPE(PVBOXDESC)  paGdtHC;
    8888    /** Pointer to the GCs - GC Ptr.
    8989     * This is not initialized until the first relocation because it's used to
     
    9696
    9797    /** HC Pointer to the LDT shadow area placed in Hypervisor memory arena. */
    98     HCPTRTYPE(void *)       HCPtrLdt;
     98    R3PTRTYPE(void *)       HCPtrLdt;
    9999    /** GC Pointer to the LDT shadow area placed in Hypervisor memory arena. */
    100100    GCPTRTYPE(void *)       GCPtrLdt;
  • trunk/src/VBox/VMM/SSMInternal.h

    r4071 r4776  
    175175
    176176    /** FIFO of data entity descriptors. */
    177     HCPTRTYPE(PSSMUNIT)     pHead;
     177    R3PTRTYPE(PSSMUNIT)     pHead;
    178178
    179179} SSM;
  • trunk/src/VBox/VMM/STAMInternal.h

    r4071 r4776  
    112112    RTUINT                  uPadding;
    113113    /** Pointer to the first sample. */
    114     HCPTRTYPE(PSTAMDESC)    pHead;
     114    R3PTRTYPE(PSTAMDESC)    pHead;
    115115    /** RW Lock for the list. */
    116116    RTSEMRW                 RWSem;
  • trunk/src/VBox/VMM/TMInternal.h

    r4071 r4776  
    172172    PTMTIMERR3              pBigPrev;
    173173    /** Pointer to the timer description. */
    174     HCPTRTYPE(const char *) pszDesc;
     174    R3PTRTYPE(const char *) pszDesc;
    175175    /** Pointer to the VM the timer belongs to - R3 Ptr. */
    176176    PVMR3                   pVMR3;
  • trunk/src/VBox/VMM/VMMAll/SELMAll.cpp

    r4211 r4776  
    694694}
    695695
    696 
     696#ifndef IN_RING0
    697697/**
    698698 * Gets the hypervisor code selector (CS).
     
    748748    return pVM->selm.s.aHyperSel[SELM_HYPER_SEL_TSS_TRAP08];
    749749}
    750 
    751750
    752751/**
     
    767766    return MMHyperHC2GC(pVM, pVM->selm.s.paGdtHC);
    768767}
    769 
     768#endif /* IN_RING0 */
    770769
    771770/**
  • trunk/src/VBox/VMM/VMMAll/TRPMAll.cpp

    r4693 r4776  
    338338}
    339339
    340 
     340#ifndef IN_RING0
    341341/**
    342342 * Forward trap or interrupt to the guest's handler
     
    739739    return VINF_EM_RAW_GUEST_TRAP;
    740740}
    741 
     741#endif /* !IN_RING0 */
    742742
    743743/**
  • trunk/src/VBox/VMM/VMMR0/PDMR0Device.cpp

    r4071 r4776  
    358358    LogFlow(("pdmR0DevHlp_PATMSetMMIOPatchInfo: caller=%p/%d:\n", pDevIns, pDevIns->iInstance));
    359359
    360     return PATMSetMMIOPatchInfo(pDevIns->Internal.s.pVMHC, GCPhys, pCachedData);
     360    AssertFailed();
     361
     362/*    return PATMSetMMIOPatchInfo(pDevIns->Internal.s.pVMHC, GCPhys, pCachedData); */
     363    return VINF_SUCCESS;
    361364}
    362365
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