isa_fake.cc (3499:597f3f6c9775) | isa_fake.cc (3502:1ba705a3754b) |
---|---|
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; --- 36 unchanged lines hidden (view full) --- 45 : BasicPioDevice(p) 46{ 47 if (!params()->retBadAddr) 48 pioSize = p->pio_size; 49 50 memset(&retData, p->retData, sizeof(retData)); 51} 52 | 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; --- 36 unchanged lines hidden (view full) --- 45 : BasicPioDevice(p) 46{ 47 if (!params()->retBadAddr) 48 pioSize = p->pio_size; 49 50 memset(&retData, p->retData, sizeof(retData)); 51} 52 |
53void 54IsaFake::init() 55{ 56 // Only init this device if it's connected to anything. 57 if (pioPort) 58 PioDevice::init(); 59} 60 61 | |
62Tick 63IsaFake::read(PacketPtr pkt) 64{ 65 assert(pkt->result == Packet::Unknown); 66 67 if (params()->retBadAddr) { 68 DPRINTF(Tsunami, "read to bad address va=%#x size=%d\n", 69 pkt->getAddr(), pkt->getSize()); --- 80 unchanged lines hidden --- | 53Tick 54IsaFake::read(PacketPtr pkt) 55{ 56 assert(pkt->result == Packet::Unknown); 57 58 if (params()->retBadAddr) { 59 DPRINTF(Tsunami, "read to bad address va=%#x size=%d\n", 60 pkt->getAddr(), pkt->getSize()); --- 80 unchanged lines hidden --- |