initialize lastTxInt to 0
--HG-- extra : convert_revision : 4c5e9c2145b12fdeba91f3fdd8963c35abe326c2
This commit is contained in:
parent
3ae12a549e
commit
ccdf60f7b2
1 changed files with 2 additions and 5 deletions
|
@ -101,14 +101,11 @@ Uart8250::IntrEvent::scheduleIntr()
|
|||
|
||||
|
||||
Uart8250::Uart8250(Params *p)
|
||||
: Uart(p), txIntrEvent(this, TX_INT), rxIntrEvent(this, RX_INT)
|
||||
: Uart(p), IER(0), DLAB(0), LCR(0), MCR(0), lastTxInt(0),
|
||||
txIntrEvent(this, TX_INT), rxIntrEvent(this, RX_INT)
|
||||
{
|
||||
pioSize = 8;
|
||||
|
||||
IER = 0;
|
||||
DLAB = 0;
|
||||
LCR = 0;
|
||||
MCR = 0;
|
||||
}
|
||||
|
||||
Tick
|
||||
|
|
Loading…
Reference in a new issue