RubyPort.hh (8731:bb0aaf3ffa18) | RubyPort.hh (8851:7e966326ef5b) |
---|---|
1/* 2 * Copyright (c) 2009 Advanced Micro Devices, Inc. 3 * Copyright (c) 2011 Mark D. Hill and David A. Wood 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 123 unchanged lines hidden (view full) --- 132 const std::string m_name; 133 void ruby_hit_callback(PacketPtr pkt); 134 void testDrainComplete(); 135 void ruby_eviction_callback(const Address& address); 136 137 int m_version; 138 AbstractController* m_controller; 139 MessageBuffer* m_mandatory_q_ptr; | 1/* 2 * Copyright (c) 2009 Advanced Micro Devices, Inc. 3 * Copyright (c) 2011 Mark D. Hill and David A. Wood 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 123 unchanged lines hidden (view full) --- 132 const std::string m_name; 133 void ruby_hit_callback(PacketPtr pkt); 134 void testDrainComplete(); 135 void ruby_eviction_callback(const Address& address); 136 137 int m_version; 138 AbstractController* m_controller; 139 MessageBuffer* m_mandatory_q_ptr; |
140 PioPort* pio_port; | 140 PioPort pio_port; |
141 bool m_usingRubyTester; 142 143 private: 144 void addToRetryList(M5Port * port) 145 { 146 if (!port->onRetryList()) { 147 port->onRetryList(true); 148 retryList.push_back(port); 149 waitingOnSequencer = true; 150 } 151 } 152 153 unsigned int getDrainCount(Event *de); 154 155 uint16_t m_port_id; 156 uint64_t m_request_cnt; 157 | 141 bool m_usingRubyTester; 142 143 private: 144 void addToRetryList(M5Port * port) 145 { 146 if (!port->onRetryList()) { 147 port->onRetryList(true); 148 retryList.push_back(port); 149 waitingOnSequencer = true; 150 } 151 } 152 153 unsigned int getDrainCount(Event *de); 154 155 uint16_t m_port_id; 156 uint64_t m_request_cnt; 157 |
158 PioPort* physMemPort; | 158 PioPort physMemPort; |
159 160 /*! Vector of CPU Port attached to this Ruby port. */ 161 typedef std::vector<M5Port*>::iterator CpuPortIter; 162 std::vector<M5Port*> cpu_ports; 163 164 Event *drainEvent; 165 166 PhysicalMemory* physmem; --- 13 unchanged lines hidden --- | 159 160 /*! Vector of CPU Port attached to this Ruby port. */ 161 typedef std::vector<M5Port*>::iterator CpuPortIter; 162 std::vector<M5Port*> cpu_ports; 163 164 Event *drainEvent; 165 166 PhysicalMemory* physmem; --- 13 unchanged lines hidden --- |