tlb.hh (12749:223c83ed9979) tlb.hh (13692:0cb587b75895)
1/*
2 * Copyright (c) 2011 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 *
40 * Authors: Gabe Black
41 */
42
43#ifndef __ARCH_GENERIC_TLB_HH__
44#define __ARCH_GENERIC_TLB_HH__
45
46#include "base/logging.hh"
1/*
2 * Copyright (c) 2011 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 *
40 * Authors: Gabe Black
41 */
42
43#ifndef __ARCH_GENERIC_TLB_HH__
44#define __ARCH_GENERIC_TLB_HH__
45
46#include "base/logging.hh"
47#include "mem/mem_object.hh"
47#include "mem/request.hh"
48#include "mem/request.hh"
48#include "sim/sim_object.hh"
49
50class ThreadContext;
51class BaseMasterPort;
52
49
50class ThreadContext;
51class BaseMasterPort;
52
53class BaseTLB : public SimObject
53class BaseTLB : public MemObject
54{
55 protected:
56 BaseTLB(const Params *p)
54{
55 protected:
56 BaseTLB(const Params *p)
57 : SimObject(p)
57 : MemObject(p)
58 {}
59
60 public:
61 enum Mode { Read, Write, Execute };
62
63 class Translation
64 {
65 public:

--- 101 unchanged lines hidden ---
58 {}
59
60 public:
61 enum Mode { Read, Write, Execute };
62
63 class Translation
64 {
65 public:

--- 101 unchanged lines hidden ---