Kconfig 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. mainmenu "User Mode Linux/$SUBARCH $KERNELVERSION Kernel Configuration"
  2. source "arch/um/Kconfig.common"
  3. menu "UML-specific options"
  4. menu "Host processor type and features"
  5. source "arch/x86/Kconfig.cpu"
  6. endmenu
  7. config UML_X86
  8. def_bool y
  9. select GENERIC_FIND_FIRST_BIT
  10. config 64BIT
  11. bool "64-bit kernel" if SUBARCH = "x86"
  12. default SUBARCH != "i386"
  13. config X86_32
  14. def_bool !64BIT
  15. select HAVE_AOUT
  16. select ARCH_WANT_IPC_PARSE_VERSION
  17. select MODULES_USE_ELF_REL
  18. select CLONE_BACKWARDS
  19. select OLD_SIGSUSPEND3
  20. select OLD_SIGACTION
  21. config X86_64
  22. def_bool 64BIT
  23. select MODULES_USE_ELF_RELA
  24. config ARCH_DEFCONFIG
  25. string
  26. default "arch/um/configs/i386_defconfig" if X86_32
  27. default "arch/um/configs/x86_64_defconfig" if X86_64
  28. config RWSEM_XCHGADD_ALGORITHM
  29. def_bool 64BIT
  30. config RWSEM_GENERIC_SPINLOCK
  31. def_bool !RWSEM_XCHGADD_ALGORITHM
  32. config 3_LEVEL_PGTABLES
  33. bool "Three-level pagetables" if !64BIT
  34. default 64BIT
  35. help
  36. Three-level pagetables will let UML have more than 4G of physical
  37. memory. All the memory that can't be mapped directly will be treated
  38. as high memory.
  39. However, this it experimental on 32-bit architectures, so if unsure say
  40. N (on x86-64 it's automatically enabled, instead, as it's safe there).
  41. config ARCH_HAS_SC_SIGNALS
  42. def_bool !64BIT
  43. config ARCH_REUSE_HOST_VSYSCALL_AREA
  44. def_bool !64BIT
  45. config GENERIC_HWEIGHT
  46. def_bool y
  47. source "arch/um/Kconfig.um"
  48. endmenu
  49. source "arch/um/Kconfig.rest"