fs_translating_port_proxy.cc (14196:ce364f5517f3) | fs_translating_port_proxy.cc (14197:26cca0c29be6) |
---|---|
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 --- 41 unchanged lines hidden (view full) --- 50 51#include "arch/vtophys.hh" 52#include "base/chunk_generator.hh" 53#include "cpu/base.hh" 54#include "cpu/thread_context.hh" 55#include "sim/system.hh" 56 57FSTranslatingPortProxy::FSTranslatingPortProxy(ThreadContext *tc) | 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 --- 41 unchanged lines hidden (view full) --- 50 51#include "arch/vtophys.hh" 52#include "base/chunk_generator.hh" 53#include "cpu/base.hh" 54#include "cpu/thread_context.hh" 55#include "sim/system.hh" 56 57FSTranslatingPortProxy::FSTranslatingPortProxy(ThreadContext *tc) |
58 : PortProxy(tc->getCpuPtr()->getDataPort(), | 58 : PortProxy(tc->getCpuPtr()->getSendFunctional(), |
59 tc->getSystemPtr()->cacheLineSize()), _tc(tc) 60{ 61} 62 63FSTranslatingPortProxy::FSTranslatingPortProxy( 64 SendFunctionalFunc func, unsigned int cacheLineSize) 65 : PortProxy(func, cacheLineSize), _tc(NULL) 66{ --- 61 unchanged lines hidden --- | 59 tc->getSystemPtr()->cacheLineSize()), _tc(tc) 60{ 61} 62 63FSTranslatingPortProxy::FSTranslatingPortProxy( 64 SendFunctionalFunc func, unsigned int cacheLineSize) 65 : PortProxy(func, cacheLineSize), _tc(NULL) 66{ --- 61 unchanged lines hidden --- |