Ryan Gambord has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/17070

Change subject: arch, base: Added NullByteOrder to enum ByteOrder
......................................................................

arch, base: Added NullByteOrder to enum ByteOrder

commit b0d1643 caused building against NULL to break due to
NULLIsa::GuestByteOrder not being defined.

Change-Id: I99a4abb4be1418fadec145481164f7caa3334ca0
Signed-off-by: Ryan Gambord
---
M src/arch/null/isa_traits.hh
M src/base/types.hh
2 files changed, 3 insertions(+), 1 deletion(-)



diff --git a/src/arch/null/isa_traits.hh b/src/arch/null/isa_traits.hh
index d15f83c..65021fb 100644
--- a/src/arch/null/isa_traits.hh
+++ b/src/arch/null/isa_traits.hh
@@ -44,6 +44,7 @@

 namespace NullISA
 {
+    const GuestByteOrder =  NullByteOrder
     const Addr PageShift = 12;
     const Addr PageBytes = ULL(1) << PageShift;
 }
diff --git a/src/base/types.hh b/src/base/types.hh
index d993845..373eb8c 100644
--- a/src/base/types.hh
+++ b/src/base/types.hh
@@ -261,7 +261,8 @@

 enum ByteOrder {
     BigEndianByteOrder,
-    LittleEndianByteOrder
+    LittleEndianByteOrder,
+    NullByteOrder
 };

 #endif // __BASE_TYPES_HH__

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/17070
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: I99a4abb4be1418fadec145481164f7caa3334ca0
Gerrit-Change-Number: 17070
Gerrit-PatchSet: 1
Gerrit-Owner: Ryan Gambord <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to