Changeset 13271 in vbox for trunk/src/VBox/HostDrivers/Support
- Timestamp:
- Oct 15, 2008 12:18:57 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPDrv.c
r13258 r13271 4591 4591 static DECLCALLBACK(void) supdrvGipSyncTimer(PRTTIMER pTimer, void *pvUser, uint64_t iTick) 4592 4592 { 4593 #ifdef RT_OS_SOLARIS 4594 RTCCUINTREG fOldFlags = ASMIntDisableFlags(); /* brute force for S10. */ 4595 #endif 4593 RTCCUINTREG fOldFlags = ASMIntDisableFlags(); /* No interruptions please (real problem on S10). */ 4596 4594 PSUPDRVDEVEXT pDevExt = (PSUPDRVDEVEXT)pvUser; 4595 4597 4596 supdrvGipUpdate(pDevExt->pGip, RTTimeSystemNanoTS()); 4598 4597 4599 #ifdef RT_OS_SOLARIS4600 4598 ASMSetFlags(fOldFlags); 4601 #endif4602 4599 } 4603 4600 … … 4610 4607 static DECLCALLBACK(void) supdrvGipAsyncTimer(PRTTIMER pTimer, void *pvUser, uint64_t iTick) 4611 4608 { 4612 #ifdef RT_OS_SOLARIS 4613 RTCCUINTREG fOldFlags = ASMIntDisableFlags(); /* brute force for S10. */ 4614 #endif 4609 RTCCUINTREG fOldFlags = ASMIntDisableFlags(); /* No interruptions please (real problem on S10). */ 4615 4610 PSUPDRVDEVEXT pDevExt = (PSUPDRVDEVEXT)pvUser; 4616 4611 RTCPUID idCpu = RTMpCpuId(); … … 4623 4618 supdrvGipUpdatePerCpu(pDevExt->pGip, NanoTS, ASMGetApicId()); 4624 4619 4625 #ifdef RT_OS_SOLARIS4626 4620 ASMSetFlags(fOldFlags); 4627 #endif4628 4621 } 4629 4622
Note:
See TracChangeset
for help on using the changeset viewer.