DMASequencer.hh (11168:f98eb2da15a4) DMASequencer.hh (11169:44b5c183c3cd)
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;

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

55 PacketPtr pkt;
56};
57
58class DMASequencer : public MemObject
59{
60 public:
61 typedef DMASequencerParams Params;
62 DMASequencer(const Params *);
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;

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

55 PacketPtr pkt;
56};
57
58class DMASequencer : public MemObject
59{
60 public:
61 typedef DMASequencerParams Params;
62 DMASequencer(const Params *);
63 void init();
63 void init() override;
64 RubySystem *m_ruby_system;
65
66 public:
67 class MemSlavePort : public QueuedSlavePort
68 {
69 private:
70 RespPacketQueue queue;
71 RubySystem* m_ruby_system;

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

90 AddrRangeList getAddrRanges() const
91 { AddrRangeList ranges; return ranges; }
92
93 private:
94 bool isPhysMemAddress(Addr addr) const;
95 };
96
97 BaseSlavePort &getSlavePort(const std::string &if_name,
64 RubySystem *m_ruby_system;
65
66 public:
67 class MemSlavePort : public QueuedSlavePort
68 {
69 private:
70 RespPacketQueue queue;
71 RubySystem* m_ruby_system;

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

90 AddrRangeList getAddrRanges() const
91 { AddrRangeList ranges; return ranges; }
92
93 private:
94 bool isPhysMemAddress(Addr addr) const;
95 };
96
97 BaseSlavePort &getSlavePort(const std::string &if_name,
98 PortID idx = InvalidPortID);
98 PortID idx = InvalidPortID) override;
99
100 /* external interface */
101 RequestStatus makeRequest(PacketPtr pkt);
102 bool busy() { return m_is_busy;}
103 int outstandingCount() const { return (m_is_busy ? 1 : 0); }
104 bool isDeadlockEventScheduled() const { return false; }
105 void descheduleDeadlockEvent() {}
106

--- 45 unchanged lines hidden ---
99
100 /* external interface */
101 RequestStatus makeRequest(PacketPtr pkt);
102 bool busy() { return m_is_busy;}
103 int outstandingCount() const { return (m_is_busy ? 1 : 0); }
104 bool isDeadlockEventScheduled() const { return false; }
105 void descheduleDeadlockEvent() {}
106

--- 45 unchanged lines hidden ---