diff options
author | 2024-01-22 09:33:47 -0300 | |
---|---|---|
committer | 2024-02-09 20:43:14 +1000 | |
commit | b077aec9c980a1b67adc63c8475d42d50ed8ac37 (patch) | |
tree | 503825e3ca2f9e374e0fc6486b7fd42ebf6a9066 /docs/conf.py | |
parent | target/riscv: Enable xtheadsync under user mode (diff) | |
download | qemu-b077aec9c980a1b67adc63c8475d42d50ed8ac37.tar.xz qemu-b077aec9c980a1b67adc63c8475d42d50ed8ac37.zip |
target/riscv/cpu.c: add riscv_bare_cpu_init()
Next patch will add more bare CPUs. Their cpu_init() functions would be
glorified copy/pastes of rv64i_bare_cpu_init(), differing only by a
riscv_cpu_set_misa() call.
Add a new .instance_init for the TYPE_RISCV_BARE_CPU typ to avoid this
code repetition. While we're at it, add a better explanation on why
we're disabling the timing extensions for bare CPUs.
Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-ID: <20240122123348.973288-2-dbarboza@ventanamicro.com>
[ Changes by AF:
- Rebase on latest changes
]
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'docs/conf.py')
0 files changed, 0 insertions, 0 deletions