summaryrefslogtreecommitdiff
path: root/src/VBox/Runtime/generic/mppresent-generic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/VBox/Runtime/generic/mppresent-generic.cpp')
-rw-r--r--src/VBox/Runtime/generic/mppresent-generic.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/VBox/Runtime/generic/mppresent-generic.cpp b/src/VBox/Runtime/generic/mppresent-generic.cpp
index 2d345f77..2915a656 100644
--- a/src/VBox/Runtime/generic/mppresent-generic.cpp
+++ b/src/VBox/Runtime/generic/mppresent-generic.cpp
@@ -4,7 +4,7 @@
*/
/*
- * Copyright (C) 2008 Oracle Corporation
+ * Copyright (C) 2008-2010 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
@@ -46,6 +46,13 @@ RTDECL(RTCPUID) RTMpGetPresentCount(void)
RT_EXPORT_SYMBOL(RTMpGetPresentCount);
+RTDECL(RTCPUID) RTMpGetPresentCoreCount(void)
+{
+ return RTMpGetCoreCount();
+}
+RT_EXPORT_SYMBOL(RTMpGetPresentCoreCount);
+
+
RTDECL(bool) RTMpIsCpuPresent(RTCPUID idCpu)
{
return RTMpIsCpuPossible(idCpu);