summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mem/packet.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mem/packet.hh b/src/mem/packet.hh
index 0f45a7bae..515dcc701 100644
--- a/src/mem/packet.hh
+++ b/src/mem/packet.hh
@@ -1077,9 +1077,11 @@ class Packet : public Printable
template <typename T>
void set(T v, ByteOrder endian);
+#if THE_ISA != NULL_ISA
/** Set the value in the data pointer to v as guest endian. */
template <typename T>
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 <typename T>
T getRaw() const;