Changeset 15843 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Jan 7, 2009 6:35:24 PM (16 years ago)
- Location:
- trunk/src/VBox/Runtime
- Files:
-
- 1 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/Makefile.kmk
r15798 r15843 1141 1141 os2/RTErrConvertFromOS2.cpp \ 1142 1142 os2/sys0.asm \ 1143 r0drv/generic/RTMpIsCpuWorkPending-r0drv-generic.cpp \ 1143 1144 r0drv/generic/RTMpOn-r0drv-generic.cpp \ 1144 1145 r0drv/generic/RTThreadPreemptIsEnabled-r0drv-generic.cpp \ … … 1192 1193 generic/RTTimerCreate-generic.cpp \ 1193 1194 generic/mppresent-generic.cpp \ 1195 r0drv/generic/RTMpIsCpuWorkPending-r0drv-generic.cpp \ 1194 1196 r0drv/generic/RTMpOn-r0drv-generic.cpp \ 1195 1197 r0drv/generic/RTThreadPreemptIsEnabled-r0drv-generic.cpp \ … … 1268 1270 generic/RTMpGetSet-generic.cpp \ 1269 1271 generic/RTMpIsCpuOnline-generic.cpp \ 1272 r0drv/generic/RTMpIsCpuWorkPending-r0drv-generic.cpp \ 1270 1273 r0drv/generic/RTMpOn-r0drv-generic.cpp 1271 1274 else … … 1313 1316 generic/RTLogWriteStdOut-stub-generic.cpp \ 1314 1317 generic/mppresent-generic.cpp \ 1318 r0drv/generic/RTMpIsCpuWorkPending-r0drv-generic.cpp \ 1315 1319 r0drv/generic/RTMpOn-r0drv-generic.cpp \ 1316 1320 r0drv/generic/mpnotification-r0drv-generic.cpp \ -
trunk/src/VBox/Runtime/r0drv/darwin/mp-r0drv-darwin.cpp
r15837 r15843 112 112 } 113 113 114 RTDECL(bool) RTMpIsCpuWorkPending()115 {116 /** @todo (not used on non-Windows platforms yet */117 return false;118 }119 120 114 121 115 RTDECL(PRTCPUSET) RTMpGetPresentSet(PRTCPUSET pSet) … … 148 142 /** @todo darwin R0 MP (rainy day) */ 149 143 return 0; 144 } 145 146 147 RTDECL(bool) RTMpIsCpuWorkPending(void) 148 { 149 /** @todo (not used on non-Windows platforms yet). */ 150 return false; 150 151 } 151 152 -
trunk/src/VBox/Runtime/r0drv/freebsd/mp-r0drv-darwin.cpp
r15837 r15843 46 46 } 47 47 48 RTDECL(bool) RTMpIsCpuWorkPending()49 {50 /** @todo (not used on non-Windows platforms yet */51 return false;52 }53 48 54 55 /** 56 * Wrapper between the native FreeBSD per-cpu callback and PFNRTWORKER 49 /** 50 * Wrapper between the native FreeBSD per-cpu callback and PFNRTWORKER 57 51 * for the RTMpOnAll API. 58 * 52 * 59 53 * @param pvArg Pointer to the RTMPARGS package. 60 54 */ … … 79 73 80 74 81 /** 82 * Wrapper between the native FreeBSD per-cpu callback and PFNRTWORKER 75 /** 76 * Wrapper between the native FreeBSD per-cpu callback and PFNRTWORKER 83 77 * for the RTMpOnOthers API. 84 * 78 * 85 79 * @param pvArg Pointer to the RTMPARGS package. 86 80 */ … … 108 102 109 103 110 /** 111 * Wrapper between the native FreeBSD per-cpu callback and PFNRTWORKER 104 /** 105 * Wrapper between the native FreeBSD per-cpu callback and PFNRTWORKER 112 106 * for the RTMpOnSpecific API. 113 * 107 * 114 108 * @param pvArg Pointer to the RTMPARGS package. 115 109 */ … … 136 130 Args.cHits = 0; 137 131 smp_rendezvous(NULL, rtmpOnSpecificFreeBSDWrapper, NULL, &Args); 138 return Args.cHits == 1 139 ? VINF_SUCCESS 132 return Args.cHits == 1 133 ? VINF_SUCCESS 140 134 : VERR_CPU_NOT_FOUND; 141 135 } -
trunk/src/VBox/Runtime/r0drv/linux/mp-r0drv-linux.c
r15837 r15843 133 133 } 134 134 135 RTDECL(bool) RTMpIsCpuWorkPending()136 {137 /** @todo (not used on non-Windows platforms yet */138 return false;139 }140 135 141 136 RTDECL(PRTCPUSET) RTMpGetOnlineSet(PRTCPUSET pSet) … … 172 167 return 1; 173 168 #endif 169 } 170 171 172 RTDECL(bool) RTMpIsCpuWorkPending(void) 173 { 174 /** @todo (not used on non-Windows platforms yet). */ 175 return false; 174 176 } 175 177 -
trunk/src/VBox/Runtime/r0drv/nt/mp-r0drv-nt.cpp
r15839 r15843 114 114 } 115 115 116 RTDECL(bool) RTMpIsCpuWorkPending() 116 117 /** @todo move down after RTMpGetOnlineCount. */ 118 RTDECL(bool) RTMpIsCpuWorkPending(void) 117 119 { 118 120 RTCPUID idCpuEntry = RTMpCpuId(); -
trunk/src/VBox/Runtime/r0drv/solaris/mp-r0drv-solaris.c
r15837 r15843 124 124 } 125 125 126 RTDECL(bool) RTMpIsCpuWorkPending() 127 { 128 /** @todo (not used on non-Windows platforms yet */ 126 127 RTDECL(bool) RTMpIsCpuWorkPending(void) 128 { 129 /** @todo (not used on non-Windows platforms yet). */ 129 130 return false; 130 131 }
Note:
See TracChangeset
for help on using the changeset viewer.