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; --- 22 unchanged lines hidden (view full) --- 31 32/** @file 33 * Declaration of a fake device. 34 */ 35 36#ifndef __ISA_FAKE_HH__ 37#define __ISA_FAKE_HH__ 38 |
39#include "base/range.hh" 40#include "dev/io_device.hh" |
41#include "dev/tsunami.hh" 42#include "mem/packet.hh" |
43 44/** 45 * IsaFake is a device that returns -1 on all reads and 46 * accepts all writes. It is meant to be placed at an address range 47 * so that an mcheck doesn't occur when an os probes a piece of hw 48 * that doesn't exist (e.g. UARTs1-3). 49 */ 50class IsaFake : public BasicPioDevice --- 32 unchanged lines hidden --- |