arch-power: Added Radix Tree Page Table Entry
authorkajoljain379 <kajoljain797@gmail.com>
Wed, 16 Jan 2019 11:38:45 +0000 (17:08 +0530)
committerKajol Jain <kajoljain797@gmail.com>
Wed, 12 Jun 2019 07:08:38 +0000 (12:38 +0530)
Change-Id: Ifde9fac352f8019247e8f5f7936c081a3b85d3ac
Signed-off-by: kajoljain379 <kajoljain797@gmail.com>
src/arch/power/radixwalk.hh

index 3a9efb924873ef7ff59d4b47c26e961dc69f1169..11814e0f101d02bf2b7a29b6d5d6309c2bdf0c88 100644 (file)
@@ -46,6 +46,21 @@ namespace PowerISA
                 Bitfield<4, 0> NLS;
         EndBitUnion(Rpde)
 
+        BitUnion64(Rpte)
+                Bitfield<63> valid;
+                Bitfield<62> leaf;
+                Bitfield<61> sw1;
+                Bitfield<56,12> rpn;
+                Bitfield<11,9> sw2;
+                Bitfield<8> ref;
+                Bitfield<7> c;
+                Bitfield<5,4> att;
+                Bitfield<3> pri;
+                Bitfield<2> read;
+                Bitfield<1> r_w;
+                Bitfield<0> exe;
+        EndBitUnion(Rpte)
+
         Fault start(ThreadContext * _tc, RequestPtr req, BaseTLB::Mode mode);
         BaseMasterPort &getMasterPort(const std::string &if_name,
                                       PortID idx = InvalidPortID);