host_arch.h 607 B

123456789101112131415161718192021222324
  1. #if 0
  2. # SPDX SPDX-License-Identifier: GPL-2.0+
  3. #
  4. # Constants defining the host architecture in assembler, C, and make files.
  5. # The values are arbitrary.
  6. #
  7. # Copyright 2019 Heinrich Schuchardt <xypron.glpk@gmx.de>
  8. #endif
  9. #if 0
  10. export HOST_ARCH_AARCH64=0xaa64
  11. export HOST_ARCH_ARM=0x00a7
  12. export HOST_ARCH_RISCV32=0x5032
  13. export HOST_ARCH_RISCV64=0x5064
  14. export HOST_ARCH_X86=0x0386
  15. export HOST_ARCH_X86_64=0x8664
  16. #endif
  17. #define HOST_ARCH_AARCH64 0xaa64
  18. #define HOST_ARCH_ARM 0x00a7
  19. #define HOST_ARCH_RISCV32 0x5032
  20. #define HOST_ARCH_RISCV64 0x5064
  21. #define HOST_ARCH_X86 0x0386
  22. #define HOST_ARCH_X86_64 0x8664