mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-30 13:38:40 +00:00
893bb96a29
A quick hack to allow skas0 mode to run on 2G/2G hosts. Signed-off-by: Jeff Dike <jdike@addtoit.com> Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
75 lines
1.4 KiB
Plaintext
75 lines
1.4 KiB
Plaintext
menu "Host processor type and features"
|
|
|
|
source "arch/i386/Kconfig.cpu"
|
|
|
|
endmenu
|
|
|
|
config UML_X86
|
|
bool
|
|
default y
|
|
|
|
config 64BIT
|
|
bool
|
|
default n
|
|
|
|
config SEMAPHORE_SLEEPERS
|
|
bool
|
|
default y
|
|
|
|
config HOST_2G_2G
|
|
bool "2G/2G host address space split"
|
|
default n
|
|
help
|
|
This is needed when the host on which you run has a 2G/2G memory
|
|
split, instead of the customary 3G/1G.
|
|
|
|
Note that to enable such a host
|
|
configuration, which makes sense only in some cases, you need special
|
|
host patches.
|
|
|
|
So, if you do not know what to do here, say 'N'.
|
|
|
|
config TOP_ADDR
|
|
hex
|
|
default 0xc0000000 if !HOST_2G_2G
|
|
default 0x80000000 if HOST_2G_2G
|
|
|
|
config 3_LEVEL_PGTABLES
|
|
bool "Three-level pagetables (EXPERIMENTAL)"
|
|
default n
|
|
depends on EXPERIMENTAL
|
|
help
|
|
Three-level pagetables will let UML have more than 4G of physical
|
|
memory. All the memory that can't be mapped directly will be treated
|
|
as high memory.
|
|
|
|
However, this it experimental on 32-bit architectures, so if unsure say
|
|
N (on x86-64 it's automatically enabled, instead, as it's safe there).
|
|
|
|
config STUB_CODE
|
|
hex
|
|
default 0xbfffe000 if !HOST_2G_2G
|
|
default 0x7fffe000 if HOST_2G_2G
|
|
|
|
config STUB_DATA
|
|
hex
|
|
default 0xbffff000 if !HOST_2G_2G
|
|
default 0x7ffff000 if HOST_2G_2G
|
|
|
|
config STUB_START
|
|
hex
|
|
default STUB_CODE
|
|
|
|
config ARCH_HAS_SC_SIGNALS
|
|
bool
|
|
default y
|
|
|
|
config ARCH_REUSE_HOST_VSYSCALL_AREA
|
|
bool
|
|
default y
|
|
|
|
config GENERIC_HWEIGHT
|
|
bool
|
|
default y
|
|
|