Deleted Added
sdiff udiff text old ( 3357:0963b8a38b5e ) new ( 3488:52e909177bfa )
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;

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

83Tick
84IsaFake::write(PacketPtr pkt)
85{
86 DPRINTF(Tsunami, "write - va=%#x size=%d \n", pkt->getAddr(), pkt->getSize());
87 pkt->result = Packet::Success;
88 return pioDelay;
89}
90
91BEGIN_DECLARE_SIM_OBJECT_PARAMS(IsaFake)
92
93 Param<Addr> pio_addr;
94 Param<Tick> pio_latency;
95 Param<Addr> pio_size;
96 SimObjectParam<Platform *> platform;
97 SimObjectParam<System *> system;
98

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

116 p->pio_delay = pio_latency;
117 p->pio_size = pio_size;
118 p->platform = platform;
119 p->system = system;
120 return new IsaFake(p);
121}
122
123REGISTER_SIM_OBJECT("IsaFake", IsaFake)