kconfig
来自「linux 内核源代码」· 代码 · 共 1,327 行 · 第 1/3 页
TXT
1,327 行
config HARRIER bool depends on PRPMC800 default yconfig EPIC_SERIAL_MODE bool depends on 6xx && (LOPEC || SANDPOINT) default yconfig MPC10X_BRIDGE bool depends on POWERPMC250 || LOPEC || SANDPOINT select PPC_INDIRECT_PCI default yconfig MPC10X_OPENPIC bool depends on POWERPMC250 || LOPEC || SANDPOINT default yconfig MPC10X_STORE_GATHERING bool "Enable MPC10x store gathering" depends on MPC10X_BRIDGEconfig SANDPOINT_ENABLE_UART1 bool "Enable DUART mode on Sandpoint" depends on SANDPOINT help If this option is enabled then the MPC824x processor will run in DUART mode instead of UART mode.config HARRIER_STORE_GATHERING bool "Enable Harrier store gathering" depends on HARRIERconfig MVME5100_IPMC761_PRESENT bool "MVME5100 configured with an IPMC761" depends on MVME5100 select PPC_I8259config SPRUCE_BAUD_33M bool "Spruce baud clock support" depends on SPRUCEconfig PC_KEYBOARD bool "PC PS/2 style Keyboard" depends on 4xx || CPM2config PPCBUG_NVRAM bool "Enable reading PPCBUG NVRAM during boot" if PPLUS || LOPEC default y if PPC_PREPconfig SMP depends on PPC_STD_MMU 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, say N. If you have a system with more than one CPU, say Y. Note that the kernel does not currently support SMP machines with 603/603e/603ev or PPC750 ("G3") processors since they have inadequate hardware support for multiprocessor operation. 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 single-processor machines. On a single-processor machine, the kernel will run faster if you say N here. If you don't know what to do here, say N.config IRQ_ALL_CPUS bool "Distribute interrupts on all CPUs by default" depends on SMP && !MV64360 help This option gives the kernel permission to distribute IRQs across multiple CPUs. Saying N here will route all IRQs to the first CPU. Generally saying Y is safe, although some problems have been reported with SMP Power Macintoshes with this option enabled.config NR_CPUS int "Maximum number of CPUs (2-32)" range 2 32 depends on SMP default "4"config HIGHMEM bool "High memory support"config ARCH_POPULATES_NODE_MAP def_bool ysource kernel/Kconfig.hzsource kernel/Kconfig.preemptsource "mm/Kconfig"source "fs/Kconfig.binfmt"config PREP_RESIDUAL bool "Support for PReP Residual Data" depends on PPC_PREP help Some PReP systems have residual data passed to the kernel by the firmware. This allows detection of memory size, devices present and other useful pieces of information. Sometimes this information is not present or incorrect, in which case it could lead to the machine behaving incorrectly. If this happens, either disable PREP_RESIDUAL or pass the 'noresidual' option to the kernel. If you are running a PReP system, say Y here, otherwise say N.config PROC_PREPRESIDUAL bool "Support for reading of PReP Residual Data in /proc" depends on PREP_RESIDUAL && PROC_FS help Enabling this option will create a /proc/residual file which allows you to get at the residual data on PReP systems. You will need a tool (lsresidual) to parse it. If you aren't on a PReP system, you don't want this.config CMDLINE_BOOL bool "Default bootloader kernel arguments"config CMDLINE string "Initial kernel command string" depends on CMDLINE_BOOL default "console=ttyS0,9600 console=tty0 root=/dev/sda2" help On some platforms, there is currently no way for the boot loader to pass arguments to the kernel. For these platforms, you can supply some command-line options at build time by entering them here. In most cases you will need to specify the root device here.if BROKENsource kernel/power/Kconfigendifconfig SECCOMP bool "Enable seccomp to safely compute untrusted bytecode" depends on PROC_FS default y help This kernel feature is useful for number crunching applications that may need to compute untrusted bytecode during their execution. By using pipes or other transports made available to the process as file descriptors supporting the read/write syscalls, it's possible to isolate those applications in their own address space using seccomp. Once seccomp is enabled via /proc/<pid>/seccomp, it cannot be disabled and the task is only allowed to execute a few safe syscalls defined by each seccomp mode. If unsure, say Y. Only embedded should say N here.endmenuconfig ISA_DMA_API bool default ymenu "Bus options"config ISA bool "Support for ISA-bus hardware" depends on PPC_PREP help Find out whether you have ISA slots on your motherboard. ISA is the name of a bus system, i.e. the way the CPU talks to the other stuff inside your box. If you have an Apple machine, say N here; if you have an IBM RS/6000 or pSeries machine or a PReP machine, say Y. If you have an embedded board, consult your board documentation.config ZONE_DMA bool default yconfig GENERIC_ISA_DMA bool depends on 6xx && !CPM2 default yconfig PPC_I8259 bool default y if 85xx || PPC_PREP default nconfig PPC_INDIRECT_PCI bool depends on PCI default y if 40x || 44x || 85xx || 83xx || PPC_PREP default nconfig EISA bool help The Extended Industry Standard Architecture (EISA) bus is a bus architecture used on some older intel-based PCs.config SBUS bool# Yes MCA RS/6000s exist but Linux-PPC does not currently support anyconfig MCA boolconfig PCI bool "PCI support" if 40x || CPM2 || 83xx || 85xx || PPC_MPC52xx default y if !40x && !CPM2 && !8xx && !83xx && !85xx default PCI_QSPAN if !4xx && !CPM2 && 8xx help Find out whether your system includes a PCI bus. PCI is the name of a bus system, i.e. the way the CPU talks to the other stuff inside your box. If you say Y here, the kernel will include drivers and infrastructure code to support PCI bus devices.config PCI_DOMAINS def_bool PCIconfig PCI_SYSCALL def_bool PCIconfig MPC83xx_PCI2 bool "Support for 2nd PCI host controller" depends on PCI && MPC834x default y if MPC834x_SYSconfig PCI_QSPAN bool "QSpan PCI" depends on !4xx && !CPM2 && 8xx select PPC_I8259 help Say Y here if you have a system based on a Motorola 8xx-series embedded processor with a QSPAN PCI interface, otherwise say N.config PCI_8260 bool depends on PCI && 8260 select PPC_INDIRECT_PCI default yconfig 8260_PCI9 bool "Enable workaround for MPC826x erratum PCI 9" depends on PCI_8260 && !ADS8272 default ychoice prompt "IDMA channel for PCI 9 workaround" depends on 8260_PCI9config 8260_PCI9_IDMA1 bool "IDMA1"config 8260_PCI9_IDMA2 bool "IDMA2"config 8260_PCI9_IDMA3 bool "IDMA3"config 8260_PCI9_IDMA4 bool "IDMA4"endchoicesource "drivers/pci/Kconfig"source "drivers/pcmcia/Kconfig"config RAPIDIO bool "RapidIO support" if MPC8540 || MPC8560 help If you say Y here, the kernel will include drivers and infrastructure code to support RapidIO interconnect devices.source "drivers/rapidio/Kconfig"endmenumenu "Advanced setup"config ADVANCED_OPTIONS bool "Prompt for advanced kernel configuration options" help This option will enable prompting for a variety of advanced kernel configuration options. These options can cause the kernel to not work if they are set incorrectly, but can be used to optimize certain aspects of kernel memory management. Unless you know what you are doing, say N here.comment "Default settings for advanced configuration options are used" depends on !ADVANCED_OPTIONSconfig HIGHMEM_START_BOOL bool "Set high memory pool address" depends on ADVANCED_OPTIONS && HIGHMEM help This option allows you to set the base address of the kernel virtual area used to map high memory pages. This can be useful in optimizing the layout of kernel virtual memory. Say N here unless you know what you are doing.config HIGHMEM_START hex "Virtual start address of high memory pool" if HIGHMEM_START_BOOL default "0xfe000000"config LOWMEM_SIZE_BOOL bool "Set maximum low memory" depends on ADVANCED_OPTIONS help This option allows you to set the maximum amount of memory which will be used as "low memory", that is, memory which the kernel can access directly, without having to set up a kernel virtual mapping. This can be useful in optimizing the layout of kernel virtual memory. Say N here unless you know what you are doing.config LOWMEM_SIZE hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL default "0x30000000"config KERNEL_START_BOOL bool "Set custom kernel base address" depends on ADVANCED_OPTIONS help This option allows you to set the kernel virtual address at which the kernel will map low memory (the kernel image will be linked at this address). This can be useful in optimizing the virtual memory layout of the system. Say N here unless you know what you are doing.config KERNEL_START hex "Virtual address of kernel base" if KERNEL_START_BOOL default "0xc0000000"config TASK_SIZE_BOOL bool "Set custom user task size" depends on ADVANCED_OPTIONS help This option allows you to set the amount of virtual address space allocated to user tasks. This can be useful in optimizing the virtual memory layout of the system. Say N here unless you know what you are doing.config TASK_SIZE hex "Size of user task space" if TASK_SIZE_BOOL default "0x80000000"config CONSISTENT_START_BOOL bool "Set custom consistent memory pool address" depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE help This option allows you to set the base virtual address of the consistent memory pool. This pool of virtual memory is used to make consistent memory allocations.config CONSISTENT_START hex "Base virtual address of consistent memory pool" if CONSISTENT_START_BOOL default "0xff100000" if NOT_COHERENT_CACHEconfig CONSISTENT_SIZE_BOOL bool "Set custom consistent memory pool size" depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE help This option allows you to set the size of the consistent memory pool. This pool of virtual memory is used to make consistent memory allocations.config CONSISTENT_SIZE hex "Size of consistent memory pool" if CONSISTENT_SIZE_BOOL default "0x00200000" if NOT_COHERENT_CACHEconfig BOOT_LOAD_BOOL bool "Set the boot link/load address" depends on ADVANCED_OPTIONS && !PPC_PREP help This option allows you to set the initial load address of the zImage or zImage.initrd file. This can be useful if you are on a board which has a small amount of memory. Say N here unless you know what you are doing.config BOOT_LOAD hex "Link/load address for booting" if BOOT_LOAD_BOOL default "0x00400000" if 40x || 8xx || 8260 default "0x01000000" if 44x default "0x00800000"config PIN_TLB bool "Pinned Kernel TLBs (860 ONLY)" depends on ADVANCED_OPTIONS && 8xxconfig PPC_LIB_RHEAP boolendmenusource "net/Kconfig"source "drivers/Kconfig"source "fs/Kconfig"source "arch/ppc/8xx_io/Kconfig"source "arch/ppc/8260_io/Kconfig"menu "IBM 40x options" depends on 40xconfig SERIAL_SICC bool "SICC Serial port" depends on STB03xxxconfig UART1_DFLT_CONSOLE bool depends on SERIAL_SICC && UART0_TTYS1 default yconfig SERIAL_SICC_CONSOLE bool depends on SERIAL_SICC && UART0_TTYS1 default yendmenusource "lib/Kconfig"source "kernel/Kconfig.instrumentation"source "arch/ppc/Kconfig.debug"source "security/Kconfig"source "crypto/Kconfig"
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?