diff options
author | Logan Gunthorpe <logang@deltatee.com> | 2018-11-20 16:36:10 -0700 |
---|---|---|
committer | Logan Gunthorpe <logang@deltatee.com> | 2018-11-20 16:38:38 -0700 |
commit | 23de87d808c615dc47620876a7daa112994bf948 (patch) | |
tree | f3fa55382e9b52582bc5c260eecaeef095c63e69 /README.md | |
parent | 7bee30c1ff56975041ffc67cd0170d7477aba865 (diff) | |
download | riscv-pk-23de87d808c615dc47620876a7daa112994bf948.zip riscv-pk-23de87d808c615dc47620876a7daa112994bf948.tar.gz riscv-pk-23de87d808c615dc47620876a7daa112994bf948.tar.bz2 |
Fix the calculation for the number of interrupt enable words
The number of interrupt enable words should be the number of devices
divided by the number of bits per word (not the number of bytes per
word) and it should round up.
Without this fix, when using a larger number of interrupts,
the user will see a number of errors in qemu of the form:
plic: invalid register write: %08x
Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions