qemu/target/i386/whpx
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
..
meson.build accel: replace struct CpusAccel with AccelOpsClass 2021-02-05 10:24:15 -10:00
whpx-accel-ops.c Use g_new() & friends where that makes obvious sense 2022-03-21 15:44:44 +01:00
whpx-accel-ops.h accel: replace struct CpusAccel with AccelOpsClass 2021-02-05 10:24:15 -10:00
whpx-all.c Replace qemu_real_host_page variables with inlined functions 2022-04-06 10:50:38 +02:00
whpx-apic.c whpx: move whpx_lapic_state from header to c file 2021-01-12 12:38:03 +01:00
whpx-internal.h whpx: move whpx_lapic_state from header to c file 2021-01-12 12:38:03 +01:00