dram_ctrl.hh (13784:1941dc118243) | dram_ctrl.hh (13857:9255d7412a58) |
---|---|
1/* 2 * Copyright (c) 2012-2018 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 --- 825 unchanged lines hidden (view full) --- 834 * dramPktAddr is used for the offset within the packet. 835 * 836 * @param pkt The packet from the outside world 837 * @param dramPktAddr The starting address of the DRAM packet 838 * @param size The size of the DRAM packet in bytes 839 * @param isRead Is the request for a read or a write to DRAM 840 * @return A DRAMPacket pointer with the decoded information 841 */ | 1/* 2 * Copyright (c) 2012-2018 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 --- 825 unchanged lines hidden (view full) --- 834 * dramPktAddr is used for the offset within the packet. 835 * 836 * @param pkt The packet from the outside world 837 * @param dramPktAddr The starting address of the DRAM packet 838 * @param size The size of the DRAM packet in bytes 839 * @param isRead Is the request for a read or a write to DRAM 840 * @return A DRAMPacket pointer with the decoded information 841 */ |
842 DRAMPacket* decodeAddr(PacketPtr pkt, Addr dramPktAddr, unsigned int size, 843 bool isRead); | 842 DRAMPacket* decodeAddr(const PacketPtr pkt, Addr dramPktAddr, 843 unsigned int size, bool isRead) const; |
844 845 /** 846 * The memory schduler/arbiter - picks which request needs to 847 * go next, based on the specified policy such as FCFS or FR-FCFS 848 * and moves it to the head of the queue. 849 * Prioritizes accesses to the same rank as previous burst unless 850 * controller is switching command type. 851 * --- 354 unchanged lines hidden --- | 844 845 /** 846 * The memory schduler/arbiter - picks which request needs to 847 * go next, based on the specified policy such as FCFS or FR-FCFS 848 * and moves it to the head of the queue. 849 * Prioritizes accesses to the same rank as previous burst unless 850 * controller is switching command type. 851 * --- 354 unchanged lines hidden --- |