malta_cchip.cc (8775:1e3ca5d77b53) | malta_cchip.cc (9808:13ffc0066b76) |
---|---|
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; --- 41 unchanged lines hidden (view full) --- 50#include "mem/port.hh" 51#include "params/MaltaCChip.hh" 52#include "sim/system.hh" 53 54using namespace std; 55using namespace TheISA; 56 57MaltaCChip::MaltaCChip(Params *p) | 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; --- 41 unchanged lines hidden (view full) --- 50#include "mem/port.hh" 51#include "params/MaltaCChip.hh" 52#include "sim/system.hh" 53 54using namespace std; 55using namespace TheISA; 56 57MaltaCChip::MaltaCChip(Params *p) |
58 : BasicPioDevice(p), malta(p->malta) | 58 : BasicPioDevice(p, 0xfffffff), malta(p->malta) |
59{ 60 warn("MaltaCCHIP::MaltaCChip() not implemented."); 61 | 59{ 60 warn("MaltaCCHIP::MaltaCChip() not implemented."); 61 |
62 pioSize = 0xfffffff; | |
63 //Put back pointer in malta 64 malta->cchip = this; 65 66} 67 68Tick 69MaltaCChip::read(PacketPtr pkt) 70{ --- 460 unchanged lines hidden --- | 62 //Put back pointer in malta 63 malta->cchip = this; 64 65} 66 67Tick 68MaltaCChip::read(PacketPtr pkt) 69{ --- 460 unchanged lines hidden --- |