baddev.cc (3349:fec4a86fa212) baddev.cc (3846:a0fe3210ce53)
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;

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

44#include "sim/system.hh"
45
46using namespace std;
47using namespace TheISA;
48
49BadDevice::BadDevice(Params *p)
50 : BasicPioDevice(p), devname(p->device_name)
51{
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;

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

44#include "sim/system.hh"
45
46using namespace std;
47using namespace TheISA;
48
49BadDevice::BadDevice(Params *p)
50 : BasicPioDevice(p), devname(p->device_name)
51{
52 pioSize = 0xf;
52 pioSize = 0x10;
53}
54
55Tick
56BadDevice::read(PacketPtr pkt)
57{
58 panic("Device %s not imlpmented\n", devname);
59}
60

--- 39 unchanged lines hidden ---
53}
54
55Tick
56BadDevice::read(PacketPtr pkt)
57{
58 panic("Device %s not imlpmented\n", devname);
59}
60

--- 39 unchanged lines hidden ---