diff options
author | Bibo Mao <maobibo@loongson.cn> | 2023-12-13 12:12:01 +0800 |
---|---|---|
committer | Song Gao <gaosong@loongson.cn> | 2024-01-11 19:22:47 +0800 |
commit | fdd6ee0b7653e5b195e0b351fb53bb1e6d4c84bd (patch) | |
tree | 41ec550baa07fc271e00a6985b2231b3cadc6571 /include/hw/intc | |
parent | 714b03c12599a8ce19d51cc1cd40631796c9e4f6 (diff) | |
download | qemu-fdd6ee0b7653e5b195e0b351fb53bb1e6d4c84bd.zip qemu-fdd6ee0b7653e5b195e0b351fb53bb1e6d4c84bd.tar.gz qemu-fdd6ee0b7653e5b195e0b351fb53bb1e6d4c84bd.tar.bz2 |
hw/intc/loongarch_ipi: Use MemTxAttrs interface for ipi ops
There are two interface pairs for MemoryRegionOps, read/write and
read_with_attrs/write_with_attrs. The later is better for ipi device
emulation since initial cpu can be parsed from attrs.requester_id.
And requester_id can be overrided for IOCSR_IPI_SEND and mail_send
function when it is to forward message to another vcpu.
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Reviewed-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20231215100333.3933632-2-maobibo@loongson.cn>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Diffstat (limited to 'include/hw/intc')
0 files changed, 0 insertions, 0 deletions