qemu/target
Marc-André Lureau 8e3b0cbb72 Replace qemu_real_host_page variables with inlined functions
Replace the global variables with inlined helper functions. getpagesize() is very
likely annotated with a "const" function attribute (at least with glibc), and thus
optimization should apply even better.

This avoids the need for a constructor initialization too.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20220323155743.1585078-12-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2022-04-06 10:50:38 +02:00
..
alpha Replace config-time define HOST_WORDS_BIGENDIAN 2022-04-06 10:50:37 +02:00
arm Replace TARGET_WORDS_BIGENDIAN 2022-04-06 10:50:37 +02:00
avr target: Use ArchCPU as interface to target CPU 2022-03-06 22:23:09 +01:00
cris target: Use ArchCPU as interface to target CPU 2022-03-06 22:23:09 +01:00
hexagon target/hexagon: remove unused variable 2022-03-12 09:14:22 -08:00
hppa Replace config-time define HOST_WORDS_BIGENDIAN 2022-04-06 10:50:37 +02:00
i386 Replace qemu_real_host_page variables with inlined functions 2022-04-06 10:50:38 +02:00
m68k Replace qemu_gettimeofday() with g_get_real_time() 2022-04-06 10:50:37 +02:00
microblaze target: Use ArchCPU as interface to target CPU 2022-03-06 22:23:09 +01:00
mips Replace TARGET_WORDS_BIGENDIAN 2022-04-06 10:50:37 +02:00
nios2 Replace qemu_gettimeofday() with g_get_real_time() 2022-04-06 10:50:37 +02:00
openrisc target: Use ArchCPU as interface to target CPU 2022-03-06 22:23:09 +01:00
ppc Replace qemu_real_host_page variables with inlined functions 2022-04-06 10:50:38 +02:00
riscv Replace config-time define HOST_WORDS_BIGENDIAN 2022-04-06 10:50:37 +02:00
rx target: Use ArchCPU as interface to target CPU 2022-03-06 22:23:09 +01:00
s390x Replace config-time define HOST_WORDS_BIGENDIAN 2022-04-06 10:50:37 +02:00
sh4 target/sh4: Remove old README.sh4 file 2022-03-31 21:29:15 +02:00
sparc Replace config-time define HOST_WORDS_BIGENDIAN 2022-04-06 10:50:37 +02:00
tricore target: Use ArchCPU as interface to target CPU 2022-03-06 22:23:09 +01:00
xtensa Replace TARGET_WORDS_BIGENDIAN 2022-04-06 10:50:37 +02:00
Kconfig meson: Introduce target-specific Kconfig 2021-07-09 18:21:34 +02:00
meson.build Drop the deprecated unicore32 target 2021-05-12 18:20:52 +02:00