diff options
author | Erik Hallnor <ehallnor@umich.edu> | 2004-07-14 21:34:51 -0400 |
---|---|---|
committer | Erik Hallnor <ehallnor@umich.edu> | 2004-07-14 21:34:51 -0400 |
commit | a6939573ce7061d042428287233502d8c0328c1c (patch) | |
tree | 9ee2f567619cbd8ba266aff7fbfe7ade1eef0420 /dev/uart.cc | |
parent | 374e12c2de1d65bace95fb1db4bad122d7fff9ca (diff) | |
download | gem5-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
Diffstat (limited to 'dev/uart.cc')
-rw-r--r-- | dev/uart.cc | 2 |
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 |