diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2007-05-01 12:32:30 -0400 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2007-05-01 12:32:30 -0400 |
commit | ccdf60f7b2023a63b7ead9404ec90e590d921cb3 (patch) | |
tree | e19eed97cee25c1d0ad382b54f74ccc84fc8918f | |
parent | 3ae12a549e697db5a1c5baa723441435ebfeba98 (diff) | |
download | gem5-ccdf60f7b2023a63b7ead9404ec90e590d921cb3.tar.xz |
initialize lastTxInt to 0
--HG--
extra : convert_revision : 4c5e9c2145b12fdeba91f3fdd8963c35abe326c2
-rw-r--r-- | src/dev/uart8250.cc | 7 |
1 files 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 |