|
From: | yangxiaojuan |
Subject: | Re: [PATCH v1 25/43] target/loongarch: Add LoongArch CSR instruction |
Date: | Mon, 18 Apr 2022 20:38:29 +0800 |
User-agent: | Mozilla/5.0 (X11; Linux loongarch64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 |
Yes, we shoud do this.+int cpu_csr_offset(unsigned csr_num);...
+static const uint64_t csr_offsets[] = {
There's no reason for this array to be uint64_t.
It really should match the function.
[Prev in Thread] | Current Thread | [Next in Thread] |