1/* 2 * Copyright (c) 2012 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 --- 26 unchanged lines hidden (view full) --- 35 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 36 * 37 * Authors: Andreas Hansson 38 */ 39 40#ifndef __MEM_ADDR_MAPPER_HH__ 41#define __MEM_ADDR_MAPPER_HH__ 42 |
43#include "mem/port.hh" |
44#include "params/AddrMapper.hh" 45#include "params/RangeAddrMapper.hh" |
46#include "sim/sim_object.hh" |
47 48/** 49 * An address mapper changes the packet addresses in going from the 50 * slave port side of the mapper to the master port side. When the 51 * slave port is queried for the address ranges, it also performs the 52 * necessary range updates. Note that snoop requests that travel from 53 * the master port (i.e. the memory side) to the slave port are 54 * currently not modified. 55 */ 56 |
57class AddrMapper : public SimObject |
58{ 59 60 public: 61 62 AddrMapper(const AddrMapperParams* params); 63 64 virtual ~AddrMapper() { } 65 --- 206 unchanged lines hidden --- |