xemu/target-s390x
Stefan Weil 575ddeb459 exec: Fix prototype of phys_mem_set_alloc and related functions
phys_mem_alloc and its assigned values qemu_anon_ram_alloc and
legacy_s390_alloc must have identical argument lists.

legacy_s390_alloc uses the size parameter to call mmap, so size_t is
good enough for all of them.

This patch fixes compiler errors on i686 Linux hosts:

  CC    alpha-softmmu/exec.o
exec.c:752:51: error:
 initialization from incompatible pointer type [-Werror]
exec.c: In function 'qemu_ram_alloc_from_ptr':
exec.c:1139:32: error:
 comparison of distinct pointer types lacks a cast [-Werror]
exec.c: In function 'qemu_ram_remap':
exec.c:1283:21: error:
 comparison of distinct pointer types lacks a cast [-Werror]

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-id: 1380481005-32399-1-git-send-email-sw@weilnetz.de
Signed-off-by: Anthony Liguori <aliguori@amazon.com>
2013-10-14 08:50:34 -07:00
..
arch_dump.c s390/dump: zero out padding bytes in notes sections 2013-09-20 12:46:53 +02:00
cc_helper.c target-s390: Convert IPM 2013-01-05 12:18:42 -08:00
cpu-qom.h s390/cpu: split CPU reset into architectured functions 2013-08-30 14:16:43 +02:00
cpu.c s390/cpu: split CPU reset into architectured functions 2013-08-30 14:16:43 +02:00
cpu.h s390/cpu: Make setcc() function available to other files 2013-09-20 12:46:53 +02:00
fpu_helper.c target-s390: Implement LOAD/SET FP AND SIGNAL 2013-01-05 12:18:45 -08:00
gdbstub.c cpu: Introduce CPUClass::gdb_{read,write}_register() 2013-07-27 00:04:17 +02:00
helper.c cpu: Drop cpu_model_str from CPU_COMMON 2013-10-07 11:48:47 +02:00
helper.h target-s390x: Use mulu2 for mlgr insn 2013-02-23 17:25:29 +00:00
insn-data.def target-s390: Perform COMPARE AND SWAP inline 2013-01-05 12:18:46 -08:00
insn-format.def target-s390: Add format based disassassmbly infrastructure 2013-01-05 12:00:27 -08:00
int_helper.c s390x: use CONFIG_INT128 to detect __uint128_t 2013-04-26 11:58:14 +02:00
interrupt.c target-s390x: Clean up cpu_inject_*() signatures 2013-02-01 02:02:20 +01:00
ioinst.c s390/ioinst: Moved the CC setting to the IO instruction handlers 2013-09-20 12:46:53 +02:00
ioinst.h s390/ioinst: Moved the CC setting to the IO instruction handlers 2013-09-20 12:46:53 +02:00
kvm.c exec: Fix prototype of phys_mem_set_alloc and related functions 2013-10-14 08:50:34 -07:00
Makefile.objs s390: Implement dump-guest-memory support for target s390x 2013-07-30 16:12:25 +02:00
mem_helper.c Remove unnecessary break statements 2013-06-01 14:25:38 +04:00
misc_helper.c s390/ebcdic: Move conversion tables to header file 2013-09-20 13:55:30 +02:00
translate.c tcg: Move helper registration into tcg_context_init 2013-10-10 11:43:37 -07:00