From ccdf60f7b2023a63b7ead9404ec90e590d921cb3 Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Tue, 1 May 2007 12:32:30 -0400 Subject: [PATCH] initialize lastTxInt to 0 --HG-- extra : convert_revision : 4c5e9c2145b12fdeba91f3fdd8963c35abe326c2 --- src/dev/uart8250.cc | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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 -- 2.30.2