diff options
author | Nathan Binkert <nate@binkert.org> | 2010-04-15 16:24:12 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2010-04-15 16:24:12 -0700 |
commit | e99828b06a1b694b7aca09682ae2b1be9089af88 (patch) | |
tree | e106d16b98b45695ffd993e2cd6684919723dc66 /src/dev/uart8250.cc | |
parent | f7e6f19adabd0ce7e35cea8b5c3b070e2cd26c38 (diff) | |
download | gem5-e99828b06a1b694b7aca09682ae2b1be9089af88.tar.xz |
tick: rename Clock namespace to SimClock
Diffstat (limited to 'src/dev/uart8250.cc')
-rw-r--r-- | src/dev/uart8250.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dev/uart8250.cc b/src/dev/uart8250.cc index f131ab69f..2bbcf2683 100644 --- a/src/dev/uart8250.cc +++ b/src/dev/uart8250.cc @@ -90,7 +90,7 @@ Uart8250::IntrEvent::process() void Uart8250::IntrEvent::scheduleIntr() { - static const Tick interval = 225 * Clock::Int::ns; + static const Tick interval = 225 * SimClock::Int::ns; DPRINTF(Uart, "Scheduling IER interrupt for %#x, at cycle %lld\n", intrBit, curTick + interval); if (!scheduled()) @@ -217,7 +217,7 @@ Uart8250::write(PacketPtr pkt) if (UART_IER_THRI & IER) { DPRINTF(Uart, "IER: IER_THRI set, scheduling TX intrrupt\n"); - if (curTick - lastTxInt > 225 * Clock::Int::ns) { + if (curTick - lastTxInt > 225 * SimClock::Int::ns) { DPRINTF(Uart, "-- Interrupting Immediately... %d,%d\n", curTick, lastTxInt); txIntrEvent.process(); |