*/
#include "arch/isa_traits.hh"
-#include "config/the_isa.hh"
#include "mem/packet.hh"
#include "sim/byteswap.hh"
};
}
+#if THE_ISA != NULL_ISA
template <typename T>
inline T
Packet::get() const
{
return TheISA::gtoh(getRaw<T>());
}
+#endif
template <typename T>
inline void
};
}
+#if THE_ISA != NULL_ISA
template <typename T>
inline void
Packet::set(T v)
{
setRaw(TheISA::htog(v));
}
+#endif
#endif //__MEM_PACKET_ACCESS_HH__