qemu-e2k/hw
Alex Bennée 5fc983af8b semihosting/arm-compat: replace heuristic for softmmu SYS_HEAPINFO
The previous numbers were a guess at best and rather arbitrary without
taking into account anything that might be loaded. Instead of using
guesses based on the state of registers implement a new function that:

 a) scans the MemoryRegions for the largest RAM block
 b) iterates through all "ROM" blobs looking for the biggest gap

The "ROM" blobs include all code loaded via -kernel and the various
-device loader techniques.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: Andrew Strauss <astrauss11@gmail.com>
Cc: Keith Packard <keithp@keithp.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220225172021.3493923-18-alex.bennee@linaro.org>
2022-02-28 16:42:35 +00:00
..
9pfs 9pfs: Fix segfault in do_readdir_many caused by struct dirent overread 2022-02-17 16:57:58 +01:00
acpi * Improve virtio-net failover test 2022-02-22 13:07:32 +00:00
adc
alpha
arm * Improve virtio-net failover test 2022-02-22 13:07:32 +00:00
audio
avr
block Pull request 2022-02-15 19:30:33 +00:00
char
core semihosting/arm-compat: replace heuristic for softmmu SYS_HEAPINFO 2022-02-28 16:42:35 +00:00
cpu
cris
display * Improve virtio-net failover test 2022-02-22 13:07:32 +00:00
dma Mark remaining global TypeInfo instances as const 2022-02-21 13:30:20 +00:00
gpio exec/exec-all: Move 'qemu/log.h' include in units requiring it 2022-02-21 10:18:06 +01:00
hppa hppa: Add support for an emulated TOC/NMI button. 2022-02-02 18:46:42 +01:00
hyperv
i2c Kconfig: Add I2C_DEVICES device group 2022-02-21 13:30:20 +00:00
i386 Mark remaining global TypeInfo instances as const 2022-02-21 13:30:20 +00:00
ide include: Move hardware version declarations to new qemu/hw-version.h 2022-02-21 13:30:20 +00:00
input Trivial branch pull request 20220222 2022-02-22 20:17:09 +00:00
intc Mark remaining global TypeInfo instances as const 2022-02-21 13:30:20 +00:00
ipack
ipmi Mark remaining global TypeInfo instances as const 2022-02-21 13:30:20 +00:00
isa
m68k
mem Mark remaining global TypeInfo instances as const 2022-02-21 13:30:20 +00:00
microblaze
mips
misc Mark remaining global TypeInfo instances as const 2022-02-21 13:30:20 +00:00
net Mark remaining global TypeInfo instances as const 2022-02-21 13:30:20 +00:00
nios2
nubus
nvme hw/nvme: add support for zoned random write area 2022-02-14 08:58:29 +01:00
nvram hw/nvram: use at24 macro 2022-02-21 18:21:54 +01:00
openrisc
pci
pci-bridge
pci-host
pcmcia
ppc Mark remaining global TypeInfo instances as const 2022-02-21 13:30:20 +00:00
rdma
remote hw/remote: Add missing include 2022-02-21 10:18:06 +01:00
riscv hw/riscv: virt: Use AIA INTC compatible string when available 2022-02-16 12:24:19 +10:00
rtc Kconfig: Add I2C_DEVICES device group 2022-02-21 13:30:20 +00:00
rx
s390x Mark remaining global TypeInfo instances as const 2022-02-21 13:30:20 +00:00
scsi include: Move hardware version declarations to new qemu/hw-version.h 2022-02-21 13:30:20 +00:00
sd Mark remaining global TypeInfo instances as const 2022-02-21 13:30:20 +00:00
sensor Kconfig: Add I2C_DEVICES device group 2022-02-21 13:30:20 +00:00
sh4
smbios
sparc
sparc64
ssi
timer hw/timer: fix a9gtimer vmstate 2022-02-21 13:30:21 +00:00
tpm hw/tpm: Clean includes 2022-02-21 10:18:06 +01:00
tricore
usb Trivial branch pull request 20220222 2022-02-22 20:17:09 +00:00
vfio Mark remaining global TypeInfo instances as const 2022-02-21 13:30:20 +00:00
virtio include: Move qemu_madvise() and related #defines to new qemu/madvise.h 2022-02-21 13:30:20 +00:00
watchdog
xen
xenpv
xtensa
Kconfig
meson.build