kconfig

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

TXT
697
字号
# For a description of the syntax of this configuration file,# see Documentation/kbuild/kconfig-language.txt.#mainmenu "Linux/PowerPC Kernel Configuration"source "arch/powerpc/platforms/Kconfig.cputype"config PPC32	bool	default y if !PPC64config 64BIT	bool	default y if PPC64config WORD_SIZE	int	default 64 if PPC64	default 32 if !PPC64config PPC_MERGE	def_bool yconfig MMU	bool	default yconfig GENERIC_CMOS_UPDATE	def_bool yconfig GENERIC_TIME	def_bool yconfig GENERIC_TIME_VSYSCALL	def_bool yconfig GENERIC_CLOCKEVENTS	def_bool yconfig GENERIC_HARDIRQS	bool	default yconfig IRQ_PER_CPU	bool	default yconfig RWSEM_GENERIC_SPINLOCK	boolconfig RWSEM_XCHGADD_ALGORITHM	bool	default yconfig ARCH_HAS_ILOG2_U32	bool	default yconfig ARCH_HAS_ILOG2_U64	bool	default y if 64BITconfig GENERIC_HWEIGHT	bool	default yconfig GENERIC_CALIBRATE_DELAY	bool	default yconfig GENERIC_FIND_NEXT_BIT	bool	default yconfig ARCH_NO_VIRT_TO_BUS	def_bool PPC64config PPC	bool	default yconfig EARLY_PRINTK	bool	default yconfig COMPAT	bool	default y if PPC64config SYSVIPC_COMPAT	bool	depends on COMPAT && SYSVIPC	default y# All PPC32s use generic nvram driver through ppc_mdconfig GENERIC_NVRAM	bool	default y if PPC32config SCHED_NO_NO_OMIT_FRAME_POINTER	bool	default yconfig ARCH_MAY_HAVE_PC_FDC	bool	default !PPC_PSERIES || PCIconfig PPC_OF	def_bool yconfig OF	def_bool yconfig PPC_UDBG_16550	bool	default nconfig GENERIC_TBSYNC	bool	default y if PPC32 && SMP	default nconfig AUDIT_ARCH	bool	default yconfig GENERIC_BUG	bool	default y	depends on BUGconfig SYS_SUPPORTS_APM_EMULATION	default y if PMAC_APM_EMU	boolconfig DEFAULT_UIMAGE	bool	help	  Used to allow a board to specify it wants a uImage built by default	default nconfig PPC64_SWSUSP	bool	depends on PPC64 && (BROKEN || (PPC_PMAC64 && EXPERIMENTAL))	default yconfig PPC_DCR_NATIVE	bool	default nconfig PPC_DCR_MMIO	bool	default nconfig PPC_DCR	bool	depends on PPC_DCR_NATIVE || PPC_DCR_MMIO	default yconfig PPC_OF_PLATFORM_PCI	bool	depends on PPC64 # not supported on 32 bits yet	default nsource "init/Kconfig"source "arch/powerpc/platforms/Kconfig"menu "Kernel options"config HIGHMEM	bool "High memory support"	depends on PPC32source kernel/time/Kconfigsource kernel/Kconfig.hzsource kernel/Kconfig.preemptsource "fs/Kconfig.binfmt"# We optimistically allocate largepages from the VM, so make the limit# large enough (16MB). This badly named config option is actually# max order + 1config FORCE_MAX_ZONEORDER	int	depends on PPC64	default "9" if PPC_64K_PAGES	default "13"config HUGETLB_PAGE_SIZE_VARIABLE	bool	depends on HUGETLB_PAGE	default yconfig MATH_EMULATION	bool "Math emulation"	depends on 4xx || 8xx || E200 || PPC_MPC832x || E500	---help---	  Some PowerPC chips designed for embedded applications do not have	  a floating-point unit and therefore do not implement the	  floating-point instructions in the PowerPC instruction set.  If you	  say Y here, the kernel will include code to emulate a floating-point	  unit, which will allow programs that use floating-point	  instructions to run.config 8XX_MINIMAL_FPEMU	bool "Minimal math emulation for 8xx"	depends on 8xx && !MATH_EMULATION	help	  Older arch/ppc kernels still emulated a few floating point	  instructions such as load and store, even when full math	  emulation is disabled.  Say "Y" here if you want to preserve	  this behavior.	  It is recommended that you build a soft-float userspace instead.config IOMMU_VMERGE	bool "Enable IOMMU virtual merging"	depends on PPC64	default y	help	  Cause IO segments sent to a device for DMA to be merged virtually	  by the IOMMU when they happen to have been allocated contiguously.	  This doesn't add pressure to the IOMMU allocator. However, some	  drivers don't support getting large merged segments coming back	  from *_map_sg().	  Most drivers don't have this problem; it is safe to say Y here.config HOTPLUG_CPU	bool "Support for enabling/disabling CPUs"	depends on SMP && HOTPLUG && EXPERIMENTAL && (PPC_PSERIES || PPC_PMAC)	---help---	  Say Y here to be able to disable and re-enable individual	  CPUs at runtime on SMP machines.	  Say N if you are unsure.config ARCH_ENABLE_MEMORY_HOTPLUG	def_bool yconfig KEXEC	bool "kexec system call (EXPERIMENTAL)"	depends on (PPC_PRPMC2800 || PPC_MULTIPLATFORM) && EXPERIMENTAL	help	  kexec is a system call that implements the ability to shutdown your	  current kernel, and to start another kernel.  It is like a reboot	  but it is independent of the system firmware.   And like a reboot	  you can start any kernel with it, not just Linux.	  The name comes from the similarity to the exec system call.	  It is an ongoing process to be certain the hardware in a machine	  is properly shutdown, so do not be surprised if this code does not	  initially work for you.  It may help to enable device hotplugging	  support.  As of this writing the exact hardware interface is	  strongly in flux, so no good recommendation can be made.config CRASH_DUMP	bool "Build a kdump crash kernel (EXPERIMENTAL)"	depends on PPC_MULTIPLATFORM && PPC64 && EXPERIMENTAL	help	  Build a kernel suitable for use as a kdump capture kernel.	  The kernel will be linked at a different address than normal, and	  so can only be used for Kdump.	  Don't change this unless you know what you are doing.config PPCBUG_NVRAM	bool "Enable reading PPCBUG NVRAM during boot" if PPLUS || LOPEC	default y if PPC_PREPconfig 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 NUMA	bool "NUMA support"	depends on PPC64	default y if SMP && PPC_PSERIESconfig NODES_SHIFT	int	default "4"	depends on NEED_MULTIPLE_NODESconfig ARCH_SELECT_MEMORY_MODEL	def_bool y	depends on PPC64config ARCH_FLATMEM_ENABLE	def_bool y	depends on (PPC64 && !NUMA) || PPC32config ARCH_SPARSEMEM_ENABLE	def_bool y	depends on PPC64	select SPARSEMEM_VMEMMAP_ENABLEconfig ARCH_SPARSEMEM_DEFAULT	def_bool y	depends on (SMP && PPC_PSERIES) || PPC_PS3config ARCH_POPULATES_NODE_MAP	def_bool ysource "mm/Kconfig"config ARCH_MEMORY_PROBE	def_bool y	depends on MEMORY_HOTPLUG# Some NUMA nodes have memory ranges that span# other nodes.  Even though a pfn is valid and# between a node's start and end pfns, it may not# reside on that node.  See memmap_init_zone()# for details.config NODES_SPAN_OTHER_NODES	def_bool y	depends on NEED_MULTIPLE_NODESconfig PPC_HAS_HASH_64K	bool	depends on PPC64	default nconfig PPC_64K_PAGES	bool "64k page size"	depends on PPC64	select PPC_HAS_HASH_64K	help	  This option changes the kernel logical page size to 64k. On machines	  without processor support for 64k pages, the kernel will simulate	  them by loading each individual 4k page on demand transparently,	  while on hardware with such support, it will be used to map	  normal application pages.config SCHED_SMT	bool "SMT (Hyperthreading) scheduler support"	depends on PPC64 && SMP	help	  SMT scheduler support improves the CPU scheduler's decision making	  when dealing with POWER5 cpus at a cost of slightly increased	  overhead in some places. If unsure say N here.

⌨️ 快捷键说明

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