Changeset 54280 in vbox
- Timestamp:
- Feb 18, 2015 7:58:17 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPDrv.c
r54275 r54280 4085 4085 */ 4086 4086 #ifdef RT_ARCH_X86 4087 uint16_t const cbIdt = sizeof(X86DESC64SYSTEM) ;4087 uint16_t const cbIdt = sizeof(X86DESC64SYSTEM) * 256; 4088 4088 #else 4089 uint16_t const cbIdt = sizeof(X86DESCGATE) ;4089 uint16_t const cbIdt = sizeof(X86DESCGATE) * 256; 4090 4090 #endif 4091 4091 RTIDTR Idtr; … … 4145 4145 */ 4146 4146 if (RT_UNLIKELY( iCpuSet < 0 4147 || iCpuSet >= RTCPUSET_MAX_CPUS4148 || iCpuSet >= RT_ELEMENTS(pGip->aiCpuFromCpuSetIdx)))4147 || (unsigned)iCpuSet >= RTCPUSET_MAX_CPUS 4148 || (unsigned)iCpuSet >= RT_ELEMENTS(pGip->aiCpuFromCpuSetIdx))) 4149 4149 { 4150 4150 ASMAtomicCmpXchgU32(&pState->idCpuProblem, idCpu, NIL_RTCPUID);
Note:
See TracChangeset
for help on using the changeset viewer.