summaryrefslogtreecommitdiffstats
path: root/sys/conf/options.i386
Commit message (Collapse)AuthorAgeFilesLines
* Sort.jhb2005-11-231-4/+4
|
* Make COUNT_IPIS and COUNT_XINVLTLB_HITS real kernel options and takejhb2005-11-221-0/+2
| | | | them out of machine/smptests.h.
* Add support for XBOX to the FreeBSD port. The xbox architecture isimp2005-11-091-0/+3
| | | | | | | | | | | | | | | | | | | | nearly identical to wintel/ia32, with a couple of tweaks. Since it is so similar to ia32, it is optionally added to a i386 kernel. This port is preliminary, but seems to work well. Further improvements will improve the interaction with syscons(4), port Linux nforce driver and future versions of the xbox. This supports the 64MB and 128MB boxes. You'll need the most recent CVS version of Cromwell (the Linux BIOS for the XBOX) to boot. Rink will be maintaining this port, and is interested in feedback. He's setup a website http://xbox-bsd.nl to report the latest developments. Any silly mistakes are my fault. Submitted by: Rink P.W. Springer rink at stack dot nl and Ed Schouten ed at fxq dot nl
* Rename the KDB_STOP_NMI kernel option to STOP_NMI and make it apply to alljhb2005-10-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | IPI_STOP IPIs. - Change the i386 and amd64 MD IPI code to send an NMI if STOP_NMI is enabled if an attempt is made to send an IPI_STOP IPI. If the kernel option is enabled, there is also a sysctl to change the behavior at runtime (debug.stop_cpus_with_nmi which defaults to enabled). This includes removing stop_cpus_nmi() and making ipi_nmi_selected() a private function for i386 and amd64. - Fix ipi_all(), ipi_all_but_self(), and ipi_self() on i386 and amd64 to properly handle bitmapped IPIs as well as IPI_STOP IPIs when STOP_NMI is enabled. - Fix ipi_nmi_handler() to execute the restart function on the first CPU that is restarted making use of atomic_readandclear() rather than assuming that the BSP is always included in the set of restarted CPUs. Also, the NMI handler didn't clear the function pointer meaning that subsequent stop and restarts could execute the function again. - Define a new macro HAVE_STOPPEDPCBS on i386 and amd64 to control the use of stoppedpcbs[] and always enable it for i386 and amd64 instead of being dependent on KDB_STOP_NMI. It works fine in both the NMI and non-NMI cases.
* Remove the CPU_ENABLE_SSE option from the i386 and pc98 architectures,delphij2005-07-021-1/+0
| | | | | | | | | | | | | | | | | | | | | | | as they are already default for I686_CPU for almost 3 years, and CPU_DISABLE_SSE always disables it. On the other hand, CPU_ENABLE_SSE does not work for I486_CPU and I586_CPU. This commit has: - Removed the option from conf/options.* - Removed the option and comments from MD NOTES files - Simplified the CPU_ENABLE_SSE ifdef's so they don't deal with CPU_ENABLE_SSE from kernel configuration. (*) For most users, this commit should be largely no-op. If you used to place CPU_ENABLE_SSE into your kernel configuration for some reason, it is time to remove it. (*) The ifdef's of CPU_ENABLE_SSE are not removed at this point, since we need to change it to !defined(CPU_DISABLE_SSE) && defined(I686_CPU), not just !defined(CPU_DISABLE_SSE), if we really want to do so. Discussed on: -arch Approved by: re (scottl)
* Move the KDB_STOP_NMI option from opt_global.h to opt_kdb.hpeter2005-06-291-1/+1
| | | | Approved by: re
* Connect reiserfs build to every platforms, not only i386 and pc98.dumbbell2005-06-211-3/+0
| | | | | Reviewed by: mux (mentor) Approved by: re (dougb)
* Connect the ReiserFS filesystem to the build (i386 only).dumbbell2005-05-241-0/+3
| | | | Approved by: mux (mentor)
* - Move the NPX_DEBUG option to options.{i386,pc98} and use opt_npx.h.nyan2005-05-121-0/+1
| | | | | - Move npx related defines to {i386,pc98}/include/npx.h to remove #include {isa,cbus}.h.
* Implement an alternate method to stop CPUs when entering DDB. Normally we usedwhite2005-04-301-0/+3
| | | | | | | | | | | | | | a regular IPI vector, but this vector is blocked when interrupts are disabled. With "options KDB_STOP_NMI" and debug.kdb.stop_cpus_with_nmi set, KDB will send an NMI to each CPU instead. The code also has a context-stuffing feature which helps ddb extract the state of processes running on the stopped CPUs. KDB_STOP_NMI is only useful with SMP and complains if SMP is not defined. This feature only applies to i386 and amd64 at the moment, but could be used on other architectures with the appropriate MD bits. Submitted by: ups
* Remove support for mixed mode altogether now that we no longer use IRQ 0jhb2005-04-141-1/+0
| | | | | | when using an APIC. This simplifies the APIC code somewhat and also allows us to be pedantically more compliant with ACPI which mandates no use of mixed mode.
* Bring back some of the ioctl junk that was removed in rev 1.59 as acognet2005-03-171-0/+1
| | | | | | | i386-only kernel option, ASR_COMPAT, and under BURN_BRIDGES. It is really ugly, but raidutils depends on it. Discussed with: scottl
* Remove CPU_ENABLE_TCC and hook the cpufreq p4tcc up to the build.njl2005-02-231-1/+0
|
* Initiate deorbit burn sequence for 80386 support in FreeBSD: Removejhb2004-11-161-1/+0
| | | | 80386 (I386_CPU) support from the kernel.
* Unconditionally support the AMD64 GART HW.obrien2004-08-191-3/+0
|
* AMD64 on-CPU GART support.obrien2004-08-161-0/+3
| | | | | | | This also applies to AMD64 HW running 'i386' OS. Submitted by: Jung-uk Kim <jkim@niksun.com> Integration by: obrien
* Add an "options MP_WATCHDOG" to i386. This option allows one of therwatson2004-08-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | logical CPUs on a system to be used as a dedicated watchdog to cause a drop to the debugger and/or generate an NMI to the boot processor if the kernel ceases to respond. A sysctl enables the watchdog running out of the processor's idle thread; a callout is launched to reset a timer in the watchdog. If the callout fails to reset the timer for ten seconds, the watchdog will fire. The sysctl allows you to select which CPU will run the watchdog. A sample "debug.leak_schedlock" is included, which causes a sysctl to spin holding sched_lock in order to trigger the watchdog. On my Xeons, the watchdog is able to detect this failure mode and break into the debugger, which cannot otherwise be done without an NMI button. This option does not currently work with sched_ule due to ule's push notion of scheduling, similar to machdep.hlt_logical_cpus failing to work with that scheduler. On face value, this might seem somewhat inefficient, but there are a lot of dual-processor Xeons with HTT around, so using one as a watchdog for testing is not as inefficient as one might fear.
* Remove isa compat stuff.imp2004-03-141-1/+0
| | | | | | | Only cy, bs and wd in the tree still use it. I have a replacement for cy that I need to test on ISA and PCI cards. bs and wd are pc98 only drivers that appear to no longer be necessary. I'll be removing them when I hear back from the pc98 people.
* Fixed some style bugs (insertion sort errors, tab lossage, and ornationbde2004-01-251-17/+13
| | | | of EOF).
* Move LongRun support out of identcpu.c, where it hardly belongs, into itssobomax2004-01-251-0/+1
| | | | | | | | | | | | | own file and make it opt-in, not mandatory, depending on CPU_ENABLE_LONGRUN config(8) option. PR: Submitted by: Reviewed by: Approved by: Obtained from: Discussed with: nate MFC after: 2 weeks
* Add missing options from pcvt_conf.h to options.i386. Thisphilip2004-01-231-1/+11
| | | | | | | | allows the kernel build to survive config when these options are specified in the config file. Reviewed by: hm Approved by: njl (mentor)
* Add new CPU_ENABLE_TCC option, from NOTES:sobomax2004-01-181-0/+1
| | | | | | | | | | | | | | CPU_ENABLE_TCC enables Thermal Control Circuitry (TCC) found in some Pentium(tm) 4 and (possibly) later CPUs. When enabled and detected, TCC allows to restrict power consumption by using machdep.cpuperf* sysctls. This operates independently of SpeedStep and is useful on systems where other mechanisms such as apm(4) or acpi(4) don't work. Given the fact that many, even modern, notebooks don't work properly with Intel ACPI, this is indeed very useful option for notebook owners. Obtained from: OpenBSD MFC after: 2 weeks
* Add the NDISAPI option.wpaul2004-01-081-0/+1
|
* Garbage-collected CLK_USE_TSC_CALIBRATION.bde2003-12-301-1/+0
| | | | | i386/conf/NOTES, pc98/conf/NOTES: Fixed the descriptions of the other CLK_* options.
* The DEV_ACPI option is no longer used, so g/c it.jhb2003-12-101-1/+0
|
* Connect the cx driver to its new location in the tree.imp2003-12-031-0/+3
| | | | | | | | | Update notes to reflect that cx is no longer a counted device Update options for new cx option # commented out ELAN_PPS and ELAN_XTAL since they produced errors Submitted by: rik@cronyx.ru Approved by: re@ <scottl>
* Rename the ELAN_* options to CPU_ELAN_* according the the brucification.phk2003-12-011-2/+2
| | | | | | This commit was forgotten a few days ago. Approved by: re@
* Disable probing of HTT CPUs by default for the MP Table case. HTT CPUsjhb2003-11-111-0/+1
| | | | | | | | | should only be used if they are enabled in the BIOS. Now that we support enumerating CPUs using the ACPI MADT, any HTT machine using ACPI should respect the BIOS setting. For HTT machines with ACPI disabled in the kernel, the MPTABLE_FORCE_HTT kernel option can be used to try to probe HTT CPUs like have done in the past for the MP Table case. This option should only be enabled if HTT is enabled in the BIOS.
* Fixed insertion sort errors in the opt_cpu.h section.bde2003-11-071-12/+10
| | | | | | | | Removed banal comments about ELAN*. Complain about ELAN* being misnamed instead (so that these options are not obviously related to a CPU and don't sort with CPU_ELAN). Complain about CPU_DISABLE_CMPXCHG being in the wrong namespace.
* - Remove APIC_IO option.jhb2003-11-031-2/+3
| | | | - Add NO_MIXED_MODE, DEV_ACPI, and DEV_APIC options.
* Introduce new CPU_SOEKRIS option to tell soekris hardware from otherphk2003-11-031-0/+1
| | | | hardware based on similar chipsets.
* Fixup the sorting of some of the options. DISABLE_P* are still out ofjhb2003-10-301-8/+8
| | | | order to keep all of the opt_pmap.h options together.
* Detect Geode CPUs and initialize the 27MHz timecounter "Geode".phk2003-08-311-0/+1
| | | | | This timecounter is 2usec faster than the i8254 and has 22 times better resolution.
* EISA_SLOTS is mandantory to get opt_eisa.hticso2003-07-221-2/+0
| | | | Put it into MI files.
* Initiate de-orbit burn for fpu-less operation. 386+387 is stillpeter2003-07-221-2/+0
| | | | | theoretically supportable, but you'd really be happier with FreeBSD 2.1.8 on it.
* unifdef -DLAZY_SWITCH and start to tidy up the associated glue.peter2003-07-101-1/+0
|
* Tidy up leftover lazy_switch instrumentation that is no longer needed.peter2003-06-271-1/+0
| | | | This cleans up some #ifdef hell.
* Moved the syscons options, kbd options and DEV_SPLASH to the MI optionsjake2003-06-181-31/+0
| | | | file.
* Options that go into homonymous headers shouldn't specify the header name.des2003-04-121-1/+1
| | | | Submitted by: Hiten Pandya <hiten@unixdaemons.com>
* Convert the SMP_TSC kernel option into a loader tunable. Also enabledes2003-04-101-1/+0
| | | | | the TSC timecounter on single-CPU systems even when they are running an SMP kernel.
* Add SMP_TSC option, which can be used on SMP systems where the TSCstegge2003-04-041-0/+1
| | | | are synchronized to reduce context switch cost.
* Commit a partial lazy thread switch mechanism for i386. it isn't as lazypeter2003-04-021-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | as it could be and can do with some more cleanup. Currently its under options LAZY_SWITCH. What this does is avoid %cr3 reloads for short context switches that do not involve another user process. ie: we can take an interrupt, switch to a kthread and return to the user without explicitly flushing the tlb. However, this isn't as exciting as it could be, the interrupt overhead is still high and too much blocks on Giant still. There are some debug sysctls, for stats and for an on/off switch. The main problem with doing this has been "what if the process that you're running on exits while we're borrowing its address space?" - in this case we use an IPI to give it a kick when we're about to reclaim the pmap. Its not compiled in unless you add the LAZY_SWITCH option. I want to fix a few more things and get some more feedback before turning it on by default. This is NOT a replacement for Bosko's lazy interrupt stuff. This was more meant for the kthread case, while his was for interrupts. Mine helps a little for interrupts, but his helps a lot more. The stats are enabled with options SWTCH_OPTIM_STATS - this has been a pseudo-option for years, I just added a bunch of stuff to it. One non-trivial change was to select a new thread before calling cpu_switch() in the first place. This allows us to catch the silly case of doing a cpu_switch() to the current process. This happens uncomfortably often. This simplifies a bit of the asm code in cpu_switch (no longer have to call choosethread() in the middle). This has been implemented on i386 and (thanks to jake) sparc64. The others will come soon. This is actually seperate to the lazy switch stuff. Glanced at by: jake, jhb
* - Add support for PAE and more than 4 gigs of ram on x86, dependent on thejake2003-03-301-0/+3
| | | | | | | | | | kernel opition 'options PAE'. This will only work with device drivers which either use busdma, or are able to handle 64 bit physical addresses. Thanks to Lanny Baron from FreeBSD Systems for the loan of a test machine with 6 gigs of ram. Sponsored by: DARPA, Network Associates Laboratories, FreeBSD Systems
* Nuke options HTT infavor of machdep.hlt_logical_cpus tunable/sysctl.ps2003-03-261-1/+0
| | | | | | | | | | | | | | This keeps the logical cpu's halted in the idle loop. By default the logical cpu's are halted at startup. It is also possible to halt any cpu in the idle loop now using machdep.hlt_cpus. Examples of how to use this: machdep.hlt_cpus=1 halt cpu0 machdep.hlt_cpus=2 halt cpu1 machdep.hlt_cpus=4 halt cpu2 machdep.hlt_cpus=3 halt cpu0,cpu1 Reviewed by: jhb, peter
* Wrap the hyperthreading support code with the HTT kernel option.jhb2003-03-041-0/+1
| | | | | | Hyperthreading support is now off unless the HTT option is added. MFC-after: 3 days
* Add machdep.elan_freq sysctl which can be used to set the CPU clockphk2003-01-151-0/+4
| | | | | | | | | | | frequency in Hz. The default is still 33.333 MHz. Please notice that the number is round to a multiple of four internally so it may not read back exactly the same as written. Add compile time ELAN_XTAL option to override the 33.333 MHz default. Add compile time ELAN_PPS option to enable code for high precision (250 nanoseconds) timestamping of external signals.
* Move SHOW_BUSYBUFS and PANIC_REBOOT_WAIT_TIME into the MI options file, sincejmallett2002-11-181-2/+0
| | | | | | | MI code uses them, and every platform provides them (except x86_64 whose options file was lacking one). Reviewed by: bde, rwatson
* Add new syscons option SC_NO_SUSPEND_VTYSWITCH.iwasaki2002-10-171-0/+1
| | | | This disables vty switch during suspend/resume.
* Add a knob to turn on and off the CMPXCHG instruction on > i386 IA32 systems.pirzyk2002-10-141-0/+1
| | | | | | | This is most beneficial for vmware client os installs. Reviewed by: jmallet, iedowse, tlambert2@mindspring.com MFC After: never, -STABLE does not currently use this instruction
* Move the KSTACK_PAGES option from MD to MI. Although not all platformspeter2002-09-071-1/+0
| | | | | | | | support this, we do have MI code that references it and is otherwise unaware of an override. The alternative is to put knowledge in these MI files about which platforms have the opt_kstack_pages.h option file. It is more likely that other platforms will gain the ability to tune the kstack size.
OpenPOWER on IntegriCloud