Skip to content
This repository
Browse code

Fix a software bug : mmu_read was sending wrong CSR_TLB_CTRL ids thus…

… not enabling the MMU
  • Loading branch information...
commit 2c801a45a69a5848d048c518d8ef43507c7de585 1 parent 16a0419
Yann Sionneau authored June 07, 2012

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  software/libhal/mmu.c
4  software/libhal/mmu.c
@@ -19,8 +19,8 @@
19 19
 #include <base/mmu.h>
20 20
 
21 21
 #define DTLB_CTRL_FLUSH_CMD	(0x3)
22  
-#define DTLB_CTRL_DISABLE_CMD	(0x5)
23  
-#define DTLB_CTRL_ENABLE_CMD	(0x9)
  22
+#define DTLB_CTRL_DISABLE_CMD	(0x9)
  23
+#define DTLB_CTRL_ENABLE_CMD	(0x11)
24 24
 
25 25
 /* @vpfn : virtual page frame number
26 26
  * @pfn  : physical page frame number

0 notes on commit 2c801a4

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