Skip to content

Commit

Permalink
Fix a software bug : mmu_read was sending wrong CSR_TLB_CTRL ids thus…
Browse files Browse the repository at this point in the history
… not enabling the MMU
fallen committed Jun 7, 2012

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 16a0419 commit 2c801a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions software/libhal/mmu.c
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 2c801a4

Please sign in to comment.