hw/loongarch/virt: Use MemTxAttrs interface for misc ops
commitf2e61edb2946b0473ad634ed8ec401954ace5c5a
authorSong Gao <gaosong@loongson.cn>
Tue, 28 May 2024 08:38:54 +0000 (28 16:38 +0800)
committerSong Gao <gaosong@loongson.cn>
Thu, 6 Jun 2024 03:56:45 +0000 (6 11:56 +0800)
treefc6c0d7f817b062dcaeccc473fbe15a07eafefe9
parentdc6f37eb957b2888fea78bda9da0cf0840dd795f
hw/loongarch/virt: Use MemTxAttrs interface for misc ops

Use MemTxAttrs interface read_with_attrs/write_with_attrs
for virt_iocsr_misc_ops.

Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Bibo Mao <maobibo@loongson.cn>
Message-Id: <20240528083855.1912757-3-gaosong@loongson.cn>
hw/loongarch/virt.c