tsunami_io.cc (8232:b28d06a175be) | tsunami_io.cc (8737:770ccf3af571) |
---|---|
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; --- 40 unchanged lines hidden (view full) --- 49#include "dev/alpha/tsunami_io.hh" 50#include "dev/alpha/tsunamireg.h" 51#include "dev/rtcreg.h" 52#include "mem/packet.hh" 53#include "mem/packet_access.hh" 54#include "mem/port.hh" 55#include "sim/system.hh" 56 | 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; --- 40 unchanged lines hidden (view full) --- 49#include "dev/alpha/tsunami_io.hh" 50#include "dev/alpha/tsunamireg.h" 51#include "dev/rtcreg.h" 52#include "mem/packet.hh" 53#include "mem/packet_access.hh" 54#include "mem/port.hh" 55#include "sim/system.hh" 56 |
57using namespace std; | 57// clang complains about std::set being overloaded with Packet::set if 58// we open up the entire namespace std 59using std::string; 60using std::ostream; 61 |
58//Should this be AlphaISA? 59using namespace TheISA; 60 61TsunamiIO::RTC::RTC(const string &n, const TsunamiIOParams *p) 62 : MC146818(p->tsunami, n, p->time, p->year_is_bcd, p->frequency), 63 tsunami(p->tsunami) 64{ 65} --- 226 unchanged lines hidden --- | 62//Should this be AlphaISA? 63using namespace TheISA; 64 65TsunamiIO::RTC::RTC(const string &n, const TsunamiIOParams *p) 66 : MC146818(p->tsunami, n, p->time, p->year_is_bcd, p->frequency), 67 tsunami(p->tsunami) 68{ 69} --- 226 unchanged lines hidden --- |