diff -r ac0c11d8dfd6 -r 3e4c3a5ba3fd src/mem/packet.hh --- a/src/mem/packet.hh Tue Jul 07 17:50:18 2015 +0100 +++ b/src/mem/packet.hh Tue Jul 07 18:04:19 2015 +0100 @@ -868,7 +868,7 @@ * endian. */ template - T get() const; + T M5_DEPRECATED_MSG("Non-obvious byte-swapping, don't use!") get() const; /** Set the value in the data pointer to v as big endian. */ template @@ -887,7 +887,7 @@ /** Set the value in the data pointer to v as guest endian. */ template - void set(T v); + void M5_DEPRECATED_MSG("Non-obvious byte-swapping, don't use!") set(T v); /** * Copy data into the packet from the provided pointer.