summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Hallnor <ehallnor@umich.edu>2004-07-14 21:34:51 -0400
committerErik Hallnor <ehallnor@umich.edu>2004-07-14 21:34:51 -0400
commita6939573ce7061d042428287233502d8c0328c1c (patch)
tree9ee2f567619cbd8ba266aff7fbfe7ade1eef0420
parent374e12c2de1d65bace95fb1db4bad122d7fff9ca (diff)
downloadgem5-a6939573ce7061d042428287233502d8c0328c1c.tar.xz
Fix serialization when a tx interrupt isn't scheduled
dev/uart.cc: Fix serialization when a tx interrupt isn't scheduled. --HG-- extra : convert_revision : 3029e284cbba417e3f453d83fdf2ef307d684916
-rw-r--r--dev/uart.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/uart.cc b/dev/uart.cc
index 8ba59579d..fca856d5d 100644
--- a/dev/uart.cc
+++ b/dev/uart.cc
@@ -395,7 +395,7 @@ Uart::serialize(ostream &os)
if (txIntrEvent.scheduled())
txintrwhen = txIntrEvent.when();
else
- rxintrwhen = 0;
+ txintrwhen = 0;
SERIALIZE_SCALAR(rxintrwhen);
SERIALIZE_SCALAR(txintrwhen);
#endif