tlb_coalescer.hh (12697:cd71b966be1e) | tlb_coalescer.hh (13784:1941dc118243) |
---|---|
1/* 2 * Copyright (c) 2011-2015 Advanced Micro Devices, Inc. 3 * All rights reserved. 4 * 5 * For use for simulation and test purposes only 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions are met: --- 197 unchanged lines hidden (view full) --- 206 } 207 }; 208 209 // Coalescer slave ports on the cpu Side 210 std::vector<CpuSidePort*> cpuSidePort; 211 // Coalescer master ports on the memory side 212 std::vector<MemSidePort*> memSidePort; 213 | 1/* 2 * Copyright (c) 2011-2015 Advanced Micro Devices, Inc. 3 * All rights reserved. 4 * 5 * For use for simulation and test purposes only 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions are met: --- 197 unchanged lines hidden (view full) --- 206 } 207 }; 208 209 // Coalescer slave ports on the cpu Side 210 std::vector<CpuSidePort*> cpuSidePort; 211 // Coalescer master ports on the memory side 212 std::vector<MemSidePort*> memSidePort; 213 |
214 BaseMasterPort& getMasterPort(const std::string &if_name, PortID idx); 215 BaseSlavePort& getSlavePort(const std::string &if_name, PortID idx); | 214 Port &getPort(const std::string &if_name, 215 PortID idx=InvalidPortID) override; |
216 217 void processProbeTLBEvent(); 218 /// This event issues the TLB probes 219 EventFunctionWrapper probeTLBEvent; 220 221 void processCleanupEvent(); 222 /// The cleanupEvent is scheduled after a TLBEvent triggers 223 /// in order to free memory and do the required clean-up 224 EventFunctionWrapper cleanupEvent; 225 226 // this FIFO queue keeps track of the virt. page 227 // addresses that are pending cleanup 228 std::queue<Addr> cleanupQueue; 229}; 230 231#endif // __TLB_COALESCER_HH__ | 216 217 void processProbeTLBEvent(); 218 /// This event issues the TLB probes 219 EventFunctionWrapper probeTLBEvent; 220 221 void processCleanupEvent(); 222 /// The cleanupEvent is scheduled after a TLBEvent triggers 223 /// in order to free memory and do the required clean-up 224 EventFunctionWrapper cleanupEvent; 225 226 // this FIFO queue keeps track of the virt. page 227 // addresses that are pending cleanup 228 std::queue<Addr> cleanupQueue; 229}; 230 231#endif // __TLB_COALESCER_HH__ |