Kconfig.i386 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. menu "Host processor type and features"
  2. source "arch/i386/Kconfig.cpu"
  3. endmenu
  4. config UML_X86
  5. bool
  6. default y
  7. config 64BIT
  8. bool
  9. default n
  10. config SEMAPHORE_SLEEPERS
  11. bool
  12. default y
  13. choice
  14. prompt "Host memory split"
  15. default HOST_VMSPLIT_3G
  16. ---help---
  17. This is needed when the host kernel on which you run has a non-default
  18. (like 2G/2G) memory split, instead of the customary 3G/1G. If you did
  19. not recompile your own kernel but use the default distro's one, you can
  20. safely accept the "Default split" option.
  21. It can be enabled on recent (>=2.6.16-rc2) vanilla kernels via
  22. CONFIG_VM_SPLIT_*, or on previous kernels with special patches (-ck
  23. patchset by Con Kolivas, or other ones) - option names match closely the
  24. host CONFIG_VM_SPLIT_* ones.
  25. A lower setting (where 1G/3G is lowest and 3G/1G is higher) will
  26. tolerate even more "normal" host kernels, but an higher setting will be
  27. stricter.
  28. So, if you do not know what to do here, say 'Default split'.
  29. config HOST_VMSPLIT_3G
  30. bool "Default split (3G/1G user/kernel host split)"
  31. config HOST_VMSPLIT_3G_OPT
  32. bool "3G/1G user/kernel host split (for full 1G low memory)"
  33. config HOST_VMSPLIT_2G
  34. bool "2G/2G user/kernel host split"
  35. config HOST_VMSPLIT_1G
  36. bool "1G/3G user/kernel host split"
  37. endchoice
  38. config TOP_ADDR
  39. hex
  40. default 0xB0000000 if HOST_VMSPLIT_3G_OPT
  41. default 0x78000000 if HOST_VMSPLIT_2G
  42. default 0x40000000 if HOST_VMSPLIT_1G
  43. default 0xC0000000
  44. config 3_LEVEL_PGTABLES
  45. bool "Three-level pagetables (EXPERIMENTAL)"
  46. default n
  47. depends on EXPERIMENTAL
  48. help
  49. Three-level pagetables will let UML have more than 4G of physical
  50. memory. All the memory that can't be mapped directly will be treated
  51. as high memory.
  52. However, this it experimental on 32-bit architectures, so if unsure say
  53. N (on x86-64 it's automatically enabled, instead, as it's safe there).
  54. config STUB_CODE
  55. hex
  56. default 0xbfffe000 if !HOST_2G_2G
  57. default 0x7fffe000 if HOST_2G_2G
  58. config STUB_DATA
  59. hex
  60. default 0xbffff000 if !HOST_2G_2G
  61. default 0x7ffff000 if HOST_2G_2G
  62. config STUB_START
  63. hex
  64. default STUB_CODE
  65. config ARCH_HAS_SC_SIGNALS
  66. bool
  67. default y
  68. config ARCH_REUSE_HOST_VSYSCALL_AREA
  69. bool
  70. default y
  71. config GENERIC_HWEIGHT
  72. bool
  73. default y