rawInt = true;
bool old_pending = pendingInt;
pendingInt = maskInt & rawInt;
- if (pendingInt && ~old_pending) {
+ if (pendingInt && !old_pending) {
DPRINTF(Timer, "-- Causing interrupt\n");
gic->sendInt(intNum);
}
bool old_pending = pendingIntTimer;
if (timerControl.intEnable)
pendingIntTimer = true;
- if (pendingIntTimer && ~old_pending) {
+ if (pendingIntTimer && !old_pending) {
DPRINTF(Timer, "-- Causing interrupt\n");
parent->gic->sendPPInt(intNumTimer, cpuNum);
}
//XXX: Should we ever support a true watchdog reset?
}
- if (pendingIntWatchdog && ~old_pending) {
+ if (pendingIntWatchdog && !old_pending) {
DPRINTF(Timer, "-- Causing interrupt\n");
parent->gic->sendPPInt(intNumWatchdog, cpuNum);
}
bool old_pending = pendingInt;
if (control.intEnable)
pendingInt = true;
- if (pendingInt && ~old_pending) {
+ if (pendingInt && !old_pending) {
DPRINTF(Timer, "-- Causing interrupt\n");
parent->gic->sendInt(intNum);
}