VirtualBox

Changeset 29250 in vbox for trunk/src


Ignore:
Timestamp:
May 9, 2010 5:53:58 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
61332
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
Files:
97 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest.cpp

    r29046 r29250  
    2828#include <iprt/memobj.h>
    2929#include <iprt/asm.h>
     30#include <iprt/asm-amd64-x86.h>
    3031#include <iprt/string.h>
    3132#include <iprt/process.h>
  • trunk/src/VBox/Additions/common/VBoxGuest/freebsd/files_vboxguest

    r29246 r29250  
    11#!/bin/sh
     2# $Id$
    23## @file
    34# Shared file between Makefile.kmk and export_modules
     
    56
    67#
    7 # Copyright (C) 2007-2009 Sun Microsystems, Inc.
     8# Copyright (C) 2007-2010 Sun Microsystems, Inc.
    89#
    910# This file is part of VirtualBox Open Source Edition (OSE), as
     
    2526    ${PATH_ROOT}/include/iprt/asm.h=>include/iprt/asm.h \
    2627    ${PATH_ROOT}/include/iprt/asm-amd64-x86.h=>include/iprt/asm-amd64-x86.h \
     28    ${PATH_ROOT}/include/iprt/asm-math.h=>include/iprt/asm-math.h \
    2729    ${PATH_ROOT}/include/iprt/assert.h=>include/iprt/assert.h \
    2830    ${PATH_ROOT}/include/iprt/avl.h=>include/iprt/avl.h \
  • trunk/src/VBox/Additions/common/VBoxGuest/linux/files_vboxguest

    r29246 r29250  
    11#!/bin/sh
     2# $Id: $
    23## @file
    34# Shared file between Makefile.kmk and export_modules
     
    56
    67#
    7 # Copyright (C) 2007-2009 Oracle Corporation
     8# Copyright (C) 2007-2010 Oracle Corporation
    89#
    910# This file is part of VirtualBox Open Source Edition (OSE), as
     
    2223    ${PATH_ROOT}/include/iprt/asm.h=>include/iprt/asm.h \
    2324    ${PATH_ROOT}/include/iprt/asm-amd64-x86.h=>include/iprt/asm-amd64-x86.h \
     25    ${PATH_ROOT}/include/iprt/asm-math.h=>include/iprt/asm-math.h \
    2426    ${PATH_ROOT}/include/iprt/assert.h=>include/iprt/assert.h \
    2527    ${PATH_ROOT}/include/iprt/avl.h=>include/iprt/avl.h \
  • trunk/src/VBox/Additions/common/VBoxGuestLib/GenericRequest.cpp

    r28800 r29250  
    2727#include "VBGLInternal.h"
    2828#include <iprt/asm.h>
     29#include <iprt/asm-amd64-x86.h>
    2930#include <iprt/assert.h>
    3031#include <iprt/string.h>
  • trunk/src/VBox/Additions/freebsd/drm/files_vboxvideo_drm

    r25590 r29250  
    11#!/bin/sh
    2 #
     2# $Id$
     3## @file
    34# Shared file between Makefile.kmk and export_modules
    45#
    5 # Copyright (C) 2007 Sun Microsystems, Inc.
     6
     7#
     8# Copyright (C) 2007-2010 Oracle Corporation
    69#
    710# This file is part of VirtualBox Open Source Edition (OSE), as
     
    1316# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
    1417#
    15 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
    16 # Clara, CA 95054 USA or visit http://www.sun.com if you need
    17 # additional information or have any questions.
    18 #
    1918
    2019FILES_VBOXVIDEO_DRM_NOBIN=" \
  • trunk/src/VBox/Additions/linux/drm/files_vboxvideo_drm

    r28800 r29250  
    11#!/bin/sh
    2 #
     2# $Id$
     3## @file
    34# Shared file between Makefile.kmk and export_modules
    45#
    5 # Copyright (C) 2007 Oracle Corporation
     6
     7#
     8# Copyright (C) 2007-2010 Oracle Corporation
    69#
    710# This file is part of VirtualBox Open Source Edition (OSE), as
  • trunk/src/VBox/Additions/linux/sharedfolders/files_vboxsf

    r29246 r29250  
    11#!/bin/sh
     2# $Id: $
    23## @file
    34# Shared file between Makefile.kmk and export_modules
     
    56
    67#
    7 # Copyright (C) 2007 Oracle Corporation
     8# Copyright (C) 2007-2010 Oracle Corporation
    89#
    910# This file is part of VirtualBox Open Source Edition (OSE), as
     
    2122    ${PATH_ROOT}/include/iprt/asm.h=>include/iprt/asm.h \
    2223    ${PATH_ROOT}/include/iprt/asm-amd64-x86.h=>include/iprt/asm-amd64-x86.h \
     24    ${PATH_ROOT}/include/iprt/asm-math.h=>include/iprt/asm-math.h \
    2325    ${PATH_ROOT}/include/iprt/assert.h=>include/iprt/assert.h \
    2426    ${PATH_ROOT}/include/iprt/cdefs.h=>include/iprt/cdefs.h \
  • trunk/src/VBox/Devices/Audio/audio.c

    r26312 r29250  
    2828
    2929#include <VBox/log.h>
     30#include <iprt/asm-math.h>
    3031#include <iprt/assert.h>
    3132#include <iprt/uuid.h>
  • trunk/src/VBox/Devices/Audio/mixeng.c

    r6521 r29250  
    2727#include "../../vl_vbox.h"
    2828#include "audio.h"
    29 #include <iprt/alloc.h>
    3029#ifdef VBOX
    31 #include <iprt/asm.h>
     30# include <iprt/asm-math.h>
     31# include <iprt/mem.h>
    3232#endif
    3333
  • trunk/src/VBox/Devices/Bus/DevPCI.cpp

    r28800 r29250  
    4949#include <VBox/pci.h>
    5050#include <VBox/pdmdev.h>
     51#include <iprt/asm.h>
    5152#include <iprt/assert.h>
    5253#include <iprt/string.h>
  • trunk/src/VBox/Devices/EFI/DevEFI.cpp

    r28800 r29250  
    2929#include <VBox/dbgf.h>
    3030
     31#include <iprt/asm.h>
    3132#include <iprt/assert.h>
    32 #include <iprt/alloc.h>
    3333#include <iprt/file.h>
     34#include <iprt/mem.h>
    3435#include <iprt/string.h>
    3536#include <iprt/uuid.h>
  • trunk/src/VBox/Devices/Network/DevVirtioNet.cpp

    r28800 r29250  
    2222#include <VBox/pdmdev.h>
    2323#include <VBox/pdmnetifs.h>
     24#include <iprt/asm.h>
    2425#include <iprt/semaphore.h>
    2526#ifdef IN_RING3
  • trunk/src/VBox/Devices/PC/DevACPI.cpp

    r28800 r29250  
    2626#include <iprt/assert.h>
    2727#include <iprt/asm.h>
     28#include <iprt/asm-math.h>
    2829#ifdef IN_RING3
    2930# include <iprt/alloc.h>
  • trunk/src/VBox/Devices/PC/DevFwCommon.cpp

    r28800 r29250  
    2626#include <VBox/param.h>
    2727
     28#include <iprt/asm.h>
    2829#include <iprt/assert.h>
    2930#include <iprt/buildconfig.h>
  • trunk/src/VBox/Devices/PC/DevHPET.cpp

    r28800 r29250  
    33 * HPET virtual device - high precision event timer emulation
    44 */
     5
    56/*
    67 * Copyright (C) 2009-2010 Oracle Corporation
     
    1415 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
    1516 */
     17
    1618/*******************************************************************************
    1719*   Header Files                                                               *
     
    2224#include <VBox/stam.h>
    2325#include <iprt/assert.h>
     26#include <iprt/asm-math.h>
    2427#include <iprt/string.h>
    25 #include <iprt/asm.h>
    2628
    2729#include "../Builtins.h"
    2830
    2931
     32/*******************************************************************************
     33*   Defined Constants And Macros                                               *
     34*******************************************************************************/
    3035/*
    3136 * Current limitations:
     
    103108#define HPET_SAVED_STATE_VERSION_EMPTY 1
    104109
     110
     111/*******************************************************************************
     112*   Structures and Typedefs                                                    *
     113*******************************************************************************/
    105114struct HpetState;
    106115typedef struct HpetTimer
  • trunk/src/VBox/Devices/PC/DevPcBios.cpp

    r28800 r29250  
    2525
    2626#include <VBox/log.h>
     27#include <iprt/asm.h>
    2728#include <iprt/assert.h>
    28 #include <iprt/alloc.h>
    2929#include <iprt/buildconfig.h>
    3030#include <iprt/file.h>
     31#include <iprt/mem.h>
    3132#include <iprt/string.h>
    3233#include <iprt/uuid.h>
  • trunk/src/VBox/Devices/PC/DevPit-i8254.cpp

    r28800 r29250  
    4949#include <VBox/stam.h>
    5050#include <iprt/assert.h>
    51 #include <iprt/asm.h>
     51#include <iprt/asm-math.h>
    5252
    5353#ifdef IN_RING3
  • trunk/src/VBox/Devices/PC/DevRTC.cpp

    r28800 r29250  
    4747#include <VBox/pdmdev.h>
    4848#include <VBox/log.h>
    49 #include <iprt/asm.h>
     49#include <iprt/asm-math.h>
    5050#include <iprt/assert.h>
    5151#include <iprt/string.h>
  • trunk/src/VBox/Devices/PC/DrvACPI.cpp

    r28800 r29250  
    2727#include <VBox/pdmdrv.h>
    2828#include <VBox/log.h>
     29#include <iprt/asm.h>
    2930#include <iprt/assert.h>
    3031#include <iprt/string.h>
  • trunk/src/VBox/Devices/Storage/DevBusLogic.cpp

    r28800 r29250  
    2626#include <VBox/pdmifs.h>
    2727#include <VBox/scsi.h>
     28#include <iprt/asm.h>
    2829#include <iprt/assert.h>
    2930#include <iprt/string.h>
  • trunk/src/VBox/Devices/Storage/DrvHostDVD.cpp

    r28800 r29250  
    9292
    9393#include <VBox/pdmdrv.h>
     94#include <iprt/asm.h>
    9495#include <iprt/assert.h>
    9596#include <iprt/file.h>
  • trunk/src/VBox/Devices/Storage/DrvSCSI.cpp

    r29213 r29250  
    2525#include <VBox/pdmthread.h>
    2626#include <VBox/vscsi.h>
     27#include <iprt/asm.h>
    2728#include <iprt/assert.h>
    2829#include <iprt/mem.h>
  • trunk/src/VBox/Devices/Storage/VHDHDDCore.cpp

    r29238 r29250  
     1/* $Id$ */
    12/** @file
    23 * VHD Disk image, Core Code.
     
    2425#include <VBox/log.h>
    2526#include <VBox/version.h>
    26 #include <iprt/cdefs.h>
     27#include <iprt/asm.h>
    2728#include <iprt/assert.h>
    28 #include <iprt/alloc.h>
     29#include <iprt/mem.h>
    2930#include <iprt/uuid.h>
    3031#include <iprt/file.h>
  • trunk/src/VBox/Devices/Storage/testcase/tstVD.cpp

    r28800 r29250  
     1/* $Id$ */
    12/** @file
    2  *
    33 * Simple VBox HDD container test utility.
    44 */
     
    1616 */
    1717
     18/*******************************************************************************
     19*   Header Files                                                               *
     20*******************************************************************************/
    1821#include <VBox/VBoxHDD.h>
    1922#include <VBox/err.h>
    2023#include <VBox/log.h>
    21 #include <iprt/asm.h>
     24#include <iprt/asm-amd64-x86.h>
    2225#include <iprt/dir.h>
    2326#include <iprt/string.h>
  • trunk/src/VBox/Devices/USB/DevOHCI.cpp

    r28800 r29250  
    9090#include <iprt/string.h>
    9191#include <iprt/asm.h>
     92#include <iprt/asm-math.h>
    9293#ifdef IN_RING3
    9394# include <iprt/alloca.h>
  • trunk/src/VBox/Devices/VMMDev/VMMDev.cpp

    r28800 r29250  
    3232#include <VBox/vm.h> /* for VM_IS_EMT */
    3333
     34#include <iprt/asm.h>
    3435#include <iprt/assert.h>
    3536#include <iprt/buildconfig.h>
  • trunk/src/VBox/HostDrivers/Support/SUPDrv.c

    r28906 r29250  
    3434# include <iprt/param.h>
    3535#endif
    36 #include <iprt/alloc.h>
     36#include <iprt/asm.h>
     37#include <iprt/asm-amd64-x86.h>
     38#include <iprt/asm-math.h>
    3739#include <iprt/cpuset.h>
    3840#include <iprt/handletable.h>
     41#include <iprt/mem.h>
    3942#include <iprt/mp.h>
    4043#include <iprt/power.h>
  • trunk/src/VBox/HostDrivers/Support/SUPDrvInternal.h

    r28800 r29250  
    3535#include <VBox/types.h>
    3636#include <iprt/assert.h>
    37 #include <iprt/asm.h>
    3837#include <VBox/sup.h>
    3938#include <iprt/memobj.h>
  • trunk/src/VBox/HostDrivers/Support/SUPR3HardenedVerify.cpp

    r28800 r29250  
    6565#include <VBox/sup.h>
    6666#include <VBox/err.h>
     67#include <iprt/asm.h>
    6768#include <iprt/string.h>
    6869#include <iprt/param.h>
  • trunk/src/VBox/HostDrivers/Support/freebsd/files_vboxdrv

    r29246 r29250  
    11#!/bin/sh
    2 #
     2# $Id$
     3## @file
    34# Shared file between Makefile.kmk and export_modules
    45#
    5 # Copyright (C) 2007 Sun Microsystems, Inc.
     6
     7#
     8# Copyright (C) 2007-2010 Oracle Corporation
    69#
    710# This file is part of VirtualBox Open Source Edition (OSE), as
     
    2225# terms and conditions of either the GPL or the CDDL or both.
    2326#
    24 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
    25 # Clara, CA 95054 USA or visit http://www.sun.com if you need
    26 # additional information or have any questions.
    27 #
    2827
    2928FILES_VBOXDRV_NOBIN=" \
     
    3231    ${PATH_ROOT}/include/iprt/asm.h=>include/iprt/asm.h \
    3332    ${PATH_ROOT}/include/iprt/asm-amd64-x86.h=>include/iprt/asm-amd64-x86.h \
     33    ${PATH_ROOT}/include/iprt/asm-math.h=>include/iprt/asm-math.h \
    3434    ${PATH_ROOT}/include/iprt/assert.h=>include/iprt/assert.h \
    3535    ${PATH_ROOT}/include/iprt/avl.h=>include/iprt/avl.h \
  • trunk/src/VBox/HostDrivers/Support/linux/files_vboxdrv

    r29246 r29250  
    11#!/bin/sh
    2 #
     2# $Id$
     3## @file
    34# Shared file between Makefile.kmk and export_modules
    45#
    5 # Copyright (C) 2007 Oracle Corporation
     6
     7#
     8# Copyright (C) 2007-2010 Oracle Corporation
    69#
    710# This file is part of VirtualBox Open Source Edition (OSE), as
     
    2730    ${PATH_ROOT}/include/iprt/asm.h=>include/iprt/asm.h \
    2831    ${PATH_ROOT}/include/iprt/asm-amd64-x86.h=>include/iprt/asm-amd64-x86.h \
     32    ${PATH_ROOT}/include/iprt/asm-math.h=>include/iprt/asm-math.h \
    2933    ${PATH_ROOT}/include/iprt/assert.h=>include/iprt/assert.h \
    3034    ${PATH_ROOT}/include/iprt/avl.h=>include/iprt/avl.h \
  • trunk/src/VBox/HostDrivers/Support/testcase/tstInt.cpp

    r28800 r29250  
    3434#include <VBox/err.h>
    3535#include <VBox/param.h>
     36#include <iprt/asm-amd64-x86.h>
    3637#include <iprt/initterm.h>
    3738#include <iprt/stream.h>
  • trunk/src/VBox/HostDrivers/VBoxNetAdp/freebsd/files_vboxnetadp

    r29246 r29250  
    66
    77#
    8 # Copyright (C) 2007 Sun Microsystems, Inc.
     8# Copyright (C) 2007-2010 Oracle Corporation
    99#
    1010# This file is part of VirtualBox Open Source Edition (OSE), as
     
    2525# terms and conditions of either the GPL or the CDDL or both.
    2626#
    27 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
    28 # Clara, CA 95054 USA or visit http://www.sun.com if you need
    29 # additional information or have any questions.
    30 #
     27
    3128
    3229VBOX_VBOXNETADP_SOURCES=" \
     
    3532    ${PATH_ROOT}/include/iprt/asm.h=>include/iprt/asm.h \
    3633    ${PATH_ROOT}/include/iprt/asm-amd64-x86.h=>include/iprt/asm-amd64-x86.h \
     34    ${PATH_ROOT}/include/iprt/asm-math.h=>include/iprt/asm-math.h \
    3735    ${PATH_ROOT}/include/iprt/assert.h=>include/iprt/assert.h \
    3836    ${PATH_ROOT}/include/iprt/avl.h=>include/iprt/avl.h \
  • trunk/src/VBox/HostDrivers/VBoxNetAdp/linux/files_vboxnetadp

    r29246 r29250  
    66
    77#
    8 # Copyright (C) 2009 Oracle Corporation
     8# Copyright (C) 2009-2010 Oracle Corporation
    99#
    1010# This file is part of VirtualBox Open Source Edition (OSE), as
     
    2222    ${PATH_ROOT}/include/iprt/asm.h=>include/iprt/asm.h \
    2323    ${PATH_ROOT}/include/iprt/asm-amd64-x86.h=>include/iprt/asm-amd64-x86.h \
     24    ${PATH_ROOT}/include/iprt/asm-math.h=>include/iprt/asm-math.h \
    2425    ${PATH_ROOT}/include/iprt/assert.h=>include/iprt/assert.h \
    2526    ${PATH_ROOT}/include/iprt/avl.h=>include/iprt/avl.h \
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/freebsd/files_vboxnetflt

    r29246 r29250  
    66
    77#
    8 # Copyright (C) 2007 Sun Microsystems, Inc.
     8# Copyright (C) 2007-2010 Oracle Corporation
    99#
    1010# This file is part of VirtualBox Open Source Edition (OSE), as
     
    2525# terms and conditions of either the GPL or the CDDL or both.
    2626#
    27 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
    28 # Clara, CA 95054 USA or visit http://www.sun.com if you need
    29 # additional information or have any questions.
    30 #
    3127
    3228VBOX_VBOXNETFLT_SOURCES=" \
     
    3531    ${PATH_ROOT}/include/iprt/asm.h=>include/iprt/asm.h \
    3632    ${PATH_ROOT}/include/iprt/asm-amd64-x86.h=>include/iprt/asm-amd64-x86.h \
     33    ${PATH_ROOT}/include/iprt/asm-math.h=>include/iprt/asm-math.h \
    3734    ${PATH_ROOT}/include/iprt/assert.h=>include/iprt/assert.h \
    3835    ${PATH_ROOT}/include/iprt/avl.h=>include/iprt/avl.h \
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/files_vboxnetflt

    r29246 r29250  
    66
    77#
    8 # Copyright (C) 2007 Oracle Corporation
     8# Copyright (C) 2007-2010 Oracle Corporation
    99#
    1010# This file is part of VirtualBox Open Source Edition (OSE), as
     
    2222    ${PATH_ROOT}/include/iprt/asm.h=>include/iprt/asm.h \
    2323    ${PATH_ROOT}/include/iprt/asm-amd64-x86.h=>include/iprt/asm-amd64-x86.h \
     24    ${PATH_ROOT}/include/iprt/asm-math.h=>include/iprt/asm-math.h \
    2425    ${PATH_ROOT}/include/iprt/assert.h=>include/iprt/assert.h \
    2526    ${PATH_ROOT}/include/iprt/avl.h=>include/iprt/avl.h \
  • trunk/src/VBox/Main/ConsoleImplTeleporter.cpp

    r28965 r29250  
    2727#include "Logging.h"
    2828
     29#include <iprt/asm.h>
    2930#include <iprt/err.h>
    3031#include <iprt/rand.h>
  • trunk/src/VBox/Main/HostImpl.cpp

    r28924 r29250  
    106106#endif /* VBOX_WITH_CROGL */
    107107
    108 #include <iprt/asm.h>
     108#include <iprt/asm-amd64-x86.h>
    109109#include <iprt/string.h>
    110110#include <iprt/mp.h>
     
    119119#endif
    120120#ifdef VBOX_WITH_HOSTNETIF_API
    121 #include "netif.h"
     121# include "netif.h"
    122122#endif
    123123
  • trunk/src/VBox/Main/include/VMMDev.h

    r28800 r29250  
    2020#include "VirtualBoxBase.h"
    2121#include <VBox/pdmdrv.h>
     22#include <iprt/asm.h>
    2223
    2324class Console;
     
    6667
    6768#ifdef VBOX_WITH_HGCM
    68     bool m_fHGCMActive;
     69    bool volatile m_fHGCMActive;
    6970#endif /* VBOX_WITH_HGCM */
    7071};
    7172
    72 #endif // ____H_VMMDEV
     73#endif // !____H_VMMDEV
    7374/* vi: set tabstop=4 shiftwidth=4 expandtab: */
  • trunk/src/VBox/Main/include/netif.h

    r28800 r29250  
    2121#include <iprt/types.h>
    2222#include <iprt/net.h>
     23/** @todo r=bird: The inlined code below that drags in asm.h here. I doubt
     24 *        speed is very important here, so move it into a .cpp file, please. */
    2325#include <iprt/asm.h>
    2426
    2527#ifndef RT_OS_WINDOWS
    26 #include <arpa/inet.h>
    27 #include <stdio.h>
    28 #endif /* RT_OS_WINDOWS */
     28# include <arpa/inet.h>
     29# include <stdio.h>
     30#endif /* !RT_OS_WINDOWS */
    2931
    3032#define VBOXNET_IPV4ADDR_DEFAULT      0x0138A8C0  /* 192.168.56.1 */
     
    158160}
    159161
    160 #endif  /* ___netif_h */
     162#endif  /* !___netif_h */
    161163/* vi: set tabstop=4 shiftwidth=4 expandtab: */
  • trunk/src/VBox/Runtime/VBox/logbackdoor.cpp

    r28800 r29250  
    3030#include <VBox/log.h>
    3131#include "internal/iprt.h"
    32 #include <iprt/asm.h>
     32#include <iprt/asm-amd64-x86.h>
    3333#include <iprt/string.h>
    3434#ifdef IN_GUEST_R3
  • trunk/src/VBox/Runtime/common/log/log.cpp

    r28800 r29250  
    4747#include <iprt/time.h>
    4848#include <iprt/asm.h>
     49#if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86)
     50# include <iprt/asm-amd64-x86.h>
     51#endif
    4952#include <iprt/assert.h>
    5053#include <iprt/err.h>
  • trunk/src/VBox/Runtime/common/log/logcom.cpp

    r28800 r29250  
    4949
    5050#include <iprt/asm.h>
     51#include <iprt/asm-amd64-x86.h>
    5152#include <iprt/stdarg.h>
    5253#include <iprt/string.h>
  • trunk/src/VBox/Runtime/common/rand/rand.cpp

    r28800 r29250  
    3333
    3434#include <iprt/time.h>
    35 #include <iprt/asm.h>
     35#if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86)
     36# include <iprt/asm-amd64-x86.h>
     37#endif
    3638#include <iprt/err.h>
    3739#include <iprt/assert.h>
     
    6870    if (RT_SUCCESS(rc))
    6971    {
     72#if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86)
    7073        RTRandAdvSeed(hRand, ASMReadTSC() >> 8);
     74#else
     75        RTRandAdvSeed(hRand, RTTimeNanoTS() >> 8);
     76#endif
    7177        g_hRand = hRand;
    7278    }
  • trunk/src/VBox/Runtime/common/rand/randparkmiller.cpp

    r28800 r29250  
    3131#include "internal/iprt.h"
    3232
    33 #include <iprt/asm.h>
     33#include <iprt/asm-math.h>
    3434#include <iprt/mem.h>
    3535#include <iprt/string.h>
  • trunk/src/VBox/Runtime/common/time/timesup.cpp

    r28800 r29250  
    3333#include "internal/iprt.h"
    3434
    35 #include <iprt/asm.h>
    3635#include <iprt/assert.h>
    3736#include <iprt/err.h>
    3837#include <iprt/log.h>
    3938#ifndef IN_GUEST
     39# include <iprt/asm.h>
     40# include <iprt/asm-amd64-x86.h>
    4041# include <VBox/sup.h>
    4142# include <VBox/x86.h>
  • trunk/src/VBox/Runtime/common/time/timesupref.cpp

    r28800 r29250  
    3434
    3535#include <iprt/asm.h>
     36#include <iprt/asm-math.h>
     37#include <iprt/asm-amd64-x86.h>
    3638#include <VBox/sup.h>
    3739#include "internal/time.h"
  • trunk/src/VBox/Runtime/generic/spinlock-generic.cpp

    r28800 r29250  
    4343#include <iprt/alloc.h>
    4444#include <iprt/asm.h>
     45#include <iprt/asm-amd64-x86.h>
    4546#include <iprt/err.h>
    4647#include <iprt/assert.h>
  • trunk/src/VBox/Runtime/include/internal/alignmentchecks.h

    r28800 r29250  
    4949 */
    5050
    51 #ifdef IPRT_WITH_ALIGNMENT_CHECKS
    52 # include <iprt/asm.h>
     51#if defined(IPRT_WITH_ALIGNMENT_CHECKS) \
     52 && (   defined(RT_ARCH_AMD64) \
     53     || defined(RT_ARCH_X86) )
     54# include <iprt/asm-amd64-x86.h>
    5355
    5456RT_C_DECLS_BEGIN
  • trunk/src/VBox/Runtime/include/internal/iprt.h

    r28800 r29250  
    170170 * Asserts that interrupts are disabled when RT_MORE_STRICT is defined.   */
    171171#ifdef RT_MORE_STRICT
    172 # define RT_ASSERT_INTS_ON()            Assert(ASMIntAreEnabled())
     172# if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86)
     173#  define RT_ASSERT_INTS_ON()           Assert(ASMIntAreEnabled())
     174# else /* PORTME: Add architecture/platform specific test. */
     175#  define RT_ASSERT_INTS_ON()           Assert(RTThreadPreemptIsEnabled(NIL_RTTHREAD))
     176# endif
    173177#else
    174178# define RT_ASSERT_INTS_ON()            do { } while (0)
  • trunk/src/VBox/Runtime/r0drv/alloc-r0drv.cpp

    r28800 r29250  
    3232#include "internal/iprt.h"
    3333
    34 #include <iprt/asm.h>
     34#if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86)
     35# include <iprt/asm-amd64-x86.h>
     36#endif
    3537#include <iprt/assert.h>
    3638#include <iprt/param.h>
  • trunk/src/VBox/Runtime/r0drv/generic/semspinmutex-r0drv-generic.c

    r28800 r29250  
    3636#include <iprt/semaphore.h>
    3737#include <iprt/asm.h>
     38#include <iprt/asm-amd64-x86.h>
    3839#include <iprt/assert.h>
    3940#include <iprt/err.h>
  • trunk/src/VBox/Runtime/r0drv/linux/spinlock-r0drv-linux.c

    r28800 r29250  
    3333#include <iprt/spinlock.h>
    3434
     35#include <iprt/asm.h>
     36#if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86)
     37# include <iprt/asm-amd64-x86.h>
     38#endif
    3539#include <iprt/assert.h>
    36 #include <iprt/asm.h>
    3740#include <iprt/err.h>
    3841#include <iprt/mem.h>
  • trunk/src/VBox/Runtime/r0drv/mpnotification-r0drv.c

    r28800 r29250  
    55
    66/*
    7  * Copyright (C) 2008 Oracle Corporation
     7 * Copyright (C) 2008-2010 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    3333
    3434#include <iprt/asm.h>
     35#if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86)
     36# include <iprt/asm-amd64-x86.h>
     37#endif
    3538#include <iprt/assert.h>
    3639#include <iprt/err.h>
  • trunk/src/VBox/Runtime/r0drv/powernotification-r0drv.c

    r28800 r29250  
    3333
    3434#include <iprt/asm.h>
     35#if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86)
     36# include <iprt/asm-amd64-x86.h>
     37#endif
    3538#include <iprt/assert.h>
    3639#include <iprt/err.h>
  • trunk/src/VBox/Runtime/r3/posix/thread-posix.cpp

    r28800 r29250  
    4545#include <iprt/assert.h>
    4646#include <iprt/asm.h>
     47#if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86)
     48# include <iprt/asm-amd64-x86.h>
     49#endif
    4750#include <iprt/err.h>
    4851#include <iprt/string.h>
     
    329332RTDECL(bool) RTThreadYield(void)
    330333{
     334#if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86)
    331335    uint64_t u64TS = ASMReadTSC();
     336#endif
    332337#ifdef RT_OS_DARWIN
    333338    pthread_yield_np();
     
    337342    pthread_yield();
    338343#endif
     344#if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86)
    339345    u64TS = ASMReadTSC() - u64TS;
    340346    bool fRc = u64TS > 1500;
    341347    LogFlow(("RTThreadYield: returning %d (%llu ticks)\n", fRc, u64TS));
     348#else
     349    bool fRc = true; /* PORTME: Add heuristics for determining whether the cpus was yielded. */
     350#endif
    342351    return fRc;
    343352}
  • trunk/src/VBox/Runtime/testcase/tstInlineAsm.cpp

    r28800 r29250  
    2929*******************************************************************************/
    3030#include <iprt/asm.h>
     31#include <iprt/asm-math.h>
     32#if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86)
     33# include <iprt/asm-amd64-x86.h>
     34#endif
    3135#include <iprt/stream.h>
    3236#include <iprt/string.h>
     
    6367
    6468
    65 #if !defined(PIC) || !defined(RT_ARCH_X86)
     69#if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86)
     70
    6671const char *getCacheAss(unsigned u)
    6772{
     
    430435     }
    431436}
    432 #endif /* !PIC || !X86 */
    433 
     437
     438#endif /* AMD64 || X86 */
    434439
    435440static void tstASMAtomicXchgU8(void)
     
    11781183    RTPrintf("tstInlineASM: Benchmarking:\n");
    11791184
    1180 #define BENCH(op, str)  \
     1185#if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86)
     1186# define BENCH(op, str) \
     1187    do { \
    11811188        RTThreadYield(); \
    11821189        u64Elapsed = ASMReadTSC(); \
     
    11841191            op; \
    11851192        u64Elapsed = ASMReadTSC() - u64Elapsed; \
    1186         RTPrintf(" %-30s %3llu cycles\n", str, u64Elapsed / cRounds);
     1193        RTPrintf(" %-30s %3llu cycles\n", str, u64Elapsed / cRounds); \
     1194    } while (0)
     1195#else
     1196# define BENCH(op, str) \
     1197    do { \
     1198        RTThreadYield(); \
     1199        u64Elapsed = RTTimeNanoTS(); \
     1200        for (i = cRounds; i > 0; i--) \
     1201            op; \
     1202        u64Elapsed = RTTimeNanoTS() - u64Elapsed; \
     1203        RTPrintf(" %-30s %3llu ns\n", str, u64Elapsed / cRounds); \
     1204    } while (0)
     1205#endif
    11871206
    11881207    BENCH(s_u32 = 0,                            "s_u32 = 0:");
     
    12591278     * Execute the tests.
    12601279     */
    1261 #if !defined(PIC) || !defined(RT_ARCH_X86)
     1280#if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86)
    12621281    tstASMCpuId();
    12631282#endif
  • trunk/src/VBox/Runtime/testcase/tstPrfRT.cpp

    r28800 r29250  
    3333#include <iprt/stream.h>
    3434#include <iprt/thread.h>
    35 #include <iprt/asm.h>
     35#if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86)
     36# include <iprt/asm-amd64-x86.h>
    3637
    3738
     
    4243}
    4344
    44 #define ITERATE(preexpr, expr, postexpr, cIterations) \
     45# define ITERATE(preexpr, expr, postexpr, cIterations) \
    4546    for (i = 0, u64TotalTS = 0, u64MinTS = ~0, u64MaxTS = 0; i < (cIterations); i++) \
    4647    { \
     
    6162        u64TotalTS += u64ElapsedTS; \
    6263    }
     64
     65#else  /* !AMD64 && !X86 */
     66
     67void PrintResult(uint64_t cNs, uint64_t cNsMax, uint64_t cNsMin, unsigned cTimes, const char *pszOperation)
     68{
     69    RTPrintf("tstPrfRT: %-32s %5lld / %5lld / %5lld ns per call (%u calls %lld ns)\n",
     70             pszOperation, cNsMin, cNs / (uint64_t)cTimes, cNsMax, cTimes, cNs);
     71}
     72
     73# define ITERATE(preexpr, expr, postexpr, cIterations) \
     74    for (i = 0, u64TotalTS = 0, u64MinTS = ~0, u64MaxTS = 0; i < (cIterations); i++) \
     75    { \
     76        { preexpr } \
     77        uint64_t u64StartTS = RTTimeNanoTS(); \
     78        { expr } \
     79        uint64_t u64ElapsedTS = RTTimeNanoTS() - u64StartTS; \
     80        { postexpr } \
     81        if (u64ElapsedTS > u64MinTS * 32) \
     82        { \
     83            i--; \
     84            continue; \
     85        } \
     86        if (u64ElapsedTS < u64MinTS) \
     87            u64MinTS = u64ElapsedTS; \
     88        if (u64ElapsedTS > u64MaxTS) \
     89            u64MaxTS = u64ElapsedTS; \
     90        u64TotalTS += u64ElapsedTS; \
     91    }
     92
     93#endif /* !AMD64 && !X86 */
     94
    6395
    6496int main()
  • trunk/src/VBox/Runtime/testcase/tstR0ThreadPreemption.cpp

    r28800 r29250  
    3030#include <iprt/thread.h>
    3131
     32#include <iprt/asm-amd64-x86.h>
    3233#include <iprt/err.h>
    3334#include <iprt/time.h>
  • trunk/src/VBox/Runtime/testcase/tstTSC.cpp

    r28800 r29250  
    2828*   Header Files                                                               *
    2929*******************************************************************************/
     30#include <iprt/asm-amd64-x86.h>
    3031#include <iprt/asm.h>
    3132#include <iprt/getopt.h>
  • 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>
  • trunk/src/recompiler/cpu-all.h

    r18662 r29250  
    13491349
    13501350#ifdef VBOX
     1351# include <iprt/asm-amd64-x86.h>
    13511352
    13521353DECLINLINE(int64_t) cpu_get_real_ticks(void)
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