Changeset 50641 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Feb 27, 2014 8:21:45 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 92535
- Location:
- trunk/src/VBox/Runtime/generic
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/generic/RTMpGetDescription-generic-stub.cpp
r44529 r50641 5 5 6 6 /* 7 * Copyright (C) 2009-201 0Oracle Corporation7 * Copyright (C) 2009-2014 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 38 38 static const char s_szUnknown[] = "Unknown"; 39 39 40 if ( !RTMpIsCpuOnline(idCpu))40 if (idCpu != NIL_RTCPUID && !RTMpIsCpuOnline(idCpu)) 41 41 return RTMpIsCpuPossible(idCpu) 42 42 ? VERR_CPU_OFFLINE -
trunk/src/VBox/Runtime/generic/RTMpGetDescription-generic.cpp
r46633 r50641 5 5 6 6 /* 7 * Copyright (C) 2009-201 0Oracle Corporation7 * Copyright (C) 2009-2014 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 60 60 * Check that the specified cpu is valid & online. 61 61 */ 62 if ( !RTMpIsCpuOnline(idCpu))62 if (idCpu != NIL_RTCPUID && !RTMpIsCpuOnline(idCpu)) 63 63 return RTMpIsCpuPossible(idCpu) 64 64 ? VERR_CPU_OFFLINE
Note:
See TracChangeset
for help on using the changeset viewer.