kconfig

来自「Linux Kernel 2.6.9 for OMAP1710」· 代码 · 共 1,221 行 · 第 1/3 页

TXT
1,221
字号
## For a description of the syntax of this configuration file,# see Documentation/kbuild/kconfig-language.txt.#mainmenu "Linux Kernel Configuration"config X86	bool	default y	help	  This is Linux's home port.  Linux was originally native to the Intel	  386, and runs on all the later x86 processors including the Intel	  486, 586, Pentiums, and various instruction-set-compatible chips by	  AMD, Cyrix, and others.config MMU	bool	default yconfig SBUS	boolconfig UID16	bool	default yconfig GENERIC_ISA_DMA	bool	default yconfig GENERIC_IOMAP	bool	default ysource "init/Kconfig"menu "Processor type and features"choice	prompt "Subarchitecture Type"	default X86_PCconfig X86_PC	bool "PC-compatible"	help	  Choose this option if your computer is a standard PC or compatible.config X86_ELAN	bool "AMD Elan"	help	  Select this for an AMD Elan processor.	  Do not use this option for K6/Athlon/Opteron processors!	  If unsure, choose "PC-compatible" instead.config X86_VOYAGER	bool "Voyager (NCR)"	help	  Voyager is an MCA-based 32-way capable SMP architecture proprietary	  to NCR Corp.  Machine classes 345x/35xx/4100/51xx are Voyager-based.	  *** WARNING ***	  If you do not specifically know you have a Voyager based machine,	  say N here, otherwise the kernel you build will not be bootable.config X86_NUMAQ	bool "NUMAQ (IBM/Sequent)"	select DISCONTIGMEM	select NUMA	help	  This option is used for getting Linux to run on a (IBM/Sequent) NUMA	  multiquad box. This changes the way that processors are bootstrapped,	  and uses Clustered Logical APIC addressing mode instead of Flat Logical.	  You will need a new lynxer.elf file to flash your firmware with - send	  email to <Martin.Bligh@us.ibm.com>.config X86_SUMMIT	bool "Summit/EXA (IBM x440)"	depends on SMP	help	  This option is needed for IBM systems that use the Summit/EXA chipset.	  In particular, it is needed for the x440.	  If you don't have one of these computers, you should say N here.config X86_BIGSMP	bool "Support for other sub-arch SMP systems with more than 8 CPUs"	depends on SMP	help	  This option is needed for the systems that have more than 8 CPUs	  and if the system is not of any sub-arch type above.	  If you don't have such a system, you should say N here.config X86_VISWS	bool "SGI 320/540 (Visual Workstation)"	help	  The SGI Visual Workstation series is an IA32-based workstation	  based on SGI systems chips with some legacy PC hardware attached.	  Say Y here to create a kernel to run on the SGI 320 or 540.	  A kernel compiled for the Visual Workstation will not run on PCs	  and vice versa. See <file:Documentation/sgi-visws.txt> for details.config X86_GENERICARCH       bool "Generic architecture (Summit, bigsmp, ES7000, default)"       depends on SMP       help          This option compiles in the Summit, bigsmp, ES7000, default subarchitectures.	  It is intended for a generic binary kernel.config X86_ES7000	bool "Support for Unisys ES7000 IA32 series"	depends on SMP	help	  Support for Unisys ES7000 systems.  Say 'Y' here if this kernel is	  supposed to run on an IA32-based Unisys ES7000 system.	  Only choose this option if you have such a system, otherwise you	  should say N here.endchoiceconfig ACPI_SRAT	bool	default y	depends on NUMA && (X86_SUMMIT || X86_GENERICARCH)config X86_SUMMIT_NUMA	bool	default y	depends on NUMA && (X86_SUMMIT || X86_GENERICARCH)config X86_CYCLONE_TIMER	bool	default y	depends on X86_SUMMIT || X86_GENERICARCHconfig ES7000_CLUSTERED_APIC	bool	default y	depends on SMP && X86_ES7000 && MPENTIUMIIIif !X86_ELANchoice	prompt "Processor family"	default M686config M386	bool "386"	---help---	  This is the processor type of your CPU. This information is used for	  optimizing purposes. In order to compile a kernel that can run on	  all x86 CPU types (albeit not optimally fast), you can specify	  "386" here.	  The kernel will not necessarily run on earlier architectures than	  the one you have chosen, e.g. a Pentium optimized kernel will run on	  a PPro, but not necessarily on a i486.	  Here are the settings recommended for greatest speed:	  - "386" for the AMD/Cyrix/Intel 386DX/DXL/SL/SLC/SX, Cyrix/TI	  486DLC/DLC2, UMC 486SX-S and NexGen Nx586.  Only "386" kernels	  will run on a 386 class machine.	  - "486" for the AMD/Cyrix/IBM/Intel 486DX/DX2/DX4 or	  SL/SLC/SLC2/SLC3/SX/SX2 and UMC U5D or U5S.	  - "586" for generic Pentium CPUs lacking the TSC	  (time stamp counter) register.	  - "Pentium-Classic" for the Intel Pentium.	  - "Pentium-MMX" for the Intel Pentium MMX.	  - "Pentium-Pro" for the Intel Pentium Pro.	  - "Pentium-II" for the Intel Pentium II or pre-Coppermine Celeron.	  - "Pentium-III" for the Intel Pentium III or Coppermine Celeron.	  - "Pentium-4" for the Intel Pentium 4 or P4-based Celeron.	  - "K6" for the AMD K6, K6-II and K6-III (aka K6-3D).	  - "Athlon" for the AMD K7 family (Athlon/Duron/Thunderbird).	  - "Crusoe" for the Transmeta Crusoe series.	  - "Winchip-C6" for original IDT Winchip.	  - "Winchip-2" for IDT Winchip 2.	  - "Winchip-2A" for IDT Winchips with 3dNow! capabilities.	  - "CyrixIII/VIA C3" for VIA Cyrix III or VIA C3.	  - "VIA C3-2 for VIA C3-2 "Nehemiah" (model 9 and above).	  If you don't know what to do, choose "386".config M486	bool "486"	help	  Select this for a 486 series processor, either Intel or one of the	  compatible processors from AMD, Cyrix, IBM, or Intel.  Includes DX,	  DX2, and DX4 variants; also SL/SLC/SLC2/SLC3/SX/SX2 and UMC U5D or	  U5S.config M586	bool "586/K5/5x86/6x86/6x86MX"	help	  Select this for an 586 or 686 series processor such as the AMD K5,	  the Intel 5x86 or 6x86, or the Intel 6x86MX.  This choice does not	  assume the RDTSC (Read Time Stamp Counter) instruction.config M586TSC	bool "Pentium-Classic"	help	  Select this for a Pentium Classic processor with the RDTSC (Read	  Time Stamp Counter) instruction for benchmarking.config M586MMX	bool "Pentium-MMX"	help	  Select this for a Pentium with the MMX graphics/multimedia	  extended instructions.config M686	bool "Pentium-Pro"	help	  Select this for Intel Pentium Pro chips.  This enables the use of	  Pentium Pro extended instructions, and disables the init-time guard	  against the f00f bug found in earlier Pentiums.config MPENTIUMII	bool "Pentium-II/Celeron(pre-Coppermine)"	help	  Select this for Intel chips based on the Pentium-II and	  pre-Coppermine Celeron core.  This option enables an unaligned	  copy optimization, compiles the kernel with optimization flags	  tailored for the chip, and applies any applicable Pentium Pro	  optimizations.config MPENTIUMIII	bool "Pentium-III/Celeron(Coppermine)/Pentium-III Xeon"	help	  Select this for Intel chips based on the Pentium-III and	  Celeron-Coppermine core.  This option enables use of some	  extended prefetch instructions in addition to the Pentium II	  extensions.config MPENTIUMM	bool "Pentium M"	help	  Select this for Intel Pentium M (not Pentium-4 M)	  notebook chips.config MPENTIUM4	bool "Pentium-4/Celeron(P4-based)/Pentium-4 M/Xeon"	help	  Select this for Intel Pentium 4 chips.  This includes the	  Pentium 4, P4-based Celeron and Xeon, and Pentium-4 M	  (not Pentium M) chips.  This option enables compile flags	  optimized for the chip, uses the correct cache shift, and	  applies any applicable Pentium III optimizations.config MK6	bool "K6/K6-II/K6-III"	help	  Select this for an AMD K6-family processor.  Enables use of	  some extended instructions, and passes appropriate optimization	  flags to GCC.config MK7	bool "Athlon/Duron/K7"	help	  Select this for an AMD Athlon K7-family processor.  Enables use of	  some extended instructions, and passes appropriate optimization	  flags to GCC.config MK8	bool "Opteron/Athlon64/Hammer/K8"	help	  Select this for an AMD Opteron or Athlon64 Hammer-family processor.  Enables	  use of some extended instructions, and passes appropriate optimization	  flags to GCC.config MCRUSOE	bool "Crusoe"	help	  Select this for a Transmeta Crusoe processor.  Treats the processor	  like a 586 with TSC, and sets some GCC optimization flags (like a	  Pentium Pro with no alignment requirements).config MWINCHIPC6	bool "Winchip-C6"	help	  Select this for an IDT Winchip C6 chip.  Linux and GCC	  treat this chip as a 586TSC with some extended instructions	  and alignment requirements.config MWINCHIP2	bool "Winchip-2"	help	  Select this for an IDT Winchip-2.  Linux and GCC	  treat this chip as a 586TSC with some extended instructions	  and alignment requirements.config MWINCHIP3D	bool "Winchip-2A/Winchip-3"	help	  Select this for an IDT Winchip-2A or 3.  Linux and GCC	  treat this chip as a 586TSC with some extended instructions	  and alignment reqirements.  Also enable out of order memory	  stores for this CPU, which can increase performance of some	  operations.config MCYRIXIII	bool "CyrixIII/VIA-C3"	help	  Select this for a Cyrix III or C3 chip.  Presently Linux and GCC	  treat this chip as a generic 586. Whilst the CPU is 686 class,	  it lacks the cmov extension which gcc assumes is present when	  generating 686 code.	  Note that Nehemiah (Model 9) and above will not boot with this	  kernel due to them lacking the 3DNow! instructions used in earlier	  incarnations of the CPU.config MVIAC3_2	bool "VIA C3-2 (Nehemiah)"	help	  Select this for a VIA C3 "Nehemiah". Selecting this enables usage	  of SSE and tells gcc to treat the CPU as a 686.	  Note, this kernel will not boot on older (pre model 9) C3s.endchoiceconfig X86_GENERIC       bool "Generic x86 support"       help	  Instead of just including optimizations for the selected	  x86 variant (e.g. PII, Crusoe or Athlon), include some more	  generic optimizations as well. This will make the kernel	  perform better on x86 CPUs other than that selected.	  This is really intended for distributors who need more	  generic optimizations.endif## Define implied options from the CPU selection here#config X86_CMPXCHG	bool	depends on !M386	default yconfig X86_XADD	bool	depends on !M386	default yconfig X86_L1_CACHE_SHIFT	int	default "7" if MPENTIUM4 || X86_GENERIC	default "4" if X86_ELAN || M486 || M386	default "5" if MWINCHIP3D || MWINCHIP2 || MWINCHIPC6 || MCRUSOE || MCYRIXIII || MK6 || MPENTIUMIII || MPENTIUMII || M686 || M586MMX || M586TSC || M586 || MVIAC3_2	default "6" if MK7 || MK8 || MPENTIUMMconfig RWSEM_GENERIC_SPINLOCK	bool	depends on M386	default yconfig RWSEM_XCHGADD_ALGORITHM	bool	depends on !M386	default yconfig X86_PPRO_FENCE	bool	depends on M686 || M586MMX || M586TSC || M586 || M486 || M386	default yconfig X86_F00F_BUG	bool	depends on M586MMX || M586TSC || M586 || M486 || M386	default yconfig X86_WP_WORKS_OK	bool	depends on !M386	default yconfig X86_INVLPG	bool	depends on !M386	default yconfig X86_BSWAP	bool	depends on !M386	default yconfig X86_POPAD_OK	bool	depends on !M386	default yconfig X86_ALIGNMENT_16	bool	depends on MWINCHIP3D || MWINCHIP2 || MWINCHIPC6 || MCYRIXIII || X86_ELAN || MK6 || M586MMX || M586TSC || M586 || M486 || MVIAC3_2	default yconfig X86_GOOD_APIC	bool	depends on MK7 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || M586MMX || MK8

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?