Deleted Added
sdiff udiff text old ( 4739:9f8edf47aeca ) new ( 4762:c94e103c83ad )
full compact
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;

--- 33 unchanged lines hidden (view full) ---

42#include "cpu/intr_control.hh"
43#include "cpu/thread_context.hh"
44#include "dev/alpha/tsunami.hh"
45#include "dev/alpha/tsunami_cchip.hh"
46#include "dev/alpha/tsunamireg.h"
47#include "mem/packet.hh"
48#include "mem/packet_access.hh"
49#include "mem/port.hh"
50#include "params/TsunamiCChip.hh"
51#include "sim/system.hh"
52
53using namespace std;
54//Should this be AlphaISA?
55using namespace TheISA;
56
57TsunamiCChip::TsunamiCChip(const Params *p)
58 : BasicPioDevice(p), tsunami(p->tsunami)
59{
60 pioSize = 0x10000000;
61
62 drir = 0;
63 ipint = 0;
64 itint = 0;
65

--- 451 unchanged lines hidden (view full) ---

517{
518 UNSERIALIZE_ARRAY(dim, Tsunami::Max_CPUs);
519 UNSERIALIZE_ARRAY(dir, Tsunami::Max_CPUs);
520 UNSERIALIZE_SCALAR(ipint);
521 UNSERIALIZE_SCALAR(itint);
522 UNSERIALIZE_SCALAR(drir);
523}
524
525TsunamiCChip *
526TsunamiCChipParams::create()
527{
528 return new TsunamiCChip(this);
529}