|
| From: | Richard Henderson |
| Subject: | Re: [PATCH 2/2] target/riscv: Support xtheadmaee for thead-c906 |
| Date: | Wed, 31 Jan 2024 15:07:42 +1000 |
| User-agent: | Mozilla Thunderbird |
On 1/30/24 21:11, LIU Zhiwei wrote:
+riscv_csr_operations th_csr_ops[CSR_TABLE_SIZE] = {
+#if !defined(CONFIG_USER_ONLY)
+ [CSR_TH_MXSTATUS] = { "th_mxstatus", th_maee_check, read_th_mxstatus,
+ write_th_mxstatus},
+#endif /* !CONFIG_USER_ONLY */
+};
This is clearly the wrong data structure for a single entry in the array. r~
| [Prev in Thread] | Current Thread | [Next in Thread] |