VirtualBox

Changeset 37055 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 12, 2011 3:16:56 PM (14 years ago)
Author:
vboxsync
Message:

threadpreempt-r0drv-darwin.cpp: g_aPreemptHacks is too small for snow leopard. Forget about saving heap, just do a full IPRT CPU set.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/darwin/threadpreempt-r0drv-darwin.cpp

    r37041 r37055  
    3737#endif
    3838#include <iprt/assert.h>
     39#include <iprt/cpuset.h>
    3940#include <iprt/err.h>
    4041#include <iprt/mp.h>
     
    5758*   Global Variables                                                           *
    5859*******************************************************************************/
    59 static RTDARWINPREEMPTHACK  g_aPreemptHacks[16]; /* see MAX_CPUS in i386/mp.h */
     60static RTDARWINPREEMPTHACK  g_aPreemptHacks[RTCPUSET_MAX_CPUS];
    6061
    6162
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