AbstractController.hh (10783:631e736554c9) | AbstractController.hh (10837:ecbab2522757) |
---|---|
1/* 2 * Copyright (c) 2009-2014 Mark D. Hill and David A. Wood 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 191 unchanged lines hidden (view full) --- 200 201 /* Master port to the memory controller. */ 202 MemoryPort memoryPort; 203 204 // Message Buffer for storing the response received from the 205 // memory controller. 206 MessageBuffer *m_responseFromMemory_ptr; 207 | 1/* 2 * Copyright (c) 2009-2014 Mark D. Hill and David A. Wood 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 191 unchanged lines hidden (view full) --- 200 201 /* Master port to the memory controller. */ 202 MemoryPort memoryPort; 203 204 // Message Buffer for storing the response received from the 205 // memory controller. 206 MessageBuffer *m_responseFromMemory_ptr; 207 |
208 // Needed so we know if we are warming up 209 RubySystem *m_rubySystem; 210 | |
211 // State that is stored in packets sent to the memory controller. 212 struct SenderState : public Packet::SenderState 213 { 214 // Id of the machine from which the request originated. 215 MachineID id; 216 217 SenderState(MachineID _id) : id(_id) 218 {} 219 }; 220}; 221 222#endif // __MEM_RUBY_SLICC_INTERFACE_ABSTRACTCONTROLLER_HH__ | 208 // State that is stored in packets sent to the memory controller. 209 struct SenderState : public Packet::SenderState 210 { 211 // Id of the machine from which the request originated. 212 MachineID id; 213 214 SenderState(MachineID _id) : id(_id) 215 {} 216 }; 217}; 218 219#endif // __MEM_RUBY_SLICC_INTERFACE_ABSTRACTCONTROLLER_HH__ |