WireBuffer.hh (10301:44839e8febbd) WireBuffer.hh (10441:5377550e1e15)
1/*
2 * Copyright (c) 2010 Advanced Micro Devices, Inc.
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;

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

24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 *
28 * Author: Lisa Hsu
29 *
30 */
31
1/*
2 * Copyright (c) 2010 Advanced Micro Devices, Inc.
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;

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

24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 *
28 * Author: Lisa Hsu
29 *
30 */
31
32#ifndef __MEM_RUBY_SYSTEM_WIREBUFFER_HH__
33#define __MEM_RUBY_SYSTEM_WIREBUFFER_HH__
32#ifndef __MEM_RUBY_STRUCTURES_WIREBUFFER_HH__
33#define __MEM_RUBY_STRUCTURES_WIREBUFFER_HH__
34
35#include <iostream>
36#include <string>
37#include <vector>
38
39#include "mem/ruby/common/Consumer.hh"
40#include "mem/ruby/network/MessageBufferNode.hh"
41#include "params/RubyWireBuffer.hh"

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

94
95 // queues where memory requests live
96 std::vector<MessageBufferNode> m_message_queue;
97
98};
99
100std::ostream& operator<<(std::ostream& out, const WireBuffer& obj);
101
34
35#include <iostream>
36#include <string>
37#include <vector>
38
39#include "mem/ruby/common/Consumer.hh"
40#include "mem/ruby/network/MessageBufferNode.hh"
41#include "params/RubyWireBuffer.hh"

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

94
95 // queues where memory requests live
96 std::vector<MessageBufferNode> m_message_queue;
97
98};
99
100std::ostream& operator<<(std::ostream& out, const WireBuffer& obj);
101
102#endif // __MEM_RUBY_SYSTEM_WireBuffer_HH__
102#endif // __MEM_RUBY_STRUCTURES_WireBuffer_HH__