DMASequencer.hh (9104:27d56b644e78) | DMASequencer.hh (9117:49116b947194) |
---|---|
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; --- 50 unchanged lines hidden (view full) --- 59 int outstandingCount() const { return (m_is_busy ? 1 : 0); } 60 bool isDeadlockEventScheduled() const { return false; } 61 void descheduleDeadlockEvent() {} 62 63 /* SLICC callback */ 64 void dataCallback(const DataBlock & dblk); 65 void ackCallback(); 66 | 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; --- 50 unchanged lines hidden (view full) --- 59 int outstandingCount() const { return (m_is_busy ? 1 : 0); } 60 bool isDeadlockEventScheduled() const { return false; } 61 void descheduleDeadlockEvent() {} 62 63 /* SLICC callback */ 64 void dataCallback(const DataBlock & dblk); 65 void ackCallback(); 66 |
67 void printConfig(std::ostream & out); 68 | |
69 void recordRequestType(DMASequencerRequestType requestType); 70 71 private: 72 void issueNext(); 73 74 private: 75 bool m_is_busy; 76 uint64_t m_data_block_mask; 77 DMARequest active_request; 78 int num_active_requests; 79}; 80 81#endif // __MEM_RUBY_SYSTEM_DMASEQUENCER_HH__ | 67 void recordRequestType(DMASequencerRequestType requestType); 68 69 private: 70 void issueNext(); 71 72 private: 73 bool m_is_busy; 74 uint64_t m_data_block_mask; 75 DMARequest active_request; 76 int num_active_requests; 77}; 78 79#endif // __MEM_RUBY_SYSTEM_DMASEQUENCER_HH__ |