summary refs log tree commit diff stats
path: root/hw/timer/lm32_timer.c
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2019-05-17 08:51:25 -0700
committerPalmer Dabbelt <palmer@sifive.com>2019-06-27 02:47:06 -0700
commit05446f4133ea1fe4b444ba80a823fc1df1a9eeaf (patch)
tree85484054e09d6852807df498a18852536528f56f /hw/timer/lm32_timer.c
parent382cb4392ff8c3fa911d10da959eb8b0cbee15af (diff)
downloadfocaccia-qemu-05446f4133ea1fe4b444ba80a823fc1df1a9eeaf.tar.gz
focaccia-qemu-05446f4133ea1fe4b444ba80a823fc1df1a9eeaf.zip
riscv: sifive_u: Update the plic hart config to support multicore
At present the PLIC is instantiated to support only one hart, while
the machine allows at most 4 harts to be created. When more than 1
hart is configured, PLIC needs to instantiated to support multicore,
otherwise an SMP OS does not work.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'hw/timer/lm32_timer.c')
0 files changed, 0 insertions, 0 deletions