Searched refs:hart_count (Results 1 – 5 of 5) sorted by relevance
/openbmc/qemu/hw/riscv/ |
H A D | spike.c | 207 int i, base_hartid, hart_count; in spike_board_init() local 230 hart_count = riscv_socket_hart_count(machine, i); in spike_board_init() 231 if (hart_count < 0) { in spike_board_init() 245 hart_count, &error_abort); in spike_board_init() 251 base_hartid, hart_count, false); in spike_board_init() 255 RISCV_ACLINT_DEFAULT_MTIMER_SIZE, base_hartid, hart_count, in spike_board_init()
|
H A D | virt.c | 1209 int base_hartid, int hart_count) in virt_create_plic() argument 1215 plic_hart_config = riscv_plic_hart_config_string(hart_count); in virt_create_plic() 1220 plic_hart_config, hart_count, base_hartid, in virt_create_plic() 1236 int base_hartid, int hart_count) in virt_create_aia() argument 1250 for (i = 0; i < hart_count; i++) { in virt_create_aia() 1260 for (i = 0; i < hart_count; i++) { in virt_create_aia() 1273 (msimode) ? 0 : hart_count, in virt_create_aia() 1284 (msimode) ? 0 : hart_count, in virt_create_aia() 1459 int i, base_hartid, hart_count; in virt_machine_init() local 1490 hart_count = riscv_socket_hart_count(machine, i); in virt_machine_init() [all …]
|
H A D | boot.c | 47 char *riscv_plic_hart_config_string(int hart_count) in riscv_plic_hart_config_string() argument 49 g_autofree const char **vals = g_new(const char *, hart_count + 1); in riscv_plic_hart_config_string() 52 for (i = 0; i < hart_count; i++) { in riscv_plic_hart_config_string()
|
/openbmc/qemu/include/hw/riscv/ |
H A D | boot.h | 32 char *riscv_plic_hart_config_string(int hart_count);
|
/openbmc/qemu/target/riscv/kvm/ |
H A D | kvm-cpu.c | 1703 uint64_t socket, base_hart, hart_count, socket_imsic_base, imsic_addr; in kvm_riscv_aia_create() local 1794 hart_count = riscv_socket_hart_count(machine, socket); in kvm_riscv_aia_create() 1797 if (max_hart_per_socket < hart_count) { in kvm_riscv_aia_create() 1798 max_hart_per_socket = hart_count; in kvm_riscv_aia_create() 1801 for (i = 0; i < hart_count; i++) { in kvm_riscv_aia_create()
|