DMASequencer.hh (11108:6342ddf6d733) DMASequencer.hh (11168:f98eb2da15a4)
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;

--- 94 unchanged lines hidden (view full) ---

103 int outstandingCount() const { return (m_is_busy ? 1 : 0); }
104 bool isDeadlockEventScheduled() const { return false; }
105 void descheduleDeadlockEvent() {}
106
107 // Called by the controller to give the sequencer a pointer.
108 // A pointer to the controller is needed for atomic support.
109 void setController(AbstractController* _cntrl) { m_controller = _cntrl; }
110 uint32_t getId() { return m_version; }
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;

--- 94 unchanged lines hidden (view full) ---

103 int outstandingCount() const { return (m_is_busy ? 1 : 0); }
104 bool isDeadlockEventScheduled() const { return false; }
105 void descheduleDeadlockEvent() {}
106
107 // Called by the controller to give the sequencer a pointer.
108 // A pointer to the controller is needed for atomic support.
109 void setController(AbstractController* _cntrl) { m_controller = _cntrl; }
110 uint32_t getId() { return m_version; }
111 DrainState drain() M5_ATTR_OVERRIDE;
111 DrainState drain() override;
112
113 /* SLICC callback */
114 void dataCallback(const DataBlock & dblk);
115 void ackCallback();
116
117 void recordRequestType(DMASequencerRequestType requestType);
118
119 private:

--- 32 unchanged lines hidden ---
112
113 /* SLICC callback */
114 void dataCallback(const DataBlock & dblk);
115 void ackCallback();
116
117 void recordRequestType(DMASequencerRequestType requestType);
118
119 private:

--- 32 unchanged lines hidden ---