diff options
| author | Yong-Xuan Wang <yongxuan.wang@sifive.com> | 2023-12-18 09:05:40 +0000 |
|---|---|---|
| committer | Alistair Francis <alistair.francis@wdc.com> | 2024-01-10 18:47:47 +1000 |
| commit | ca334e10dcd1f0f3a3c08f8dc3f9945d574d0e6b (patch) | |
| tree | fa980cef4b45810cf61d0e04f41378c7906d9ce7 /docs/devel/secure-coding-practices.rst | |
| parent | d641da6ed431f497b763a6e6bf30e0b4dc00e0d9 (diff) | |
| download | focaccia-qemu-ca334e10dcd1f0f3a3c08f8dc3f9945d574d0e6b.tar.gz focaccia-qemu-ca334e10dcd1f0f3a3c08f8dc3f9945d574d0e6b.zip | |
hw/riscv/virt.c: fix the interrupts-extended property format of PLIC
The interrupts-extended property of PLIC only has 2 * hart number fields when KVM enabled, copy 4 * hart number fields to fdt will expose some uninitialized value. In this patch, I also refactor the code about the setting of interrupts-extended property of PLIC for improved readability. Signed-off-by: Yong-Xuan Wang <yongxuan.wang@sifive.com> Reviewed-by: Jim Shu <jim.shu@sifive.com> Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com> Message-ID: <20231218090543.22353-1-yongxuan.wang@sifive.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'docs/devel/secure-coding-practices.rst')
0 files changed, 0 insertions, 0 deletions