Changeset 36262 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Mar 11, 2011 2:50:45 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 70526
- Location:
- trunk/src/VBox/Runtime
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/time/timesupA.mac
r36254 r36262 97 97 ; pGipCpu = &pGip->aCPU[pGip->aiCpuFromApicId[u8ApicId]]; 98 98 shr ebx, 24 99 %ifdef SUP_WITH_LOTS_OF_CPUS100 99 movzx ebx, word [esi + ebx * 2 + SUPGLOBALINFOPAGE.aiCpuFromApicId] 101 %else102 and ebx, SUPGLOBALINFOPAGE_CPUS - 1103 %endif104 100 mov eax, SUPGIPCPU_size 105 101 mul ebx … … 523 519 ; pGipCpu = &pGip->aCPU[pGip->aiCpuFromApicId[u8ApicId]]; 524 520 shr ebx, 24 525 %ifdef SUP_WITH_LOTS_OF_CPUS526 521 movzx eax, word [pGip + rbx * 2 + SUPGLOBALINFOPAGE.aiCpuFromApicId] 527 %else528 mov eax, ebx529 and eax, SUPGLOBALINFOPAGE_CPUS - 1530 %endif531 522 imul eax, SUPGIPCPU_size 532 523 lea pGipCPU, [pGip + rax + SUPGLOBALINFOPAGE.aCPUs] -
trunk/src/VBox/Runtime/common/time/timesupref.h
r36254 r36262 64 64 #ifdef ASYNC_GIP 65 65 uint8_t u8ApicId = ASMGetApicId(); 66 # ifdef SUP_WITH_LOTS_OF_CPUS67 66 PSUPGIPCPU pGipCpu = &pGip->aCPUs[pGip->aiCpuFromApicId[u8ApicId]]; 68 # else69 PSUPGIPCPU pGipCpu = &pGip->aCPUs[u8ApicId & (SUPGLOBALINFOPAGE_CPUS - 1)];70 # endif71 67 #else 72 68 PSUPGIPCPU pGipCpu = &pGip->aCPUs[0]; -
trunk/src/VBox/Runtime/r0drv/nt/initterm-r0drv-nt.cpp
r36232 r36262 83 83 #endif 84 84 RTCpuSetEmpty(&g_rtMpNtCpuSet); 85 #ifdef RT_WITH_LOTS_OF_CPUS86 # error "port me"87 #endif88 85 RTCpuSetFromU64(&g_rtMpNtCpuSet, ActiveProcessors); 86 /** @todo Port to W2K8 with > 64 cpus/threads. */ 89 87 90 88 #ifdef IPRT_TARGET_NT4 -
trunk/src/VBox/Runtime/r3/win/mp-win.cpp
r36232 r36262 96 96 SYSTEM_INFO SysInfo; 97 97 GetSystemInfo(&SysInfo); 98 #ifdef RT_WITH_LOTS_OF_CPUS 99 # error "port me" 100 #endif 98 /** @todo port to W2K8 / W7 w/ > 64 CPUs & grouping. */ 101 99 return RTCpuSetFromU64(pSet, SysInfo.dwActiveProcessorMask); 102 100 }
Note:
See TracChangeset
for help on using the changeset viewer.