kconfig

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

TXT
1,221
字号
	default yconfig X86_INTEL_USERCOPY	bool	depends on MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M586MMX || X86_GENERIC || MK8 || MK7	default yconfig X86_USE_PPRO_CHECKSUM	bool	depends on MWINCHIP3D || MWINCHIP2 || MWINCHIPC6 || MCYRIXIII || MK7 || MK6 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || MK8 || MVIAC3_2	default yconfig X86_USE_3DNOW	bool	depends on MCYRIXIII || MK7	default yconfig X86_OOSTORE	bool	depends on (MWINCHIP3D || MWINCHIP2 || MWINCHIPC6) && MTRR	default yconfig HPET_TIMER	bool "HPET Timer Support"	help	  This enables the use of the HPET for the kernel's internal timer.	  HPET is the next generation timer replacing legacy 8254s.	  You can safely choose Y here.  However, HPET will only be	  activated if the platform and the BIOS support this feature.	  Otherwise the 8254 will be used for timing services.	  Choose N to continue using the legacy 8254 timer.config HPET_EMULATE_RTC	bool "Provide RTC interrupt"	depends on HPET_TIMER && RTC=yconfig SMP	bool "Symmetric multi-processing support"	---help---	  This enables support for systems with more than one CPU. If you have	  a system with only one CPU, like most personal computers, say N. If	  you have a system with more than one CPU, say Y.	  If you say N here, the kernel will run on single and multiprocessor	  machines, but will use only one CPU of a multiprocessor machine. If	  you say Y here, the kernel will run on many, but not all,	  singleprocessor machines. On a singleprocessor machine, the kernel	  will run faster if you say N here.	  Note that if you say Y here and choose architecture "586" or	  "Pentium" under "Processor family", the kernel will not work on 486	  architectures. Similarly, multiprocessor kernels for the "PPro"	  architecture may not work on all Pentium based boards.	  People using multiprocessor machines who say Y here should also say	  Y to "Enhanced Real Time Clock Support", below. The "Advanced Power	  Management" code will be disabled if you say Y here.	  See also the <file:Documentation/smp.txt>,	  <file:Documentation/i386/IO-APIC.txt>,	  <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at	  <http://www.tldp.org/docs.html#howto>.	  If you don't know what to do here, say N.config NR_CPUS	int "Maximum number of CPUs (2-255)"	range 2 255	depends on SMP	default "32" if X86_NUMAQ || X86_SUMMIT || X86_BIGSMP || X86_ES7000	default "8"	help	  This allows you to specify the maximum number of CPUs which this	  kernel will support.  The maximum supported value is 255 and the	  minimum value which makes sense is 2.	  This is purely to save memory - each supported CPU adds	  approximately eight kilobytes to the kernel image.config SCHED_SMT	bool "SMT (Hyperthreading) scheduler support"	depends on SMP	default off	help	  SMT scheduler support improves the CPU scheduler's decision making	  when dealing with Intel Pentium 4 chips with HyperThreading at a	  cost of slightly increased overhead in some places. If unsure say	  N here.config PREEMPT	bool "Preemptible Kernel"	help	  This option reduces the latency of the kernel when reacting to	  real-time or interactive events by allowing a low priority process to	  be preempted even if it is in kernel mode executing a system call.	  This allows applications to run more reliably even when the system is	  under load.	  Say Y here if you are building a kernel for a desktop, embedded	  or real-time system.  Say N if you are unsure.config X86_UP_APIC	bool "Local APIC support on uniprocessors" if !SMP	depends on !(X86_VISWS || X86_VOYAGER)	---help---	  A local APIC (Advanced Programmable Interrupt Controller) is an	  integrated interrupt controller in the CPU. If you have a single-CPU	  system which has a processor with a local APIC, you can say Y here to	  enable and use it. If you say Y here even though your machine doesn't	  have a local APIC, then the kernel will still run with no slowdown at	  all. The local APIC supports CPU-generated self-interrupts (timer,	  performance counters), and the NMI watchdog which detects hard	  lockups.	  If you have a system with several CPUs, you do not need to say Y	  here: the local APIC will be used automatically.config X86_UP_IOAPIC	bool "IO-APIC support on uniprocessors"	depends on !SMP && X86_UP_APIC	help	  An IO-APIC (I/O Advanced Programmable Interrupt Controller) is an	  SMP-capable replacement for PC-style interrupt controllers. Most	  SMP systems and a small number of uniprocessor systems have one.	  If you have a single-CPU system with an IO-APIC, you can say Y here	  to use it. If you say Y here even though your machine doesn't have	  an IO-APIC, then the kernel will still run with no slowdown at all.	  If you have a system with several CPUs, you do not need to say Y	  here: the IO-APIC will be used automatically.config X86_LOCAL_APIC	bool	depends on !SMP && X86_UP_APIC	default yconfig X86_IO_APIC	bool	depends on !SMP && X86_UP_IOAPIC	default yconfig X86_TSC	bool	depends on (MWINCHIP3D || MWINCHIP2 || MCRUSOE || MCYRIXIII || MK7 || MK6 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || M586MMX || M586TSC || MK8 || MVIAC3_2) && !X86_NUMAQ	default yconfig X86_MCE	bool "Machine Check Exception"	depends on !X86_VOYAGER	---help---	  Machine Check Exception support allows the processor to notify the	  kernel if it detects a problem (e.g. overheating, component failure).	  The action the kernel takes depends on the severity of the problem,	  ranging from a warning message on the console, to halting the machine.	  Your processor must be a Pentium or newer to support this - check the	  flags in /proc/cpuinfo for mce.  Note that some older Pentium systems	  have a design flaw which leads to false MCE events - hence MCE is	  disabled on all P5 processors, unless explicitly enabled with "mce"	  as a boot argument.  Similarly, if MCE is built in and creates a	  problem on some new non-standard machine, you can boot with "nomce"	  to disable it.  MCE support simply ignores non-MCE processors like	  the 386 and 486, so nearly everyone can say Y here.config X86_MCE_NONFATAL	tristate "Check for non-fatal errors on AMD Athlon/Duron / Intel Pentium 4"	depends on X86_MCE	help	  Enabling this feature starts a timer that triggers every 5 seconds which	  will look at the machine check registers to see if anything happened.	  Non-fatal problems automatically get corrected (but still logged).	  Disable this if you don't want to see these messages.	  Seeing the messages this option prints out may be indicative of dying hardware,	  or out-of-spec (ie, overclocked) hardware.	  This option only does something on certain CPUs.	  (AMD Athlon/Duron and Intel Pentium 4)config X86_MCE_P4THERMAL	bool "check for P4 thermal throttling interrupt."	depends on X86_MCE && (X86_UP_APIC || SMP)	help	  Enabling this feature will cause a message to be printed when the P4	  enters thermal throttling.config TOSHIBA	tristate "Toshiba Laptop support"	---help---	  This adds a driver to safely access the System Management Mode of	  the CPU on Toshiba portables with a genuine Toshiba BIOS. It does	  not work on models with a Phoenix BIOS. The System Management Mode	  is used to set the BIOS and power saving options on Toshiba portables.	  For information on utilities to make use of this driver see the	  Toshiba Linux utilities web site at:	  <http://www.buzzard.org.uk/toshiba/>.	  Say Y if you intend to run this kernel on a Toshiba portable.	  Say N otherwise.config I8K	tristate "Dell laptop support"	---help---	  This adds a driver to safely access the System Management Mode	  of the CPU on the Dell Inspiron 8000. The System Management Mode	  is used to read cpu temperature and cooling fan status and to	  control the fans on the I8K portables.	  This driver has been tested only on the Inspiron 8000 but it may	  also work with other Dell laptops. You can force loading on other	  models by passing the parameter `force=1' to the module. Use at	  your own risk.	  For information on utilities to make use of this driver see the	  I8K Linux utilities web site at:	  <http://people.debian.org/~dz/i8k/>	  Say Y if you intend to run this kernel on a Dell Inspiron 8000.	  Say N otherwise.config MICROCODE	tristate "/dev/cpu/microcode - Intel IA32 CPU microcode support"	---help---	  If you say Y here and also to "/dev file system support" in the	  'File systems' section, you will be able to update the microcode on	  Intel processors in the IA32 family, e.g. Pentium Pro, Pentium II,	  Pentium III, Pentium 4, Xeon etc.  You will obviously need the	  actual microcode binary data itself which is not shipped with the	  Linux kernel.	  For latest news and information on obtaining all the required	  ingredients for this driver, check:	  <http://www.urbanmyth.org/microcode/>.	  To compile this driver as a module, choose M here: the	  module will be called microcode.config X86_MSR	tristate "/dev/cpu/*/msr - Model-specific register support"	help	  This device gives privileged processes access to the x86	  Model-Specific Registers (MSRs).  It is a character device with	  major 202 and minors 0 to 31 for /dev/cpu/0/msr to /dev/cpu/31/msr.	  MSR accesses are directed to a specific CPU on multi-processor	  systems.config X86_CPUID	tristate "/dev/cpu/*/cpuid - CPU information support"	help	  This device gives processes access to the x86 CPUID instruction to	  be executed on a specific processor.  It is a character device	  with major 203 and minors 0 to 31 for /dev/cpu/0/cpuid to	  /dev/cpu/31/cpuid.source "drivers/firmware/Kconfig"choice	prompt "High Memory Support"	default NOHIGHMEMconfig NOHIGHMEM	bool "off"	---help---	  Linux can use up to 64 Gigabytes of physical memory on x86 systems.	  However, the address space of 32-bit x86 processors is only 4	  Gigabytes large. That means that, if you have a large amount of	  physical memory, not all of it can be "permanently mapped" by the	  kernel. The physical memory that's not permanently mapped is called	  "high memory".	  If you are compiling a kernel which will never run on a machine with	  more than 1 Gigabyte total physical RAM, answer "off" here (default	  choice and suitable for most users). This will result in a "3GB/1GB"	  split: 3GB are mapped so that each process sees a 3GB virtual memory	  space and the remaining part of the 4GB virtual memory space is used	  by the kernel to permanently map as much physical memory as	  possible.	  If the machine has between 1 and 4 Gigabytes physical RAM, then	  answer "4GB" here.	  If more than 4 Gigabytes is used then answer "64GB" here. This	  selection turns Intel PAE (Physical Address Extension) mode on.	  PAE implements 3-level paging on IA32 processors. PAE is fully	  supported by Linux, PAE mode is implemented on all recent Intel	  processors (Pentium Pro and better). NOTE: If you say "64GB" here,	  then the kernel will not boot on CPUs that don't support PAE!	  The actual amount of total physical memory will either be	  auto detected or can be forced by using a kernel command line option	  such as "mem=256M". (Try "man bootparam" or see the documentation of	  your boot loader (lilo or loadlin) about how to pass options to the	  kernel at boot time.)	  If unsure, say "off".config HIGHMEM4G	bool "4GB"	help	  Select this if you have a 32-bit processor and between 1 and 4	  gigabytes of physical RAM.config HIGHMEM64G	bool "64GB"	help	  Select this if you have a 32-bit processor and more than 4	  gigabytes of physical RAM.endchoiceconfig HIGHMEM	bool	depends on HIGHMEM64G || HIGHMEM4G	default yconfig X86_PAE	bool	depends on HIGHMEM64G	default y# Common NUMA Featuresconfig NUMA	bool "Numa Memory Allocation and Scheduler Support"	depends on SMP && HIGHMEM64G && (X86_NUMAQ || X86_GENERICARCH || (X86_SUMMIT && ACPI))	default n if X86_PC	default y if (X86_NUMAQ || X86_SUMMIT)# Need comments to help the hapless user trying to turn on NUMA supportcomment "NUMA (NUMA-Q) requires SMP, 64GB highmem support"	depends on X86_NUMAQ && (!HIGHMEM64G || !SMP)comment "NUMA (Summit) requires SMP, 64GB highmem support, ACPI"	depends on X86_SUMMIT && (!HIGHMEM64G || !ACPI)config DISCONTIGMEM	bool	depends on NUMA	default yconfig HAVE_ARCH_BOOTMEM_NODE	bool	depends on NUMA	default yconfig HIGHPTE	bool "Allocate 3rd-level pagetables from highmem"	depends on HIGHMEM4G || HIGHMEM64G	help	  The VM uses one page table entry for each page of physical memory.	  For systems with a lot of RAM, this can be wasteful of precious	  low memory.  Setting this option will put user-space page table	  entries in high memory.config MATH_EMULATION	bool "Math emulation"	---help---	  Linux can emulate a math coprocessor (used for floating point	  operations) if you don't have one. 486DX and Pentium processors have	  a math coprocessor built in, 486SX and 386 do not, unless you added	  a 487DX or 387, respectively. (The messages during boot time can	  give you some hints here ["man dmesg"].) Everyone needs either a	  coprocessor or this emulation.	  If you don't have a math coprocessor, you need to say Y here; if you	  say Y here even though you have a coprocessor, the coprocessor will	  be used nevertheless. (This behavior can be changed with the kernel	  command line option "no387", which comes handy if your coprocessor	  is broken. Try "man bootparam" or see the documentation of your boot	  loader (lilo or loadlin) about how to pass options to the kernel at	  boot time.) This means that it is a good idea to say Y here if you	  intend to use this kernel on different machines.	  More information about the internals of the Linux math coprocessor	  emulation can be found in <file:arch/i386/math-emu/README>.	  If you are not sure, say Y; apart from resulting in a 66 KB bigger	  kernel, it won't hurt.config MTRR	bool "MTRR (Memory Type Range Register) support"	---help---	  On Intel P6 family processors (Pentium Pro, Pentium II and later)	  the Memory Type Range Registers (MTRRs) may be used to control	  processor access to memory ranges. This is most useful if you have	  a video (VGA) card on a PCI or AGP bus. Enabling write-combining	  allows bus write transfers to be combined into a larger transfer	  before bursting over the PCI/AGP bus. This can increase performance	  of image write operations 2.5 times or more. Saying Y here creates a	  /proc/mtrr file which may be used to manipulate your processor's	  MTRRs. Typically the X server should use this.	  This code has a reasonably generic interface so that similar	  control registers on other processors can be easily supported	  as well:	  The Cyrix 6x86, 6x86MX and M II processors have Address Range	  Registers (ARRs) which provide a similar functionality to MTRRs. For	  these, the ARRs are used to emulate the MTRRs.	  The AMD K6-2 (stepping 8 and above) and K6-3 processors have two	  MTRRs. The Centaur C6 (WinChip) has 8 MCRs, allowing	  write-combining. All of these processors are supported by this code	  and it makes sense to say Y here if you have one of them.	  Saying Y here also fixes a problem with buggy SMP BIOSes which only	  set the MTRRs for the boot CPU and not for the secondary CPUs. This	  can lead to all sorts of problems, so it's good to say Y here.	  You can safely say Y even if your machine doesn't have MTRRs, you'll

⌨️ 快捷键说明

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