Re: [Qemu-devel] [PATCH 03/13] hw: use ld_p/st_p instead of ld_raw/st_raw

2014-05-28 Thread Paolo Bonzini
Il 28/05/2014 18:57, Peter Maydell ha scritto: On 23 May 2014 16:20, Paolo Bonzini wrote: The ld_raw and st_raw definitions are only needed in code that must compile for both user-mode and softmmu emulation. Device models can use the equivalent ld_p/st_p which are simple pointer accessors. Si

Re: [Qemu-devel] [PATCH 03/13] hw: use ld_p/st_p instead of ld_raw/st_raw

2014-05-28 Thread Peter Maydell
On 23 May 2014 16:20, Paolo Bonzini wrote: > The ld_raw and st_raw definitions are only needed in code that > must compile for both user-mode and softmmu emulation. Device > models can use the equivalent ld_p/st_p which are simple > pointer accessors. > > Signed-off-by: Paolo Bonzini This patch

[Qemu-devel] [PATCH 03/13] hw: use ld_p/st_p instead of ld_raw/st_raw

2014-05-23 Thread Paolo Bonzini
The ld_raw and st_raw definitions are only needed in code that must compile for both user-mode and softmmu emulation. Device models can use the equivalent ld_p/st_p which are simple pointer accessors. Signed-off-by: Paolo Bonzini --- hw/9pfs/virtio-9p-device.c |2 +- hw/arm/nseries.c