DMASequencer.cc (7915:bc39c93a5519) | DMASequencer.cc (8160:0b3252d3b400) |
---|---|
1/* 2 * Copyright (c) 2008 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; --- 136 unchanged lines hidden (view full) --- 145 msg->getType() = SequencerRequestType_ST; 146 } else { 147 msg->getType() = SequencerRequestType_LD; 148 } 149 150 assert(m_mandatory_q_ptr != NULL); 151 m_mandatory_q_ptr->enqueue(msg); 152 active_request.bytes_issued += msg->getLen(); | 1/* 2 * Copyright (c) 2008 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; --- 136 unchanged lines hidden (view full) --- 145 msg->getType() = SequencerRequestType_ST; 146 } else { 147 msg->getType() = SequencerRequestType_LD; 148 } 149 150 assert(m_mandatory_q_ptr != NULL); 151 m_mandatory_q_ptr->enqueue(msg); 152 active_request.bytes_issued += msg->getLen(); |
153 DPRINTF(RubyDma, "Next DMA segment issued to the DMA cntrl\n"); | 153 DPRINTF(RubyDma, 154 "DMA request bytes issued %d, bytes completed %d, total len %d\n", 155 active_request.bytes_issued, active_request.bytes_completed, 156 active_request.len); |
154} 155 156void 157DMASequencer::dataCallback(const DataBlock & dblk) 158{ 159 assert(m_is_busy == true); 160 int len = active_request.bytes_issued - active_request.bytes_completed; 161 int offset = 0; --- 26 unchanged lines hidden --- | 157} 158 159void 160DMASequencer::dataCallback(const DataBlock & dblk) 161{ 162 assert(m_is_busy == true); 163 int len = active_request.bytes_issued - active_request.bytes_completed; 164 int offset = 0; --- 26 unchanged lines hidden --- |