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 --- 73 unchanged lines hidden (view full) --- 82 virtual Addr remapAddr(Addr addr) const = 0; 83 84 class AddrMapperSenderState : public Packet::SenderState 85 { 86 87 public: 88 89 /** |
90 * Construct a new sender state to remember the original address. |
91 * |
92 * @param _origAddr Address before remapping 93 */ |
94 AddrMapperSenderState(Addr _origAddr) : origAddr(_origAddr) |
95 { } 96 97 /** Destructor */ 98 ~AddrMapperSenderState() { } 99 |
100 /** The original address the packet was destined for */ 101 Addr origAddr; 102 103 }; 104 105 class MapperMasterPort : public MasterPort 106 { 107 --- 180 unchanged lines hidden --- |