qemu-e2k/hw/tpm
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
..
Kconfig
meson.build
tpm_crb.c hw/tpm: Clean includes 2022-02-21 10:18:06 +01:00
tpm_ppi.c Replace qemu_real_host_page variables with inlined functions 2022-04-06 10:50:38 +02:00
tpm_ppi.h hw/tpm: Clean includes 2022-02-21 10:18:06 +01:00
tpm_prop.h
tpm_spapr.c tpm: tpm_spapr: Remove unused tracepoint 2021-01-25 20:56:38 -05:00
tpm_tis_common.c
tpm_tis_isa.c hw/isa: Inline and remove one-line isa_init_irq() 2022-03-08 19:38:17 +01:00
tpm_tis_sysbus.c tpm: put some tpm devices into the correct category 2021-02-20 12:36:19 +01:00
tpm_tis.h
trace-events docs: fix references to docs/devel/tracing.rst 2021-06-02 06:51:09 +02:00
trace.h