Kconfig 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # SPDX-License-Identifier: GPL-2.0
  2. menu "Host processor type and features"
  3. source "arch/x86/Kconfig.cpu"
  4. endmenu
  5. config UML_X86
  6. def_bool y
  7. select GENERIC_FIND_FIRST_BIT
  8. config 64BIT
  9. bool "64-bit kernel" if "$(SUBARCH)" = "x86"
  10. default "$(SUBARCH)" != "i386"
  11. config X86_32
  12. def_bool !64BIT
  13. select ARCH_32BIT_OFF_T
  14. select ARCH_WANT_IPC_PARSE_VERSION
  15. select MODULES_USE_ELF_REL
  16. select CLONE_BACKWARDS
  17. select OLD_SIGSUSPEND3
  18. select OLD_SIGACTION
  19. config X86_64
  20. def_bool 64BIT
  21. select MODULES_USE_ELF_RELA
  22. config 3_LEVEL_PGTABLES
  23. bool "Three-level pagetables" if !64BIT
  24. default 64BIT
  25. help
  26. Three-level pagetables will let UML have more than 4G of physical
  27. memory. All the memory that can't be mapped directly will be treated
  28. as high memory.
  29. However, this it experimental on 32-bit architectures, so if unsure say
  30. N (on x86-64 it's automatically enabled, instead, as it's safe there).
  31. config ARCH_HAS_SC_SIGNALS
  32. def_bool !64BIT
  33. config ARCH_REUSE_HOST_VSYSCALL_AREA
  34. def_bool !64BIT
  35. config GENERIC_HWEIGHT
  36. def_bool y