mirror of
https://github.com/stefanberger/swtpm.git
synced 2026-08-07 19:51:51 +00:00
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>
18 lines
359 B
C
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 */
|