Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
@fallen authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 software/libhal/mmu.c
View
4 software/libhal/mmu.c
@@ -19,8 +19,8 @@
#include <base/mmu.h>
#define DTLB_CTRL_FLUSH_CMD (0x3)
-#define DTLB_CTRL_DISABLE_CMD (0x5)
-#define DTLB_CTRL_ENABLE_CMD (0x9)
+#define DTLB_CTRL_DISABLE_CMD (0x9)
+#define DTLB_CTRL_ENABLE_CMD (0x11)
/* @vpfn : virtual page frame number
* @pfn : physical page frame number
Please sign in to comment.
Something went wrong with that request. Please try again.