isa_fake.hh (2982:0ecdb0879b14) isa_fake.hh (3348:11f6ef023158)
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
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 "dev/tsunami.hh"
40#include "base/range.hh"
41#include "dev/io_device.hh"
39#include "base/range.hh"
40#include "dev/io_device.hh"
41#include "dev/tsunami.hh"
42#include "mem/packet.hh"
42
43/**
44 * IsaFake is a device that returns -1 on all reads and
45 * accepts all writes. It is meant to be placed at an address range
46 * so that an mcheck doesn't occur when an os probes a piece of hw
47 * that doesn't exist (e.g. UARTs1-3).
48 */
49class IsaFake : public BasicPioDevice

--- 32 unchanged lines hidden ---
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 ---