Javier Bueno Hedo has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/17189

Change subject: arch: added a function to get the arch-dependant flags of a TLB request
......................................................................

arch: added a function to get the arch-dependant flags of a TLB request

A function has been added to the TLB class to get the architecture specific
flags required to construct a TLB request.

Change-Id: I82dda9d8b20daa34527119f82cee9f57f452b9a5
---
M src/arch/generic/tlb.hh
1 file changed, 8 insertions(+), 0 deletions(-)



diff --git a/src/arch/generic/tlb.hh b/src/arch/generic/tlb.hh
index 7865d8a..f0af80e 100644
--- a/src/arch/generic/tlb.hh
+++ b/src/arch/generic/tlb.hh
@@ -104,6 +104,14 @@
     }

     /**
+ * Gets the Architecture-dependant flags required to generate a TLB Request
+     * @return the flags
+     */
+    virtual uint8_t getTLBRequestArchFlags() const {
+        return 0;
+    }
+
+    /**
      * Do post-translation physical address finalization.
      *
      * This method is used by some architectures that need

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

Reply via email to