Changeset 21337 in vbox for trunk/src/VBox/Runtime/r0drv/linux/mp-r0drv-linux.c
- Timestamp:
- Jul 7, 2009 2:58:27 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 49685
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/linux/mp-r0drv-linux.c
r19389 r21337 34 34 *******************************************************************************/ 35 35 #include "the-linux-kernel.h" 36 #include "internal/iprt.h" 36 37 37 38 #include <iprt/mp.h> … … 46 47 return smp_processor_id(); 47 48 } 49 RT_EXPORT_SYMBOL(RTMpCpuId); 48 50 49 51 … … 52 54 return idCpu < NR_CPUS ? (int)idCpu : -1; 53 55 } 56 RT_EXPORT_SYMBOL(RTMpCpuIdToSetIndex); 54 57 55 58 … … 58 61 return iCpu < NR_CPUS ? (RTCPUID)iCpu : NIL_RTCPUID; 59 62 } 63 RT_EXPORT_SYMBOL(RTMpCpuIdFromSetIndex); 60 64 61 65 … … 64 68 return NR_CPUS - 1; //??? 65 69 } 70 RT_EXPORT_SYMBOL(RTMpGetMaxCpuId); 66 71 67 72 … … 81 86 #endif 82 87 } 88 RT_EXPORT_SYMBOL(RTMpIsCpuPossible); 83 89 84 90 … … 96 102 return pSet; 97 103 } 104 RT_EXPORT_SYMBOL(RTMpGetSet); 98 105 99 106 … … 116 123 #endif 117 124 } 125 RT_EXPORT_SYMBOL(RTMpGetCount); 118 126 119 127 … … 132 140 #endif 133 141 } 142 RT_EXPORT_SYMBOL(RTMpIsCpuOnline); 134 143 135 144 … … 152 161 return pSet; 153 162 } 163 RT_EXPORT_SYMBOL(RTMpGetOnlineSet); 154 164 155 165 … … 168 178 #endif 169 179 } 180 RT_EXPORT_SYMBOL(RTMpGetOnlineCount); 170 181 171 182 … … 175 186 return false; 176 187 } 188 RT_EXPORT_SYMBOL(RTMpIsCpuWorkPending); 177 189 178 190 … … 222 234 return VINF_SUCCESS; 223 235 } 236 RT_EXPORT_SYMBOL(RTMpOnAll); 224 237 225 238 … … 250 263 return VINF_SUCCESS; 251 264 } 265 RT_EXPORT_SYMBOL(RTMpOnOthers); 252 266 253 267 … … 319 333 return rc; 320 334 } 335 RT_EXPORT_SYMBOL(RTMpOnSpecific); 321 336 322 337 … … 359 374 #endif /* older kernels */ 360 375 } 361 376 RT_EXPORT_SYMBOL(RTMpPokeCpu); 377
Note:
See TracChangeset
for help on using the changeset viewer.