tlb.hh (13784:1941dc118243) | tlb.hh (13892:0182a0601f66) |
---|---|
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" | |
48#include "mem/request.hh" | 47#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 MemObject | 53class BaseTLB : public SimObject |
54{ 55 protected: | 54{ 55 protected: |
56 BaseTLB(const Params *p) 57 : MemObject(p) 58 {} | 56 BaseTLB(const Params *p) : SimObject(p) {} |
59 60 public: 61 62 enum Mode { Read, Write, Execute }; 63 64 class Translation 65 { 66 public: --- 101 unchanged lines hidden --- | 57 58 public: 59 60 enum Mode { Read, Write, Execute }; 61 62 class Translation 63 { 64 public: --- 101 unchanged lines hidden --- |