summary refs log tree commit diff stats
path: root/rust/qemu-api/src/prelude.rs
diff options
context:
space:
mode:
authorBibo Mao <maobibo@loongson.cn>2025-01-07 11:08:18 +0800
committerBibo Mao <maobibo@loongson.cn>2025-01-15 14:33:49 +0800
commit999b112d90be8404547eec0793f8d7c0b5d2a547 (patch)
tree4c2c9ddc1f7d5610d25e9bdf47619d23132b0f7c /rust/qemu-api/src/prelude.rs
parent1b3aa347044966a69e16a821eb44fbc16d0d58c9 (diff)
downloadfocaccia-qemu-999b112d90be8404547eec0793f8d7c0b5d2a547.tar.gz
focaccia-qemu-999b112d90be8404547eec0793f8d7c0b5d2a547.zip
hw/intc/loongson_ipi: Add more input parameter for cpu_by_arch_id
Add logic cpu index input parameter for function cpu_by_arch_id,
CPUState::cpu_index is logic cpu slot index for possible_cpus.

At the same time it is logic index with LoongsonIPICommonState::IPICore,
here hide access for CPUState::cpu_index directly, it comes from
function cpu_by_arch_id().

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Reviewed-by: Bibo Mao <maobibo@loongson.cn>
Diffstat (limited to 'rust/qemu-api/src/prelude.rs')
0 files changed, 0 insertions, 0 deletions