system.hh (9292:e57c7d9736a5) system.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

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

112 *
113 * @return a reference to the system port we own
114 */
115 MasterPort& getSystemPort() { return _systemPort; }
116
117 /**
118 * Additional function to return the Port of a memory object.
119 */
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

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

112 *
113 * @return a reference to the system port we own
114 */
115 MasterPort& getSystemPort() { return _systemPort; }
116
117 /**
118 * Additional function to return the Port of a memory object.
119 */
120 MasterPort& getMasterPort(const std::string &if_name, int idx = -1);
120 BaseMasterPort& getMasterPort(const std::string &if_name,
121 PortID idx = InvalidPortID);
121
122 static const char *MemoryModeStrings[3];
123
124 Enums::MemoryMode
125 getMemoryMode()
126 {
127 assert(memoryMode);
128 return memoryMode;

--- 301 unchanged lines hidden ---
122
123 static const char *MemoryModeStrings[3];
124
125 Enums::MemoryMode
126 getMemoryMode()
127 {
128 assert(memoryMode);
129 return memoryMode;

--- 301 unchanged lines hidden ---