VirtualBox

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


Ignore:
Timestamp:
May 9, 2010 5:53:58 PM (15 years ago)
Author:
vboxsync
Message:

iprt/asm*.h: split out asm-math.h, don't include asm-*.h from asm.h, don't include asm.h from sup.h. Fixed a couple file headers.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/CPUM.cpp

    r28800 r29250  
    5353#include <VBox/log.h>
    5454#include <iprt/assert.h>
    55 #include <iprt/asm.h>
     55#include <iprt/asm-amd64-x86.h>
    5656#include <iprt/string.h>
    5757#include <iprt/mp.h>
  • trunk/src/VBox/VMM/DBGFAddrSpace.cpp

    r28800 r29250  
    4545#include <VBox/log.h>
    4646
     47#include <iprt/asm.h>
    4748#include <iprt/assert.h>
    4849#include <iprt/ctype.h>
  • trunk/src/VBox/VMM/EM.cpp

    r28800 r29250  
    6464#include <VBox/dbgf.h>
    6565
     66#include <iprt/asm.h>
    6667#include <iprt/string.h>
    6768#include <iprt/stream.h>
  • trunk/src/VBox/VMM/EMHwaccm.cpp

    r28800 r29250  
    6262#include <VBox/dbgf.h>
    6363
     64#include <iprt/asm.h>
     65
    6466
    6567/*******************************************************************************
  • trunk/src/VBox/VMM/EMRaw.cpp

    r28800 r29250  
    6464
    6565#include <VBox/log.h>
     66#include <iprt/asm.h>
    6667#include <iprt/string.h>
    6768#include <iprt/stream.h>
     69
    6870
    6971/*******************************************************************************
  • trunk/src/VBox/VMM/HWACCM.cpp

    r28812 r29250  
    4343#include <VBox/log.h>
    4444#include <iprt/asm.h>
     45#include <iprt/asm-amd64-x86.h>
    4546#include <iprt/string.h>
    4647#include <iprt/env.h>
  • trunk/src/VBox/VMM/PATM/VMMGC/CSAMGC.cpp

    r28800 r29250  
    4040#include <VBox/dis.h>
    4141#include <VBox/disopcode.h>
     42#include <iprt/asm.h>
     43#include <iprt/asm-amd64-x86.h>
    4244#include <iprt/string.h>
    43 #include <iprt/asm.h>
    4445
    4546/**
  • trunk/src/VBox/VMM/PDMAsyncCompletionFileCache.cpp

    r29121 r29250  
    2525*******************************************************************************/
    2626#define LOG_GROUP LOG_GROUP_PDM_ASYNC_COMPLETION
    27 #include <iprt/types.h>
     27#include <iprt/asm.h>
    2828#include <iprt/mem.h>
    2929#include <iprt/path.h>
  • trunk/src/VBox/VMM/PDMAsyncCompletionFileFailsafe.cpp

    r28800 r29250  
    1616 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
    1717 */
     18
     19/*******************************************************************************
     20*   Header Files                                                               *
     21*******************************************************************************/
    1822#define LOG_GROUP LOG_GROUP_PDM_ASYNC_COMPLETION
    19 #include <iprt/types.h>
     23#include <iprt/asm.h>
    2024#include <iprt/assert.h>
    2125#include <VBox/log.h>
    2226
    2327#include "PDMAsyncCompletionFileInternal.h"
     28
    2429
    2530static int pdmacFileAioMgrFailsafeProcessEndpointTaskList(PPDMASYNCCOMPLETIONENDPOINTFILE pEndpoint,
  • trunk/src/VBox/VMM/SSM.cpp

    r28800 r29250  
    154154#include <VBox/version.h>
    155155
    156 #include <iprt/alloc.h>
     156#include <iprt/asm.h>
    157157#include <iprt/assert.h>
    158158#include <iprt/crc32.h>
    159159#include <iprt/file.h>
     160#include <iprt/mem.h>
    160161#include <iprt/param.h>
    161162#include <iprt/thread.h>
  • trunk/src/VBox/VMM/TM.cpp

    r28800 r29250  
    138138#include <VBox/log.h>
    139139#include <iprt/asm.h>
     140#include <iprt/asm-math.h>
     141#include <iprt/asm-amd64-x86.h>
    140142#include <iprt/assert.h>
    141143#include <iprt/thread.h>
  • trunk/src/VBox/VMM/VMEmt.cpp

    r28800 r29250  
    3535#include <iprt/assert.h>
    3636#include <iprt/asm.h>
     37#include <iprt/asm-math.h>
    3738#include <iprt/semaphore.h>
    3839#include <iprt/string.h>
  • trunk/src/VBox/VMM/VMMAll/CPUMAllRegs.cpp

    r28800 r29250  
    3434#include <iprt/assert.h>
    3535#include <iprt/asm.h>
     36#include <iprt/asm-amd64-x86.h>
    3637#ifdef IN_RING3
    3738#include <iprt/thread.h>
  • trunk/src/VBox/VMM/VMMAll/PDMAllCritSect.cpp

    r28800 r29250  
    3131#include <VBox/log.h>
    3232#include <iprt/asm.h>
     33#include <iprt/asm-amd64-x86.h>
    3334#include <iprt/assert.h>
    3435#ifdef IN_RING3
  • trunk/src/VBox/VMM/VMMAll/PGMAll.cpp

    r28800 r29250  
    3838#include "../PGMInline.h"
    3939#include <iprt/assert.h>
    40 #include <iprt/asm.h>
     40#include <iprt/asm-amd64-x86.h>
    4141#include <iprt/string.h>
    4242#include <VBox/log.h>
  • trunk/src/VBox/VMM/VMMAll/PGMAllHandler.cpp

    r28936 r29250  
    3636#include <VBox/log.h>
    3737#include <iprt/assert.h>
    38 #include <iprt/asm.h>
     38#include <iprt/asm-amd64-x86.h>
    3939#include <iprt/string.h>
    4040#include <VBox/param.h>
  • trunk/src/VBox/VMM/VMMAll/PGMAllMap.cpp

    r28800 r29250  
    2525#include "../PGMInline.h"
    2626#include <VBox/err.h>
    27 #include <iprt/asm.h>
     27#include <iprt/asm-amd64-x86.h>
    2828#include <iprt/assert.h>
    2929
  • trunk/src/VBox/VMM/VMMAll/PGMAllPhys.cpp

    r29217 r29250  
    3333#include <iprt/assert.h>
    3434#include <iprt/string.h>
    35 #include <iprt/asm.h>
     35#include <iprt/asm-amd64-x86.h>
    3636#include <VBox/log.h>
    3737#ifdef IN_RING3
     
    435435
    436436    const void *pvSharedPage = NULL;
    437    
     437
    438438    if (PGM_PAGE_IS_SHARED(pPage))
    439439    {
     
    446446        STAM_COUNTER_INC(&pVM->pgm.s.CTX_MID_Z(Stat,PageReplaceShared));
    447447        pVM->pgm.s.cSharedPages--;
    448    
     448
    449449        /* Grab the address of the page so we can make a copy later on. */
    450450        rc = pgmPhysGCPhys2CCPtrInternalReadOnly(pVM, pPage, GCPhys, &pvSharedPage);
  • trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp

    r28862 r29250  
    3737#include <VBox/err.h>
    3838#include <iprt/asm.h>
     39#include <iprt/asm-amd64-x86.h>
    3940#include <iprt/string.h>
    4041
     
    374375                    pgmPoolTracDerefGCPhysHint(pPool, pPage,
    375376                                               uShw.pPTPae->a[iShw].u & X86_PTE_PAE_PG_MASK,
    376                                                GstPte.u & X86_PTE_PAE_PG_MASK, 
     377                                               GstPte.u & X86_PTE_PAE_PG_MASK,
    377378                                               iShw);
    378379                    ASMAtomicWriteSize(&uShw.pPTPae->a[iShw].u, 0);
  • trunk/src/VBox/VMM/VMMAll/REMAll.cpp

    r28800 r29250  
    2929#include <VBox/log.h>
    3030
     31#include <iprt/asm.h>
    3132#include <iprt/assert.h>
    3233
  • trunk/src/VBox/VMM/VMMAll/TMAll.cpp

    r28800 r29250  
    3636#include <iprt/assert.h>
    3737#include <iprt/asm.h>
     38#include <iprt/asm-math.h>
    3839#ifdef IN_RING3
    3940# include <iprt/thread.h>
  • trunk/src/VBox/VMM/VMMAll/TMAllCpu.cpp

    r28800 r29250  
    2222#define LOG_GROUP LOG_GROUP_TM
    2323#include <VBox/tm.h>
     24#include <iprt/asm-amd64-x86.h> /* for SUPGetCpuHzFromGIP */
    2425#include "../TMInternal.h"
    2526#include <VBox/vm.h>
     
    2829#include <VBox/param.h>
    2930#include <VBox/err.h>
     31#include <iprt/asm-math.h>
    3032#include <iprt/assert.h>
    31 #include <iprt/asm.h>
    3233#include <VBox/log.h>
    3334
  • trunk/src/VBox/VMM/VMMAll/TMAllVirtual.cpp

    r28800 r29250  
    3636#include <iprt/assert.h>
    3737#include <iprt/asm.h>
     38#include <iprt/asm-math.h>
    3839
    3940
  • trunk/src/VBox/VMM/VMMAll/TRPMAll.cpp

    r28800 r29250  
    3636#include <iprt/assert.h>
    3737#include <iprt/asm.h>
     38#include <iprt/asm-amd64-x86.h>
    3839#include <iprt/param.h>
    3940
  • trunk/src/VBox/VMM/VMMGC/TRPMGCHandlers.cpp

    r28800 r29250  
    4343#include <VBox/tm.h>
    4444#include <iprt/asm.h>
     45#include <iprt/asm-amd64-x86.h>
    4546#include <iprt/assert.h>
    4647
  • trunk/src/VBox/VMM/VMMGC/VMMGC.cpp

    r28800 r29250  
    2121*******************************************************************************/
    2222#define LOG_GROUP LOG_GROUP_VMM
     23#include <iprt/asm-amd64-x86.h> /* for SUPGetCpuHzFromGIP */
    2324#include <VBox/vmm.h>
    2425#include <VBox/trpm.h>
     
    2930#include <VBox/err.h>
    3031#include <VBox/log.h>
    31 #include <iprt/asm.h>
    3232#include <iprt/assert.h>
    3333#include <iprt/initterm.h>
  • trunk/src/VBox/VMM/VMMR0/CPUMR0.cpp

    r28800 r29250  
    2929#include <VBox/hwaccm.h>
    3030#include <iprt/assert.h>
    31 #include <iprt/asm.h>
     31#include <iprt/asm-amd64-x86.h>
    3232
    3333
  • trunk/src/VBox/VMM/VMMR0/GMMR0.cpp

    r29223 r29250  
    157157#include <VBox/param.h>
    158158#include <VBox/err.h>
     159#include <iprt/asm.h>
    159160#include <iprt/avl.h>
    160161#include <iprt/mem.h>
     
    38293830                        goto end;
    38303831                    }
    3831                    
     3832
    38323833                    /* Calculate the virtual address of the shared page. */
    38333834                    pChunk = gmmR0GetChunk(pGMM, pGlobalRegion->paHCPhysPageID[i] >> GMM_CHUNKID_SHIFT);
     
    39493950
    39503951    RTSemFastMutexRelease(pGMM->Mtx);
    3951     return rc;     
     3952    return rc;
    39523953#else
    39533954    return VERR_NOT_IMPLEMENTED;
  • trunk/src/VBox/VMM/VMMR0/GVMMR0.cpp

    r28800 r29250  
    4343#include <VBox/param.h>
    4444#include <VBox/err.h>
    45 #include <iprt/alloc.h>
     45#include <iprt/asm.h>
     46#include <iprt/asm-amd64-x86.h>
     47#include <iprt/mem.h>
    4648#include <iprt/semaphore.h>
    4749#include <iprt/time.h>
  • trunk/src/VBox/VMM/VMMR0/HWACCMR0.cpp

    r28800 r29250  
    3232#include <iprt/assert.h>
    3333#include <iprt/asm.h>
     34#include <iprt/asm-amd64-x86.h>
    3435#include <iprt/cpuset.h>
    3536#include <iprt/memobj.h>
  • trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp

    r28834 r29250  
    1515 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
    1616 */
    17 
    1817
    1918/*******************************************************************************
     
    3938#include <iprt/assert.h>
    4039#include <iprt/asm.h>
     40#include <iprt/asm-amd64-x86.h>
    4141#include <iprt/cpuset.h>
    4242#include <iprt/mp.h>
  • trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp

    r28800 r29250  
    3434#include <VBox/err.h>
    3535#include <VBox/log.h>
    36 #include <iprt/asm.h>
     36#include <iprt/asm-amd64-x86.h>
    3737#include <iprt/assert.h>
    3838#include <iprt/param.h>
  • trunk/src/VBox/VMM/VMMR0/TRPMR0.cpp

    r28800 r29250  
    2828#include <VBox/log.h>
    2929#include <iprt/assert.h>
    30 #include <iprt/asm.h>
     30#include <iprt/asm-amd64-x86.h>
    3131
    3232
  • trunk/src/VBox/VMM/VMMR0/VMMR0.cpp

    r29201 r29250  
    4040#include <VBox/log.h>
    4141
     42#include <iprt/asm-amd64-x86.h>
    4243#include <iprt/assert.h>
    4344#include <iprt/crc32.h>
  • trunk/src/VBox/VMM/VMMTests.cpp

    r28800 r29250  
    2222*******************************************************************************/
    2323#define LOG_GROUP LOG_GROUP_VMM
     24#include <iprt/asm-amd64-x86.h> /* for SUPGetCpuHzFromGIP */
    2425#include <VBox/vmm.h>
    2526#include <VBox/pdmapi.h>
  • trunk/src/VBox/VMM/testcase/tstMicroRC.cpp

    r28800 r29250  
    2525
    2626#include <VBox/err.h>
    27 #include <iprt/asm.h>
     27#include <iprt/asm-amd64-x86.h>
    2828#include <VBox/log.h>
    2929#include <iprt/assert.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