qemu-e2k/include/qemu
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
..
accel.h
atomic128.h
atomic.h
base64.h
bcd.h
bitmap.h
bitops.h
bswap.h
buffer.h
cacheflush.h
cacheinfo.h
co-shared-resource.h
compiler.h
config-file.h
coroutine_int.h
coroutine-tls.h
coroutine.h
cpuid.h
crc32c.h
crc-ccitt.h
ctype.h
cutils.h
datadir.h
dbus.h
drm.h
envlist.h
error-report.h
event_notifier.h
fifo8.h
fifo32.h
filemonitor.h
futex.h
guest-random.h
hbitmap.h
help_option.h
host-utils.h
hw-version.h
id.h
int128.h
iov.h
iova-tree.h
jhash.h
job.h
lockable.h
log-for-trace.h
log.h
madvise.h
main-loop.h
memalign.h
memfd.h
mmap-alloc.h
module.h
mprotect.h
notify.h
nvdimm-utils.h
option_int.h
option.h
osdep.h Replace qemu_real_host_page variables with inlined functions 2022-04-06 10:50:38 +02:00
path.h
plugin-memory.h
plugin.h
pmem.h
processor.h
progress_meter.h
qdist.h
qemu-options.h
qemu-plugin.h
qemu-print.h
qht.h
qsp.h
queue.h
range.h
ratelimit.h
rcu_queue.h
rcu.h
readline.h
selfmap.h
seqlock.h
sockets.h
stats64.h
sys_membarrier.h
systemd.h
thread-posix.h
thread-win32.h
thread.h
throttle-options.h
throttle.h
timed-average.h
timer.h
transactions.h
tsan.h
typedefs.h
unicode.h
units.h
uri.h
userfaultfd.h
uuid.h
vfio-helpers.h
vhost-user-server.h
win_dump_defs.h
xattr.h
xxhash.h
yank.h