Skip to content

Commit 2c801a4

Browse files
committedJun 7, 2012
Fix a software bug : mmu_read was sending wrong CSR_TLB_CTRL ids thus not enabling the MMU
1 parent 16a0419 commit 2c801a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

Diff for: ‎software/libhal/mmu.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
#include <base/mmu.h>
2020

2121
#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)
2424

2525
/* @vpfn : virtual page frame number
2626
* @pfn : physical page frame number

0 commit comments

Comments
 (0)
Please sign in to comment.