VirtualBox

Ignore:
Timestamp:
Jul 17, 2007 12:39:30 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
22950
Message:

RT_OS_* and RT_ARCH_* for Runtime/ and Support/

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c

    r3305 r3672  
    2929#include "r0drv/alloc-r0drv.h"
    3030
    31 #if defined(__AMD64__) || defined(__DOXYGEN__)
     31#if defined(RT_ARCH_AMD64) || defined(__DOXYGEN__)
    3232/**
    3333 * We need memory in the module range (~2GB to ~0) this can only be obtained
     
    112112    if (fFlags & RTMEMHDR_FLAG_EXEC)
    113113    {
    114 #if defined(__AMD64__)
     114#if defined(RT_ARCH_AMD64)
    115115# ifdef RTMEMALLOC_EXEC_HEAP
    116116        if (g_HeapExec != NIL_RTHEAPSIMPLE)
     
    227227    cPages = cb >> PAGE_SHIFT;
    228228    cOrder = CalcPowerOf2Order(cPages);
    229 #ifdef __AMD64__ /** @todo check out if there is a correct way of getting memory below 4GB (physically). */
     229#ifdef RT_ARCH_AMD64 /** @todo check out if there is a correct way of getting memory below 4GB (physically). */
    230230    paPages = alloc_pages(GFP_DMA, cOrder);
    231231#else
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