VirtualBox

Changeset 26218 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Feb 3, 2010 9:24:13 PM (15 years ago)
Author:
vboxsync
Message:

*.kmk: Started renaming templated from all caps to CamelCase. At the same time preparing to make warnings errors (VBOX_WITH_WARNINGS_AS_ERRORS=1 to LocalConfig.kmk)

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

Legend:

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

    r25946 r26218  
    3232LIBRARIES += VMMR3
    3333
    34 VMMR3_TEMPLATE  = VBOXR3
     34VMMR3_TEMPLATE  = VBoxR3Dll
    3535
    3636VMMR3_DEFS      = IN_VMM_R3 IN_DIS IN_GMM_R3 IN_DBG
     
    208208#
    209209DLLS += VBoxVMM
    210 VBoxVMM_TEMPLATE = VBOXR3
     210VBoxVMM_TEMPLATE = VBoxR3Dll
    211211VBoxVMM_DEFS = $(VMMR3_DEFS)
    212212VBoxVMM_DEFS.$(KBUILD_TARGET) = $(VMMR3_DEFS.$(KBUILD_TARGET))
     
    297297 #
    298298 LIBRARIES += VMMR0Imp
    299  VMMR0Imp_TEMPLATE = VBOXR0
     299 VMMR0Imp_TEMPLATE = VBoxR0
    300300 VMMR0Imp_SOURCES  = $(PATH_VMMR0Imp)/VMMR0.def
    301301 VMMR0Imp_CLEAN    = $(PATH_VMMR0Imp)/VMMR0.def
     
    437437#
    438438SYSMODS += VMMR0
    439 VMMR0_TEMPLATE  = VBOXR0
     439VMMR0_TEMPLATE  = VBoxR0
    440440VMMR0_SYSSUFF   = .r0
    441441
  • trunk/src/VBox/VMM/VMMAll/PGMAllBth.h

    r26202 r26218  
    10521052    }
    10531053
    1054     /* Fetch the pgm pool shadow descriptor. */ 
    1055     PPGMPOOLPAGE pShwPde = pgmPoolGetPage(pPool, pPdptDst->a[iPdpt].u & SHW_PDPE_PG_MASK); 
    1056     Assert(pShwPde); 
     1054    /* Fetch the pgm pool shadow descriptor. */
     1055    PPGMPOOLPAGE pShwPde = pgmPoolGetPage(pPool, pPdptDst->a[iPdpt].u & SHW_PDPE_PG_MASK);
     1056    Assert(pShwPde);
    10571057
    10581058# endif /* PGM_SHW_TYPE == PGM_TYPE_AMD64 */
     
    21952195    Log(("CheckPageFault: real page fault at %RGv (%d)\n", GCPtrPage, uPageFaultLevel));
    21962196
    2197     if (
     2197    if (    1
    21982198#  if PGM_GST_TYPE == PGM_TYPE_AMD64
    2199             pPml4eSrc->n.u1Present &&
     2199         && pPml4eSrc->n.u1Present
    22002200#  endif
    22012201#  if PGM_GST_TYPE == PGM_TYPE_AMD64 || PGM_GST_TYPE == PGM_TYPE_PAE
    2202             pPdpeSrc->n.u1Present  &&
     2202         && pPdpeSrc->n.u1Present
    22032203#  endif
    2204            pPdeSrc->n.u1Present)
     2204         && pPdeSrc->n.u1Present)
    22052205    {
    22062206        /* Check the present bit as the shadow tables can cause different error codes by being out of sync. */
     
    22182218             * Map the guest page table.
    22192219             */
    2220             PGSTPT pPTSrc;
    2221             rc = PGM_GCPHYS_2_PTR(pVM, pPdeSrc->u & GST_PDE_PG_MASK, &pPTSrc);
     2220            PGSTPT pPTSrc2;
     2221            rc = PGM_GCPHYS_2_PTR(pVM, pPdeSrc->u & GST_PDE_PG_MASK, &pPTSrc2);
    22222222            if (RT_SUCCESS(rc))
    22232223            {
    2224                 PGSTPTE         pPteSrc = &pPTSrc->a[(GCPtrPage >> GST_PT_SHIFT) & GST_PT_MASK];
    2225                 const GSTPTE    PteSrc = *pPteSrc;
     2224                PGSTPTE pPteSrc = &pPTSrc2->a[(GCPtrPage >> GST_PT_SHIFT) & GST_PT_MASK];
    22262225                if (pPteSrc->n.u1Present)
    22272226                    TRPMSetErrorCode(pVCpu, uErr | X86_TRAP_PF_P); /* page-level protection violation */
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