Kconfig 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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 ARCH_BINFMT_ELF_EXTRA_PHDRS if X86_32
  8. select DCACHE_WORD_ACCESS
  9. config 64BIT
  10. bool "64-bit kernel" if "$(SUBARCH)" = "x86"
  11. default "$(SUBARCH)" != "i386"
  12. config X86_32
  13. def_bool !64BIT
  14. select ARCH_32BIT_OFF_T
  15. select ARCH_WANT_IPC_PARSE_VERSION
  16. select MODULES_USE_ELF_REL
  17. select CLONE_BACKWARDS
  18. select OLD_SIGSUSPEND3
  19. select OLD_SIGACTION
  20. config X86_64
  21. def_bool 64BIT
  22. select MODULES_USE_ELF_RELA
  23. config 3_LEVEL_PGTABLES
  24. bool "Three-level pagetables" if !64BIT
  25. default 64BIT
  26. help
  27. Three-level pagetables will let UML have more than 4G of physical
  28. memory. All the memory that can't be mapped directly will be treated
  29. as high memory.
  30. However, this it experimental on 32-bit architectures, so if unsure say
  31. N (on x86-64 it's automatically enabled, instead, as it's safe there).
  32. config ARCH_HAS_SC_SIGNALS
  33. def_bool !64BIT
  34. config ARCH_REUSE_HOST_VSYSCALL_AREA
  35. def_bool !64BIT
  36. config GENERIC_HWEIGHT
  37. def_bool y