qemu-patch-raspberry4/include/exec
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
..
user abitypes.h: Remove incorrect ARM ABI_LLONG_ALIGNMENT 2013-09-10 19:09:33 +01:00
address-spaces.h exec: move include files to include/exec/ 2012-12-19 08:31:31 +01:00
cpu-all.h exec: Reduce ifdeffery around -mem-path 2013-09-12 11:45:31 -05:00
cpu-common.h memory: return MemoryRegion from qemu_ram_addr_from_host 2013-07-04 17:42:46 +02:00
cpu-defs.h cpu: Drop cpu_model_str from CPU_COMMON 2013-10-07 11:48:47 +02:00
cputlb.h exec: Resolve subpages in one step except for IOTLB fills 2013-06-20 16:32:46 +02:00
def-helper.h tcg: Put target helper data into an array. 2013-10-10 11:44:25 -07:00
exec-all.h exec: Fix prototype of phys_mem_set_alloc and related functions 2013-10-14 08:50:34 -07:00
gdbstub.h cpu: Introduce CPUClass::gdb_{read,write}_register() 2013-07-27 00:04:17 +02:00
gen-icount.h tcg: Change tcg_gen_exit_tb argument to uintptr_t 2013-09-02 09:08:30 -07:00
hwaddr.h hwaddr: Make hwaddr type usable beyond softmmu 2013-06-28 13:25:13 +02:00
ioport.h memory: Provide separate handling of unassigned io ports accesses 2013-09-05 18:11:43 +02:00
memory-internal.h ioport: Switch dispatching to memory core layer 2013-07-04 17:42:44 +02:00
memory.h exec: separate current radix tree from the one being built 2013-07-04 17:42:49 +02:00
poison.h exec: Remove env from list of poisoned names 2013-07-27 11:22:54 +04:00
softmmu-semi.h exec: Change cpu_memory_rw_debug() argument to CPUState 2013-07-23 02:41:33 +02:00
softmmu_exec.h exec: Split softmmu_defs.h 2013-09-02 09:08:30 -07:00
softmmu_header.h exec: move include files to include/exec/ 2012-12-19 08:31:31 +01:00
softmmu_template.h exec: Add both big- and little-endian memory helpers 2013-10-10 13:19:21 -07:00
spinlock.h exec: move include files to include/exec/ 2012-12-19 08:31:31 +01:00