diff options
| author | Jiajie Chen <c@jia.je> | 2023-06-14 14:55:56 +0800 |
|---|---|---|
| committer | Song Gao <gaosong@loongson.cn> | 2023-06-16 17:58:46 +0800 |
| commit | 505aa8d8f29b79fcef77563bb4124208badbd8d4 (patch) | |
| tree | 4b0c3dd3d6088b4510a367e94200b0a167048a25 /hw/remote/proxy.c | |
| parent | f33238836544cb6f3b27968d1ececbd46f037904 (diff) | |
| download | focaccia-qemu-505aa8d8f29b79fcef77563bb4124208badbd8d4.tar.gz focaccia-qemu-505aa8d8f29b79fcef77563bb4124208badbd8d4.zip | |
target/loongarch: Fix CSR.DMW0-3.VSEG check
The previous code checks whether the highest 16 bits of virtual address equal to that of CSR.DMW0-3. This is incorrect according to the spec, and is corrected to compare only the highest four bits instead. Signed-off-by: Jiajie Chen <c@jia.je> Reviewed-by: Song Gao <gaosong@loongson.cn> Message-Id: <20230614065556.2397513-1-c@jia.je> Signed-off-by: Song Gao <gaosong@loongson.cn>
Diffstat (limited to 'hw/remote/proxy.c')
0 files changed, 0 insertions, 0 deletions