fs_translating_port_proxy.cc (14019:4732393f8210) fs_translating_port_proxy.cc (14196:ce364f5517f3)
1/*
2 * Copyright (c) 2011,2013 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

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

55#include "sim/system.hh"
56
57FSTranslatingPortProxy::FSTranslatingPortProxy(ThreadContext *tc)
58 : PortProxy(tc->getCpuPtr()->getDataPort(),
59 tc->getSystemPtr()->cacheLineSize()), _tc(tc)
60{
61}
62
1/*
2 * Copyright (c) 2011,2013 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

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

55#include "sim/system.hh"
56
57FSTranslatingPortProxy::FSTranslatingPortProxy(ThreadContext *tc)
58 : PortProxy(tc->getCpuPtr()->getDataPort(),
59 tc->getSystemPtr()->cacheLineSize()), _tc(tc)
60{
61}
62
63FSTranslatingPortProxy::FSTranslatingPortProxy(MasterPort &port,
64 unsigned int cacheLineSize)
63FSTranslatingPortProxy::FSTranslatingPortProxy(
64 SendFunctionalFunc func, unsigned int cacheLineSize)
65 : PortProxy(func, cacheLineSize), _tc(NULL)
66{
67}
68
69FSTranslatingPortProxy::FSTranslatingPortProxy(
70 MasterPort &port, unsigned int cacheLineSize)
65 : PortProxy(port, cacheLineSize), _tc(NULL)
66{
67}
68
69bool
70FSTranslatingPortProxy::tryReadBlob(Addr addr, void *p, int size) const
71{
72 Addr paddr;

--- 49 unchanged lines hidden ---
71 : PortProxy(port, cacheLineSize), _tc(NULL)
72{
73}
74
75bool
76FSTranslatingPortProxy::tryReadBlob(Addr addr, void *p, int size) const
77{
78 Addr paddr;

--- 49 unchanged lines hidden ---