baddev.cc (6658:f4de76601762) | baddev.cc (8066:cb7bf3919bdd) |
---|---|
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; --- 31 unchanged lines hidden (view full) --- 40#include "config/the_isa.hh" 41#include "dev/baddev.hh" 42#include "dev/platform.hh" 43#include "mem/port.hh" 44#include "params/BadDevice.hh" 45#include "sim/system.hh" 46 47using namespace std; | 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; --- 31 unchanged lines hidden (view full) --- 40#include "config/the_isa.hh" 41#include "dev/baddev.hh" 42#include "dev/platform.hh" 43#include "mem/port.hh" 44#include "params/BadDevice.hh" 45#include "sim/system.hh" 46 47using namespace std; |
48using namespace TheISA; | |
49 50BadDevice::BadDevice(Params *p) 51 : BasicPioDevice(p), devname(p->devicename) 52{ 53 pioSize = 0x10; 54} 55 56Tick --- 18 unchanged lines hidden --- | 48 49BadDevice::BadDevice(Params *p) 50 : BasicPioDevice(p), devname(p->devicename) 51{ 52 pioSize = 0x10; 53} 54 55Tick --- 18 unchanged lines hidden --- |