109,111c109,110
< /** Update the status of the interrupt registers and schedule an interrupt
< * if required */
< void updateIntStatus();
---
> /** Set or clear the TX interrupt */
> void setTxInt(bool value);
113,114c112,113
< /** Function to generate interrupt */
< void generateInterrupt();
---
> /** Update the RX interrupt using PS/2 device state */
> void updateRxInt();
116,117c115,119
< /** Get interrupt value */
< InterruptReg getInterrupt() const;
---
> /**
> * Update the status of the interrupt and control registers and
> * deliver an interrupt if required.
> */
> void updateIntCtrl(InterruptReg ints, ControlReg ctrl);
119,120c121,122
< /** Wrapper to create an event out of the thing */
< EventFunctionWrapper intEvent;
---
> void setInterrupts(InterruptReg ints) { updateIntCtrl(ints, control); }
> void setControl(ControlReg ctrl) { updateIntCtrl(rawInterrupts, ctrl); }
121a124,126
> /** Get current interrupt value */
> InterruptReg getInterrupt() const;
>