#define IOTimeTypeStampS(t) \
do { \
IOTimeStampStart(IODBG_INTES(t), \
- (unsigned int) this, (unsigned int) owner); \
+ (uintptr_t) this, (uintptr_t) owner); \
} while(0)
#define IOTimeTypeStampE(t) \
do { \
IOTimeStampEnd(IODBG_INTES(t), \
- (unsigned int) this, (unsigned int) owner); \
+ (uintptr_t) this, (uintptr_t) owner); \
} while(0)
#define IOTimeStampLatency() \
do { \
IOTimeStampEnd(IODBG_INTES(IOINTES_LAT), \
- (unsigned int) this, (unsigned int) owner); \
+ (uintptr_t) this, (uintptr_t) owner); \
} while(0)
#else /* !KDEBUG */
if (provider && intIndex != -1) {
provider->enableInterrupt(intIndex);
explicitDisable = false;
+ enabled = true;
}
}
if (provider && intIndex != -1) {
provider->disableInterrupt(intIndex);
explicitDisable = true;
+ enabled = false;
}
}
IOTimeStampLatency();
IOTimeTypeStampS(IOINTES_CLIENT);
IOTimeStampConstant(IODBG_INTES(IOINTES_ACTION),
- (unsigned int) intAction, (unsigned int) owner);
+ (uintptr_t) intAction, (uintptr_t) owner);
(*intAction)(owner, this, numInts);
IOTimeTypeStampE(IOINTES_CLIENT);
IOTimeStampLatency();
IOTimeTypeStampS(IOINTES_CLIENT);
IOTimeStampConstant(IODBG_INTES(IOINTES_ACTION),
- (unsigned int) intAction, (unsigned int) owner);
+ (uintptr_t) intAction, (uintptr_t) owner);
(*intAction)(owner, this, -numInts);
IOTimeTypeStampE(IOINTES_CLIENT);