mem_object.hh (8922:17f037ad8918) mem_object.hh (9157:e0bad9d7bbd6)
1/*
2 * Copyright (c) 2012 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

46 * MemObject declaration.
47 */
48
49#ifndef __MEM_MEM_OBJECT_HH__
50#define __MEM_MEM_OBJECT_HH__
51
52#include "mem/port.hh"
53#include "params/MemObject.hh"
1/*
2 * Copyright (c) 2012 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

46 * MemObject declaration.
47 */
48
49#ifndef __MEM_MEM_OBJECT_HH__
50#define __MEM_MEM_OBJECT_HH__
51
52#include "mem/port.hh"
53#include "params/MemObject.hh"
54#include "sim/sim_object.hh"
54#include "sim/clocked_object.hh"
55
56/**
55
56/**
57 * The MemObject class extends the SimObject with accessor functions
57 * The MemObject class extends the ClockedObject with accessor functions
58 * to get its master and slave ports.
59 */
58 * to get its master and slave ports.
59 */
60class MemObject : public SimObject
60class MemObject : public ClockedObject
61{
62 public:
63 typedef MemObjectParams Params;
64 const Params *params() const
65 { return dynamic_cast<const Params *>(_params); }
66
67 MemObject(const Params *params);
68

--- 24 unchanged lines hidden ---
61{
62 public:
63 typedef MemObjectParams Params;
64 const Params *params() const
65 { return dynamic_cast<const Params *>(_params); }
66
67 MemObject(const Params *params);
68

--- 24 unchanged lines hidden ---