AbstractController.hh (10522:13312d6e1caf) | AbstractController.hh (10523:5777a3e55603) |
---|---|
1/* 2 * Copyright (c) 2009 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; --- 62 unchanged lines hidden (view full) --- 71 virtual void print(std::ostream & out) const = 0; 72 virtual void wakeup() = 0; 73 virtual void resetStats() = 0; 74 virtual void regStats(); 75 76 virtual void recordCacheTrace(int cntrl, CacheRecorder* tr) = 0; 77 virtual Sequencer* getSequencer() const = 0; 78 | 1/* 2 * Copyright (c) 2009 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; --- 62 unchanged lines hidden (view full) --- 71 virtual void print(std::ostream & out) const = 0; 72 virtual void wakeup() = 0; 73 virtual void resetStats() = 0; 74 virtual void regStats(); 75 76 virtual void recordCacheTrace(int cntrl, CacheRecorder* tr) = 0; 77 virtual Sequencer* getSequencer() const = 0; 78 |
79 //! These functions are used by ruby system to read/write the message 80 //! queues that exist with in the controller. 81 //! The boolean return value indicates if the read was performed 82 //! successfully. 83 virtual bool functionalReadBuffers(PacketPtr&) = 0; | 79 //! These functions are used by ruby system to read/write the data blocks 80 //! that exist with in the controller. |
84 virtual void functionalRead(const Address &addr, PacketPtr) = 0; 85 //! The return value indicates the number of messages written with the 86 //! data from the packet. 87 virtual uint32_t functionalWriteBuffers(PacketPtr&) = 0; 88 virtual int functionalWrite(const Address &addr, PacketPtr) = 0; 89 90 //! Function for enqueuing a prefetch request 91 virtual void enqueuePrefetch(const Address&, const RubyRequestType&) --- 73 unchanged lines hidden --- | 81 virtual void functionalRead(const Address &addr, PacketPtr) = 0; 82 //! The return value indicates the number of messages written with the 83 //! data from the packet. 84 virtual uint32_t functionalWriteBuffers(PacketPtr&) = 0; 85 virtual int functionalWrite(const Address &addr, PacketPtr) = 0; 86 87 //! Function for enqueuing a prefetch request 88 virtual void enqueuePrefetch(const Address&, const RubyRequestType&) --- 73 unchanged lines hidden --- |