]> git.proxmox.com Git - mirror_qemu.git/commit - hw/arm/pxa2xx.c
target-arm: Drop success/fail return from cpreg read and write functions
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 20 Feb 2014 10:35:54 +0000 (10:35 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 20 Feb 2014 10:35:54 +0000 (10:35 +0000)
commitc4241c7d381086819131fba4fc8123848d83de8a
tree600f4defa56d7b98fef22f3bd3b56827e495ce73
parent92611c0019c38c860e6926dd2073c4448c382859
target-arm: Drop success/fail return from cpreg read and write functions

All cpreg read and write functions now return 0, so we can clean up
their prototypes:
 * write functions return void
 * read functions return the value rather than taking a pointer
   to write the value to

This is a fairly mechanical change which makes only the bare
minimum set of changes to the callers of read and write functions.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
hw/arm/pxa2xx.c
hw/arm/pxa2xx_pic.c
target-arm/cpu.c
target-arm/cpu.h
target-arm/helper.c
target-arm/op_helper.c