addr_mapper.hh (13799:15badf7874ee) addr_mapper.hh (13892:0182a0601f66)
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
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/mem_object.hh"
43#include "mem/port.hh"
44#include "params/AddrMapper.hh"
45#include "params/RangeAddrMapper.hh"
44#include "params/AddrMapper.hh"
45#include "params/RangeAddrMapper.hh"
46#include "sim/sim_object.hh"
46
47/**
48 * An address mapper changes the packet addresses in going from the
49 * slave port side of the mapper to the master port side. When the
50 * slave port is queried for the address ranges, it also performs the
51 * necessary range updates. Note that snoop requests that travel from
52 * the master port (i.e. the memory side) to the slave port are
53 * currently not modified.
54 */
55
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
56class AddrMapper : public MemObject
57class AddrMapper : public SimObject
57{
58
59 public:
60
61 AddrMapper(const AddrMapperParams* params);
62
63 virtual ~AddrMapper() { }
64

--- 206 unchanged lines hidden ---
58{
59
60 public:
61
62 AddrMapper(const AddrMapperParams* params);
63
64 virtual ~AddrMapper() { }
65

--- 206 unchanged lines hidden ---