mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-24 12:09:58 +00:00
8e3b0cbb72
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> |
||
---|---|---|
.. | ||
Kconfig | ||
meson.build | ||
tpm_crb.c | ||
tpm_ppi.c | ||
tpm_ppi.h | ||
tpm_prop.h | ||
tpm_spapr.c | ||
tpm_tis_common.c | ||
tpm_tis_isa.c | ||
tpm_tis_sysbus.c | ||
tpm_tis.h | ||
trace-events | ||
trace.h |