Changeset 3672 in vbox for trunk/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c
- Timestamp:
- Jul 17, 2007 12:39:30 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 22950
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c
r3305 r3672 29 29 #include "r0drv/alloc-r0drv.h" 30 30 31 #if defined( __AMD64__) || defined(__DOXYGEN__)31 #if defined(RT_ARCH_AMD64) || defined(__DOXYGEN__) 32 32 /** 33 33 * We need memory in the module range (~2GB to ~0) this can only be obtained … … 112 112 if (fFlags & RTMEMHDR_FLAG_EXEC) 113 113 { 114 #if defined( __AMD64__)114 #if defined(RT_ARCH_AMD64) 115 115 # ifdef RTMEMALLOC_EXEC_HEAP 116 116 if (g_HeapExec != NIL_RTHEAPSIMPLE) … … 227 227 cPages = cb >> PAGE_SHIFT; 228 228 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). */ 230 230 paPages = alloc_pages(GFP_DMA, cOrder); 231 231 #else
Note:
See TracChangeset
for help on using the changeset viewer.