kconfig

来自「linux 内核源代码」· 代码 · 共 697 行 · 第 1/2 页

TXT
697
字号
config PROC_DEVICETREE	bool "Support for device tree in /proc"	depends on PROC_FS	help	  This option adds a device-tree directory under /proc which contains	  an image of the device tree that the kernel copies from Open	  Firmware or other boot firmware. If unsure, say Y here.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 !44x || 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.config WANT_DEVICE_TREE	bool	default nconfig DEVICE_TREE	string "Static device tree source file"	depends on WANT_DEVICE_TREE	help	  This specifies the device tree source (.dts) file to be	  compiled and included when building the bootwrapper.  If a	  relative filename is given, then it will be relative to	  arch/powerpc/boot/dts.  If you are not using the bootwrapper,	  or do not need to build a dts into the bootwrapper, this	  field is ignored.	  For example, this is required when building a cuImage target	  for an older U-Boot, which cannot pass a device tree itself.	  Such a kernel will not work with a newer U-Boot that tries to	  pass a device tree (unless you tell it not to).  If your U-Boot	  does not mention a device tree in "help bootm", then use the	  cuImage target and specify a device tree here.  Otherwise, use	  the uImage target and leave this field blank.endmenuconfig ISA_DMA_API	bool	default ymenu "Bus options"config ISA	bool "Support for ISA-bus hardware"	depends on PPC_PREP || PPC_CHRP	select PPC_I8259	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 PPC64 || POWER4 || 6xx && !CPM2	default yconfig PPC_INDIRECT_PCI	bool	depends on PCI	default y if 40x || 44x	default nconfig EISA	boolconfig SBUS	boolconfig FSL_SOC	boolconfig FSL_PCI 	bool	select PPC_INDIRECT_PCI# Yes MCA RS/6000s exist but Linux-PPC does not currently support anyconfig MCA	boolconfig PCI	bool "PCI support" if 40x || CPM2 || PPC_83xx || PPC_85xx || PPC_86xx \		|| PPC_MPC52xx || (EMBEDDED && (PPC_PSERIES || PPC_ISERIES)) \		|| PPC_PS3	default y if !40x && !CPM2 && !8xx && !PPC_83xx \		&& !PPC_85xx && !PPC_86xx	default PCI_PERMEDIA if !4xx && !CPM2 && !8xx	default PCI_QSPAN if !4xx && !CPM2 && 8xx	select ARCH_SUPPORTS_MSI	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 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 && !8272	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/pcie/Kconfig"source "drivers/pci/Kconfig"source "drivers/pcmcia/Kconfig"source "drivers/pci/hotplug/Kconfig"endmenumenu "Advanced setup"	depends on PPC32config 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" if PPC_PREP || PPC_8xx	default "0xc0000000"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 "0xfd000000" if (NOT_COHERENT_CACHE && 8xx)	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_MULTIPLATFORM	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 && 8xxendmenuif PPC64config KERNEL_START	hex	default "0xc000000000000000"endifsource "net/Kconfig"source "drivers/Kconfig"source "fs/Kconfig"# XXX source "arch/ppc/8xx_io/Kconfig"# XXX source "arch/ppc/8260_io/Kconfig"source "arch/powerpc/sysdev/qe_lib/Kconfig"source "lib/Kconfig"source "kernel/Kconfig.instrumentation"source "arch/powerpc/Kconfig.debug"source "security/Kconfig"config KEYS_COMPAT	bool	depends on COMPAT && KEYS	default ysource "crypto/Kconfig"config PPC_CLOCK	bool	default nconfig PPC_LIB_RHEAP	bool

⌨️ 快捷键说明

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