se_translating_port_proxy.cc (9145:42dd80dee4dd) se_translating_port_proxy.cc (9814:7ad2b0186a32)
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

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

45#include <string>
46
47#include "arch/isa_traits.hh"
48#include "base/chunk_generator.hh"
49#include "config/the_isa.hh"
50#include "mem/page_table.hh"
51#include "mem/se_translating_port_proxy.hh"
52#include "sim/process.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

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

45#include <string>
46
47#include "arch/isa_traits.hh"
48#include "base/chunk_generator.hh"
49#include "config/the_isa.hh"
50#include "mem/page_table.hh"
51#include "mem/se_translating_port_proxy.hh"
52#include "sim/process.hh"
53#include "sim/system.hh"
53
54using namespace TheISA;
55
56SETranslatingPortProxy::SETranslatingPortProxy(MasterPort& port, Process *p,
57 AllocType alloc)
54
55using namespace TheISA;
56
57SETranslatingPortProxy::SETranslatingPortProxy(MasterPort& port, Process *p,
58 AllocType alloc)
58 : PortProxy(port), pTable(p->pTable), process(p),
59 allocating(alloc)
59 : PortProxy(port, p->system->cacheLineSize()), pTable(p->pTable),
60 process(p), allocating(alloc)
60{ }
61
62SETranslatingPortProxy::~SETranslatingPortProxy()
63{ }
64
65bool
66SETranslatingPortProxy::tryReadBlob(Addr addr, uint8_t *p, int size) const
67{

--- 148 unchanged lines hidden ---
61{ }
62
63SETranslatingPortProxy::~SETranslatingPortProxy()
64{ }
65
66bool
67SETranslatingPortProxy::tryReadBlob(Addr addr, uint8_t *p, int size) const
68{

--- 148 unchanged lines hidden ---