Gabe Black has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/13575

Change subject: mem: Mark the guest endianness packet accessors as deprecated.
......................................................................

mem: Mark the guest endianness packet accessors as deprecated.

Change-Id: Iebefeb5b1ce905f2b45b30b7656d6a01d0724584
---
M src/mem/packet.hh
1 file changed, 4 insertions(+), 3 deletions(-)



diff --git a/src/mem/packet.hh b/src/mem/packet.hh
index 95c6f81..e378de8 100644
--- a/src/mem/packet.hh
+++ b/src/mem/packet.hh
@@ -1062,7 +1062,8 @@
      * endian.
      */
     template <typename T>
-    T get() const;
+    T get() const
+        M5_DEPRECATED_MSG("The memory system should be ISA independent.");
 #endif

     /** Set the value in the data pointer to v as big endian. */
@@ -1083,10 +1084,10 @@
 #if THE_ISA != NULL_ISA
     /** Set the value in the data pointer to v as guest endian. */
     template <typename T>
-    void set(T v);
+    void set(T v)
+        M5_DEPRECATED_MSG("The memory system should be ISA independent.");
 #endif

-
     /**
      * Get the data in the packet byte swapped from the specified
      * endianness and zero-extended to 64 bits.

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/13575
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-Change-Id: Iebefeb5b1ce905f2b45b30b7656d6a01d0724584
Gerrit-Change-Number: 13575
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to