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; --- 28 unchanged lines hidden (view full) --- 37#include "dev/isa_fake.hh" 38#include "mem/packet.hh" 39#include "mem/packet_access.hh" 40#include "sim/system.hh" 41 42using namespace std; 43 44IsaFake::IsaFake(Params *p) |
45 : BasicPioDevice(p, p->ret_bad_addr ? 0 : p->pio_size) |
46{ |
47 retData8 = p->ret_data8; 48 retData16 = p->ret_data16; 49 retData32 = p->ret_data32; 50 retData64 = p->ret_data64; 51} 52 53Tick 54IsaFake::read(PacketPtr pkt) --- 98 unchanged lines hidden --- |