aboutsummaryrefslogtreecommitdiff
path: root/backends/rng-builtin.c
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2019-09-06 09:20:03 -0700
committerPalmer Dabbelt <palmer@sifive.com>2019-09-17 08:42:46 -0700
commit91c985851dd57df3b003e7bd91f1cf544b3a288d (patch)
treee6ffda5ae64dec6db9d71b5bdfaf3f55c62deb98 /backends/rng-builtin.c
parent20f41c869830fdf0ac9aec8d14b766167f47ce7d (diff)
riscv: hart: Extract hart realize to a separate routine
Currently riscv_harts_realize() creates all harts based on the same cpu type given in the hart array property. With current implementation it can only create homogeneous harts. Exact the hart realize to a separate routine in preparation for supporting multiple hart arrays. Note the file header says the RISC-V hart array holds the state of a heterogeneous array of RISC-V harts, which is not true. Update the comment to mention homogeneous array of RISC-V harts. 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 'backends/rng-builtin.c')
0 files changed, 0 insertions, 0 deletions