Deleted Added
sdiff udiff text old ( 3846:a0fe3210ce53 ) 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;

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

38#include <vector>
39
40#include "base/trace.hh"
41#include "dev/alpha/tsunami_pchip.hh"
42#include "dev/alpha/tsunamireg.h"
43#include "dev/alpha/tsunami.hh"
44#include "mem/packet.hh"
45#include "mem/packet_access.hh"
46#include "sim/system.hh"
47
48using namespace std;
49//Should this be AlphaISA?
50using namespace TheISA;
51
52TsunamiPChip::TsunamiPChip(const Params *p)
53: BasicPioDevice(p)
54{
55 pioSize = 0x1000;
56
57 for (int i = 0; i < 4; i++) {
58 wsba[i] = 0;
59 wsm[i] = 0;
60 tba[i] = 0;

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

328{
329 UNSERIALIZE_SCALAR(pctl);
330 UNSERIALIZE_ARRAY(wsba, 4);
331 UNSERIALIZE_ARRAY(wsm, 4);
332 UNSERIALIZE_ARRAY(tba, 4);
333}
334
335
336TsunamiPChip *
337TsunamiPChipParams::create()
338{
339 return new TsunamiPChip(this);
340}