mem_checker_monitor.hh (13799:15badf7874ee) mem_checker_monitor.hh (13892:0182a0601f66)
1/*
2 * Copyright (c) 2012-2014 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

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

39 * Marco Elver
40 */
41
42#ifndef __MEM_MEM_CHECKER_MONITOR_HH__
43#define __MEM_MEM_CHECKER_MONITOR_HH__
44
45#include "base/statistics.hh"
46#include "mem/mem_checker.hh"
1/*
2 * Copyright (c) 2012-2014 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

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

39 * Marco Elver
40 */
41
42#ifndef __MEM_MEM_CHECKER_MONITOR_HH__
43#define __MEM_MEM_CHECKER_MONITOR_HH__
44
45#include "base/statistics.hh"
46#include "mem/mem_checker.hh"
47#include "mem/mem_object.hh"
48#include "params/MemCheckerMonitor.hh"
47#include "params/MemCheckerMonitor.hh"
48#include "sim/sim_object.hh"
49#include "sim/system.hh"
50
51/**
52 * Implements a MemChecker monitor, to be inserted between two ports.
53 */
49#include "sim/system.hh"
50
51/**
52 * Implements a MemChecker monitor, to be inserted between two ports.
53 */
54class MemCheckerMonitor : public MemObject
54class MemCheckerMonitor : public SimObject
55{
56 public:
57
58 /** Parameters of memchecker monitor */
59 typedef MemCheckerMonitorParams Params;
60 const Params* params() const
61 { return reinterpret_cast<const Params*>(_params); }
62

--- 175 unchanged lines hidden ---
55{
56 public:
57
58 /** Parameters of memchecker monitor */
59 typedef MemCheckerMonitorParams Params;
60 const Params* params() const
61 { return reinterpret_cast<const Params*>(_params); }
62

--- 175 unchanged lines hidden ---