se_translating_port_proxy.cc (14009:a4b36ce75361) se_translating_port_proxy.cc (14196:ce364f5517f3)
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

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

50#include "base/chunk_generator.hh"
51#include "config/the_isa.hh"
52#include "mem/page_table.hh"
53#include "sim/process.hh"
54#include "sim/system.hh"
55
56using namespace TheISA;
57
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

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

50#include "base/chunk_generator.hh"
51#include "config/the_isa.hh"
52#include "mem/page_table.hh"
53#include "sim/process.hh"
54#include "sim/system.hh"
55
56using namespace TheISA;
57
58SETranslatingPortProxy::SETranslatingPortProxy(MasterPort& port, Process *p,
59 AllocType alloc)
58SETranslatingPortProxy::SETranslatingPortProxy(
59 SendFunctionalFunc func, Process *p, AllocType alloc)
60 : PortProxy(func, p->system->cacheLineSize()), pTable(p->pTable),
61 process(p), allocating(alloc)
62{ }
63SETranslatingPortProxy::SETranslatingPortProxy(MasterPort &port,
64 Process *p, AllocType alloc)
60 : PortProxy(port, p->system->cacheLineSize()), pTable(p->pTable),
61 process(p), allocating(alloc)
62{ }
63
64bool
65SETranslatingPortProxy::tryReadBlob(Addr addr, void *p, int size) const
66{
67 int prevSize = 0;

--- 69 unchanged lines hidden ---
65 : PortProxy(port, p->system->cacheLineSize()), pTable(p->pTable),
66 process(p), allocating(alloc)
67{ }
68
69bool
70SETranslatingPortProxy::tryReadBlob(Addr addr, void *p, int size) const
71{
72 int prevSize = 0;

--- 69 unchanged lines hidden ---