addr_mapper.hh (9259:fc28f3ca5b21) addr_mapper.hh (9294:8fb03b13de02)
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

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

57{
58
59 public:
60
61 AddrMapper(const AddrMapperParams* params);
62
63 virtual ~AddrMapper() { }
64
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

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

57{
58
59 public:
60
61 AddrMapper(const AddrMapperParams* params);
62
63 virtual ~AddrMapper() { }
64
65 virtual MasterPort& getMasterPort(const std::string& if_name,
66 int idx = -1);
65 virtual BaseMasterPort& getMasterPort(const std::string& if_name,
66 PortID idx = InvalidPortID);
67
67
68 virtual SlavePort& getSlavePort(const std::string& if_name,
69 int idx = -1);
68 virtual BaseSlavePort& getSlavePort(const std::string& if_name,
69 PortID idx = InvalidPortID);
70
71 virtual void init();
72
73 protected:
74
75 /**
76 * This function does the actual remapping of one address to another.
77 * It is pure virtual in this case to to allow any implementation

--- 217 unchanged lines hidden ---
70
71 virtual void init();
72
73 protected:
74
75 /**
76 * This function does the actual remapping of one address to another.
77 * It is pure virtual in this case to to allow any implementation

--- 217 unchanged lines hidden ---