- Timestamp:
- Oct 14, 2008 12:55:26 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPDrv.c
r13061 r13258 4591 4591 static DECLCALLBACK(void) supdrvGipSyncTimer(PRTTIMER pTimer, void *pvUser, uint64_t iTick) 4592 4592 { 4593 PSUPDRVDEVEXT pDevExt = (PSUPDRVDEVEXT)pvUser; 4593 #ifdef RT_OS_SOLARIS 4594 RTCCUINTREG fOldFlags = ASMIntDisableFlags(); /* brute force for S10. */ 4595 #endif 4596 PSUPDRVDEVEXT pDevExt = (PSUPDRVDEVEXT)pvUser; 4594 4597 supdrvGipUpdate(pDevExt->pGip, RTTimeSystemNanoTS()); 4598 4599 #ifdef RT_OS_SOLARIS 4600 ASMSetFlags(fOldFlags); 4601 #endif 4595 4602 } 4596 4603 … … 4603 4610 static DECLCALLBACK(void) supdrvGipAsyncTimer(PRTTIMER pTimer, void *pvUser, uint64_t iTick) 4604 4611 { 4605 PSUPDRVDEVEXT pDevExt = (PSUPDRVDEVEXT)pvUser; 4606 RTCPUID idCpu = RTMpCpuId(); 4607 uint64_t NanoTS = RTTimeSystemNanoTS(); 4612 #ifdef RT_OS_SOLARIS 4613 RTCCUINTREG fOldFlags = ASMIntDisableFlags(); /* brute force for S10. */ 4614 #endif 4615 PSUPDRVDEVEXT pDevExt = (PSUPDRVDEVEXT)pvUser; 4616 RTCPUID idCpu = RTMpCpuId(); 4617 uint64_t NanoTS = RTTimeSystemNanoTS(); 4608 4618 4609 4619 /** @todo reset the transaction number and whatnot when iTick == 1. */ … … 4612 4622 else 4613 4623 supdrvGipUpdatePerCpu(pDevExt->pGip, NanoTS, ASMGetApicId()); 4624 4625 #ifdef RT_OS_SOLARIS 4626 ASMSetFlags(fOldFlags); 4627 #endif 4614 4628 } 4615 4629
Note:
See TracChangeset
for help on using the changeset viewer.