Paolo 'Blaisorblade' Giarrusso | 8597737 | 2005-11-13 16:07:06 -0800 | [diff] [blame] | 1 | menu "Host processor type and features" |
| 2 | |
Al Viro | 7a78a17 | 2007-10-29 04:34:31 +0000 | [diff] [blame] | 3 | source "arch/x86/Kconfig.cpu" |
Paolo 'Blaisorblade' Giarrusso | 8597737 | 2005-11-13 16:07:06 -0800 | [diff] [blame] | 4 | |
| 5 | endmenu |
| 6 | |
Paolo 'Blaisorblade' Giarrusso | c45166be3 | 2005-05-01 08:58:54 -0700 | [diff] [blame] | 7 | config UML_X86 |
| 8 | bool |
| 9 | default y |
| 10 | |
| 11 | config 64BIT |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 12 | bool |
| 13 | default n |
| 14 | |
Benjamin LaHaise | 52fdd08 | 2005-09-03 15:56:52 -0700 | [diff] [blame] | 15 | config SEMAPHORE_SLEEPERS |
| 16 | bool |
| 17 | default y |
| 18 | |
Paolo 'Blaisorblade' Giarrusso | c21be1c | 2006-10-11 01:21:42 -0700 | [diff] [blame] | 19 | choice |
| 20 | prompt "Host memory split" |
| 21 | default HOST_VMSPLIT_3G |
Jeff Dike | fe33f6f | 2007-01-26 00:57:12 -0800 | [diff] [blame] | 22 | help |
| 23 | This is needed when the host kernel on which you run has a non-default |
| 24 | (like 2G/2G) memory split, instead of the customary 3G/1G. If you did |
| 25 | not recompile your own kernel but use the default distro's one, you can |
| 26 | safely accept the "Default split" option. |
Joris van Rantwijk | 893bb96 | 2006-05-01 12:15:56 -0700 | [diff] [blame] | 27 | |
Jeff Dike | fe33f6f | 2007-01-26 00:57:12 -0800 | [diff] [blame] | 28 | It can be enabled on recent (>=2.6.16-rc2) vanilla kernels via |
| 29 | CONFIG_VM_SPLIT_*, or on previous kernels with special patches (-ck |
| 30 | patchset by Con Kolivas, or other ones) - option names match closely the |
| 31 | host CONFIG_VM_SPLIT_* ones. |
Joris van Rantwijk | 893bb96 | 2006-05-01 12:15:56 -0700 | [diff] [blame] | 32 | |
Jeff Dike | fe33f6f | 2007-01-26 00:57:12 -0800 | [diff] [blame] | 33 | A lower setting (where 1G/3G is lowest and 3G/1G is higher) will |
| 34 | tolerate even more "normal" host kernels, but an higher setting will be |
| 35 | stricter. |
Paolo 'Blaisorblade' Giarrusso | c21be1c | 2006-10-11 01:21:42 -0700 | [diff] [blame] | 36 | |
Jeff Dike | fe33f6f | 2007-01-26 00:57:12 -0800 | [diff] [blame] | 37 | So, if you do not know what to do here, say 'Default split'. |
Paolo 'Blaisorblade' Giarrusso | c21be1c | 2006-10-11 01:21:42 -0700 | [diff] [blame] | 38 | |
Al Viro | b20c845 | 2007-01-30 13:23:40 +0000 | [diff] [blame] | 39 | config HOST_VMSPLIT_3G |
| 40 | bool "Default split (3G/1G user/kernel host split)" |
| 41 | config HOST_VMSPLIT_3G_OPT |
| 42 | bool "3G/1G user/kernel host split (for full 1G low memory)" |
| 43 | config HOST_VMSPLIT_2G |
| 44 | bool "2G/2G user/kernel host split" |
| 45 | config HOST_VMSPLIT_1G |
| 46 | bool "1G/3G user/kernel host split" |
Paolo 'Blaisorblade' Giarrusso | c21be1c | 2006-10-11 01:21:42 -0700 | [diff] [blame] | 47 | endchoice |
Joris van Rantwijk | 893bb96 | 2006-05-01 12:15:56 -0700 | [diff] [blame] | 48 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 49 | config TOP_ADDR |
Paolo 'Blaisorblade' Giarrusso | c21be1c | 2006-10-11 01:21:42 -0700 | [diff] [blame] | 50 | hex |
| 51 | default 0xB0000000 if HOST_VMSPLIT_3G_OPT |
| 52 | default 0x78000000 if HOST_VMSPLIT_2G |
| 53 | default 0x40000000 if HOST_VMSPLIT_1G |
| 54 | default 0xC0000000 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 55 | |
| 56 | config 3_LEVEL_PGTABLES |
Paolo 'Blaisorblade' Giarrusso | ce2d2ae | 2006-01-18 17:42:59 -0800 | [diff] [blame] | 57 | bool "Three-level pagetables (EXPERIMENTAL)" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 58 | default n |
Paolo 'Blaisorblade' Giarrusso | ce2d2ae | 2006-01-18 17:42:59 -0800 | [diff] [blame] | 59 | depends on EXPERIMENTAL |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 60 | help |
| 61 | Three-level pagetables will let UML have more than 4G of physical |
| 62 | memory. All the memory that can't be mapped directly will be treated |
| 63 | as high memory. |
| 64 | |
Paolo 'Blaisorblade' Giarrusso | ce2d2ae | 2006-01-18 17:42:59 -0800 | [diff] [blame] | 65 | However, this it experimental on 32-bit architectures, so if unsure say |
| 66 | N (on x86-64 it's automatically enabled, instead, as it's safe there). |
| 67 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 68 | config ARCH_HAS_SC_SIGNALS |
| 69 | bool |
| 70 | default y |
| 71 | |
| 72 | config ARCH_REUSE_HOST_VSYSCALL_AREA |
| 73 | bool |
| 74 | default y |
Akinobu Mita | f214ef3 | 2006-03-26 01:38:59 -0800 | [diff] [blame] | 75 | |
| 76 | config GENERIC_HWEIGHT |
| 77 | bool |
| 78 | default y |
| 79 | |