RubyRequest.hh (9116:9171e26543fa) RubyRequest.hh (9302:c2e70a9bc340)
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;

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

121
122 const PrefetchBit&
123 getPrefetch() const
124 {
125 return m_Prefetch;
126 }
127
128 void print(std::ostream& out) const;
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;

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

121
122 const PrefetchBit&
123 getPrefetch() const
124 {
125 return m_Prefetch;
126 }
127
128 void print(std::ostream& out) const;
129
130 bool functionalRead(Packet *pkt);
131 bool functionalWrite(Packet *pkt);
129};
130
131inline std::ostream&
132operator<<(std::ostream& out, const RubyRequest& obj)
133{
134 obj.print(out);
135 out << std::flush;
136 return out;
137}
138
139#endif
132};
133
134inline std::ostream&
135operator<<(std::ostream& out, const RubyRequest& obj)
136{
137 obj.print(out);
138 out << std::flush;
139 return out;
140}
141
142#endif