swtpm/include/arch_specifics.h
Stefan Berger a0061b0341 all: Apply a delay factor to timeouts for very old architectures
Apply a delay factor to timeouts if building for very old architectures,
such as m68k, that may only run on QEMU.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2026-03-05 21:08:00 -05:00

18 lines
359 B
C

// SPDX-License-Identifier: BSD-3-Clause
#ifndef SWTPM_ARCH_SPECIFICS_H
#define SWTPM_ARCH_SPECIFICS_H
#if defined (__m68k__)
/* Very slow processing on QEMU; apply a factor of '10' */
# define ARCH_PROCESSING_DELAY_FACTOR 10
#endif
#ifndef ARCH_PROCESSING_DELAY_FACTOR
# define ARCH_PROCESSING_DELAY_FACTOR 1
#endif
#endif /* SWTPM_ARCH_SPECIFICS_H */