提交 dc9e234f 编写于 作者: V Vineet Gupta

ARC: cosmetic: Remove unused ECR bitfield masks

Signed-off-by: NVineet Gupta <vgupta@synopsys.com>
上级 1425d5e7
...@@ -50,11 +50,7 @@ ...@@ -50,11 +50,7 @@
* [15: 8] = Exception Cause Code * [15: 8] = Exception Cause Code
* [ 7: 0] = Exception Parameters (for certain types only) * [ 7: 0] = Exception Parameters (for certain types only)
*/ */
#define ECR_VEC_MASK 0xff0000 #define ECR_V_MEM_ERR 0x01
#define ECR_CODE_MASK 0x00ff00
#define ECR_PARAM_MASK 0x0000ff
/* Exception Cause Vector Values */
#define ECR_V_INSN_ERR 0x02 #define ECR_V_INSN_ERR 0x02
#define ECR_V_MACH_CHK 0x20 #define ECR_V_MACH_CHK 0x20
#define ECR_V_ITLB_MISS 0x21 #define ECR_V_ITLB_MISS 0x21
...@@ -62,7 +58,8 @@ ...@@ -62,7 +58,8 @@
#define ECR_V_PROTV 0x23 #define ECR_V_PROTV 0x23
#define ECR_V_TRAP 0x25 #define ECR_V_TRAP 0x25
/* Protection Violation Exception Cause Code Values */ /* DTLB Miss and Protection Violation Cause Codes */
#define ECR_C_PROTV_INST_FETCH 0x00 #define ECR_C_PROTV_INST_FETCH 0x00
#define ECR_C_PROTV_LOAD 0x01 #define ECR_C_PROTV_LOAD 0x01
#define ECR_C_PROTV_STORE 0x02 #define ECR_C_PROTV_STORE 0x02
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册