tsunami_io.cc (6658:f4de76601762) | tsunami_io.cc (7064:586b0e3a12b3) |
---|---|
1/* 2 * Copyright (c) 2004-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 66 unchanged lines hidden (view full) --- 75 timerData = 0; 76 picr = 0; 77 picInterrupting = false; 78} 79 80Tick 81TsunamiIO::frequency() const 82{ | 1/* 2 * Copyright (c) 2004-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 66 unchanged lines hidden (view full) --- 75 timerData = 0; 76 picr = 0; 77 picInterrupting = false; 78} 79 80Tick 81TsunamiIO::frequency() const 82{ |
83 return Clock::Frequency / params()->frequency; | 83 return SimClock::Frequency / params()->frequency; |
84} 85 86Tick 87TsunamiIO::read(PacketPtr pkt) 88{ 89 assert(pkt->getAddr() >= pioAddr && pkt->getAddr() < pioAddr + pioSize); 90 91 Addr daddr = pkt->getAddr() - pioAddr; --- 199 unchanged lines hidden --- | 84} 85 86Tick 87TsunamiIO::read(PacketPtr pkt) 88{ 89 assert(pkt->getAddr() >= pioAddr && pkt->getAddr() < pioAddr + pioSize); 90 91 Addr daddr = pkt->getAddr() - pioAddr; --- 199 unchanged lines hidden --- |