From: Ali Saidi Date: Tue, 1 May 2007 16:32:30 +0000 (-0400) Subject: initialize lastTxInt to 0 X-Git-Tag: m5_2.0_beta3~12^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ccdf60f7b2023a63b7ead9404ec90e590d921cb3;p=gem5.git initialize lastTxInt to 0 --HG-- extra : convert_revision : 4c5e9c2145b12fdeba91f3fdd8963c35abe326c2 --- diff --git a/src/dev/uart8250.cc b/src/dev/uart8250.cc index d178bd1af..50307aad4 100644 --- a/src/dev/uart8250.cc +++ b/src/dev/uart8250.cc @@ -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