mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
exec: Make stl_*_phys input an AddressSpace
Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
This commit is contained in:
parent
f606604f1c
commit
ab1da85791
25 changed files with 133 additions and 115 deletions
|
@ -46,7 +46,8 @@
|
|||
(ldl_le_phys(&address_space_memory, \
|
||||
rs_pa + offsetof(struct PVSCSIRingsState, field)))
|
||||
#define RS_SET_FIELD(rs_pa, field, val) \
|
||||
(stl_le_phys(rs_pa + offsetof(struct PVSCSIRingsState, field), val))
|
||||
(stl_le_phys(&address_space_memory, \
|
||||
rs_pa + offsetof(struct PVSCSIRingsState, field), val))
|
||||
|
||||
#define TYPE_PVSCSI "pvscsi"
|
||||
#define PVSCSI(obj) OBJECT_CHECK(PVSCSIState, (obj), TYPE_PVSCSI)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue