diff --git a/src/mem/packet.hh b/src/mem/packet.hh index 0f45a7bae8..515dcc7018 100644 --- a/src/mem/packet.hh +++ b/src/mem/packet.hh @@ -1077,9 +1077,11 @@ class Packet : public Printable template void set(T v, ByteOrder endian); +#if THE_ISA != NULL_ISA /** Set the value in the data pointer to v as guest endian. */ template void set(T v); +#endif /** @@ -1173,7 +1175,6 @@ class Packet : public Printable /** @} */ - private: // Private data accessor methods /** Get the data in the packet without byte swapping. */ template T getRaw() const;