AbstractController.hh (9302:c2e70a9bc340) AbstractController.hh (9363:e2616dc035ce)
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;

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

73 //! These functions are used by ruby system to read/write the message
74 //! queues that exist with in the controller.
75 //! The boolean return value indicates if the read was performed
76 //! successfully.
77 virtual bool functionalReadBuffers(PacketPtr&) = 0;
78 //! The return value indicates the number of messages written with the
79 //! data from the packet.
80 virtual uint32_t functionalWriteBuffers(PacketPtr&) = 0;
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;

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

73 //! These functions are used by ruby system to read/write the message
74 //! queues that exist with in the controller.
75 //! The boolean return value indicates if the read was performed
76 //! successfully.
77 virtual bool functionalReadBuffers(PacketPtr&) = 0;
78 //! The return value indicates the number of messages written with the
79 //! data from the packet.
80 virtual uint32_t functionalWriteBuffers(PacketPtr&) = 0;
81
82 //! Function for enqueuing a prefetch request
83 virtual void enqueuePrefetch(const Address&, const RubyRequestType&)
84 { fatal("Prefetches not implemented!");}
81};
82
83#endif // __MEM_RUBY_SLICC_INTERFACE_ABSTRACTCONTROLLER_HH__
85};
86
87#endif // __MEM_RUBY_SLICC_INTERFACE_ABSTRACTCONTROLLER_HH__