Commit d6698a2c authored by Thiemo Seufer's avatar Thiemo Seufer Committed by Ralf Baechle

[MIPS] TLB: Fix instruction bitmasks

Signed-Off-By: default avatarThiemo Seufer <ths@networkno.de>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 8bce4e9d
...@@ -78,7 +78,7 @@ enum fields ...@@ -78,7 +78,7 @@ enum fields
SET = 0x200 SET = 0x200
}; };
#define OP_MASK 0x2f #define OP_MASK 0x3f
#define OP_SH 26 #define OP_SH 26
#define RS_MASK 0x1f #define RS_MASK 0x1f
#define RS_SH 21 #define RS_SH 21
...@@ -92,7 +92,7 @@ enum fields ...@@ -92,7 +92,7 @@ enum fields
#define IMM_SH 0 #define IMM_SH 0
#define JIMM_MASK 0x3ffffff #define JIMM_MASK 0x3ffffff
#define JIMM_SH 0 #define JIMM_SH 0
#define FUNC_MASK 0x2f #define FUNC_MASK 0x3f
#define FUNC_SH 0 #define FUNC_SH 0
#define SET_MASK 0x7 #define SET_MASK 0x7
#define SET_SH 0 #define SET_SH 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment