Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Update lm32 toolchain with new refactored lm32 MMU

  • Loading branch information...
commit 0dcd80f3138e6fb4f885e380f691b551fbdf2822 1 parent ad74f21
Yann Sionneau authored January 14, 2013
4  cpu/lm32.cpu
@@ -101,12 +101,10 @@
101 101
                (EBA 7)
102 102
                (DC 8)
103 103
                (DEBA 9)
104  
-	       (PSW 11)
105 104
                (JTX 14) (JRX 15)          
106 105
                (BP0 16) (BP1 17) (BP2 18) (BP3 19)
107 106
                (WP0 24) (WP1 25) (WP2 26) (WP3 27)     
108  
-               (TLBVADDR 29) (TLBPADDR 30)
109  
-	       (DTLBMA 29) (ITLBMA 30)
  107
+               (PSW 29) (TLBVADDR 30) (TLBPADDR 31) (TLBBADVADDR 31)
110 108
               )
111 109
   )
112 110
   () ()
11  opcodes/lm32-desc.c
@@ -185,7 +185,6 @@ static CGEN_KEYWORD_ENTRY lm32_cgen_opval_h_csr_entries[] =
185 185
   { "EBA", 7, {0, {{{0, 0}}}}, 0, 0 },
186 186
   { "DC", 8, {0, {{{0, 0}}}}, 0, 0 },
187 187
   { "DEBA", 9, {0, {{{0, 0}}}}, 0, 0 },
188  
-  { "PSW", 11, {0, {{{0, 0}}}}, 0, 0 },
189 188
   { "JTX", 14, {0, {{{0, 0}}}}, 0, 0 },
190 189
   { "JRX", 15, {0, {{{0, 0}}}}, 0, 0 },
191 190
   { "BP0", 16, {0, {{{0, 0}}}}, 0, 0 },
@@ -196,16 +195,16 @@ static CGEN_KEYWORD_ENTRY lm32_cgen_opval_h_csr_entries[] =
196 195
   { "WP1", 25, {0, {{{0, 0}}}}, 0, 0 },
197 196
   { "WP2", 26, {0, {{{0, 0}}}}, 0, 0 },
198 197
   { "WP3", 27, {0, {{{0, 0}}}}, 0, 0 },
199  
-  { "TLBVADDR", 29, {0, {{{0, 0}}}}, 0, 0 },
200  
-  { "DTLBMA", 29, {0, {{{0, 0}}}}, 0, 0 },
201  
-  { "TLBPADDR", 30, {0, {{{0, 0}}}}, 0, 0 },
202  
-  { "ITLBMA", 30, {0, {{{0, 0}}}}, 0, 0 }
  198
+  { "PSW", 29, {0, {{{0, 0}}}}, 0, 0 },
  199
+  { "TLBVADDR", 30, {0, {{{0, 0}}}}, 0, 0 },
  200
+  { "TLBPADDR", 31, {0, {{{0, 0}}}}, 0, 0 },
  201
+  { "TLBBADVADDR", 31, {0, {{{0, 0}}}}, 0, 0 },
203 202
 };
204 203
 
205 204
 CGEN_KEYWORD lm32_cgen_opval_h_csr =
206 205
 {
207 206
   & lm32_cgen_opval_h_csr_entries[0],
208  
-  25,
  207
+  24,
209 208
   0, 0, 0, 0, ""
210 209
 };
211 210
 

0 notes on commit 0dcd80f

Please sign in to comment.
Something went wrong with that request. Please try again.