summaryrefslogtreecommitdiffstats
path: root/sys/i386
Commit message (Collapse)AuthorAgeFilesLines
...
* Whitespace, comment, and string fixes.jhb2001-10-251-43/+39
| | | | Submitted by: bde (mostly)
* Fixed misformatting of options line for COMPAQ_M610 and EICON_DIVA inbde2001-10-251-22/+22
| | | | | | | | | | | rev.1.974. Fixed previous misformatting of options line for ACCEPT_FILTER_DATA, ACCEPT_FILTER_HTTP, ACPI_DEBUG, COMPAT_SVR4, DEBUG_SVR4, ED_NO_MIIBUS, IFS, PCFCLOCK_MAX_RETRIES, PCFCLOCK_VERBOSE, PECOFF_DEBUG, PECOFF_SUPPORT, PPC_PROBE_CHIPSET, RANDOM_IP_ID, REGRESSION, SC_CUT_SEPCHARS, SC_CUT_SPACES2TABS, SES_ENABLE_PASSTHROUGH, UFS_DIRHASH, UFS_EXTATTR and UFS_EXTATTR_AUTOSTART.
* Fixed bugs in rev.1.973. Actually enable PCI_ENABLE_IO_MODES. Itbde2001-10-251-1/+2
| | | | | | | | | | defeats the point of LINT to comment out positive options. Fixed style bugs in rev.1.973: - disordering of PCI options list. - missing space after "options". - line longer than 80 characters. - bogus quoting of "BIOS".
* add options line for Compaq Microcom 610 ISDN card.hm2001-10-251-1/+4
|
* Add PCI_ENABLE_IO_MODES option, for BIOSen that neglect this.jlemon2001-10-252-0/+2
| | | | Submitted by: Andrew R. Reiter arr@watson.org
* Backout 1.61 -- both intrcnt and intrnames are already exportedluigi2001-10-252-12/+0
| | | | via sysctl under "hw".
* Split the per-process Local Descriptor Table out of the PCB and intojhb2001-10-258-84/+104
| | | | | | | struct mdproc. Submitted by: Andrew R. Reiter <arr@watson.org> Silence on: -current
* - Clean up the comments slightly here to make them more readable.jhb2001-10-241-3/+7
| | | | | | | | - Set the type and trapframe number for the F00F workaround since type can be used later by sv_transtrap(). Debuggers might also want to look at the type in the trapframe. Submitted by: bde (mostly)
* Set the code and signal for the F00F hack fault directly instead ofjhb2001-10-231-7/+3
| | | | | | | changing the code in the trapframe and looping back to the top of trap again. Tested by: cjc
* Implement multiple low-level console support.jlemon2001-10-231-1/+1
|
* Remove funky right justification.mike2001-10-231-9/+9
| | | | Pointed out by: bde
* wx is an ex-parrot. wx doesn't exist any more, so remove it.imp2001-10-221-1/+0
|
* Move procfs_* from procfs_machdep.c into sys_process.c, and rename them todes2001-10-211-162/+0
| | | | | | proc_* in the process; procfs_machdep.c is no longer needed. Run-tested on i386, build-tested on Alpha, untested on other platforms.
* [partially forced commit due to pilot error in earlier commit attempt]des2001-10-212-6/+6
| | | | | | | | | | | | | | | | | {set,fill}_{,fp,db}regs() fixup: - Add dummy {set,fill}_dbregs() on architectures that don't have them. - KSEfy the powerpc versions (struct proc -> struct thread). - Some architectures had the prototypes in md_var.h, some in reg.h, and some in both; for consistency, move them to reg.h on all platforms. These functions aren't really MD (the implementation is MD, but the interface is MI), so they should move to an MI header, but I haven't figured out which one yet. Run-tested on i386, build-tested on Alpha, untested on other platforms.
* Add a driver for the Compaq Microcom 610 ISDN (Compaq series PSB2222I) ISA PnPhm2001-10-211-4/+4
| | | | | | | | card. Submitted by: Steve Looman Reviewed by: hm MFC after: 1 month
* MFi386:bde2001-10-211-0/+2
| | | | | | | | | - sys/pc98/pc98/npx.c 1.87 (2001/09/15; author: imp) I don't think pc98 has acpi at all, so ifdef the acpi attachments for now. This completes merging sys/pc98/pc98/npx.c into sys/i386/isa/npx.c so that the former can be removed.
* MFpc98: fundamental differences. The magic numbers for the i/o portbde2001-10-211-0/+17
| | | | | | and the irq are different for pc98, and are not very well handled (we use a historical mess of hard-coded values, values from header files and values from hints).
* MFpc98: all changes in sys/pc98/pc98/npx.c related to FPU_ERROR_BROKEN.bde2001-10-211-0/+9
| | | | | | | | | | | | | | - 1.58 (2000/09/01; author: kato) Fixed FPU_ERROR_BROKEN code. It had old-isa code. - 1.33 (1998/03/09; author: kato) Make FPU_ERROR_BROKEN a new-style option. - 1.7 (1996/10/09; author: asami) Make sure FPU is recognized for non-Intel CPUs. The log for rev.1.7 should have said something like: Added FPU_ERROR_BROKEN option. This forces a successful probe for exception 16, so that hardware with a broken FPU error signal can sort of work.
* Remove wx.mjacob2001-10-202-6/+0
|
* Drop support for x87 emulation. Any CPU one would dare to run 5-CURRENTobrien2001-10-201-1/+0
| | | | on would have built-in FP support.
* Fix the typedef of va_list.ru2001-10-191-1/+3
|
* Try two on the preprocessing logic.obrien2001-10-191-2/+2
| | | | Reviewed by: ru
* Blah, fix braino where ru had to remind me of proper preprocessor syntax.obrien2001-10-191-1/+1
| | | | Bad fingers, no cookie.
* Fix the le driver - it has been broken for a while and these fixes havejlemon2001-10-191-27/+21
| | | | been sitting neglected in my tree.
* Add entry for the PRO/1000.jlemon2001-10-191-0/+2
|
* Add verbage for MODULES_OVERRIDE.imp2001-10-181-0/+4
|
* My attempts at minimizing the number of #def's got me in trouble.obrien2001-10-181-5/+5
|
* Add experimental support for sending keypad facility messages.hm2001-10-182-7/+20
| | | | MFC after: 2 months
* Add support for "__gnuc_va_list". Some overly "smart" libraries assumeobrien2001-10-181-0/+8
| | | | | | | the existence of the __gnuc_va_list type[*] because our compiler is GCC. [*] __gnuc_va_list is defined in the GCC ginclude/stdarg.h replacement headerwhich we don't use.
* Minor comment tweaking.obrien2001-10-171-4/+4
|
* Back out previous revision. TCBHASHSIZE isn't an option, despite what I'ddes2001-10-171-5/+0
| | | | | been misled to believe by unknown parties. It probably *should* be an option, but the runtime value is controlled by a tunable, which Ought To Be Enough.
* Make SCSI changer and SES devices standard in generic kernels.mjacob2001-10-161-0/+2
| | | | Reviewed by: ken@kdm.org
* Document TCBHASHSIZE.des2001-10-161-0/+5
|
* Deleted most of npxprobe(), and merged npxprobe1() back into npxprobe().bde2001-10-161-127/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | Use the normal interrupt handler (npx_intr()) instead of a special probe-time interrupt handler, although this causes problems due to the bus_teardown_intr() not actually even tearing down the interrupt (these problems were avoided by doing interrupt attachment for the special interrupt handler directly). Fixed minor bitrot in comments. The reason for the npxprobe()/npxprobe1() split mostly went away at about the same time it was made (in 1992 or 1993 just before the beginning of history). 386BSD ran all probes with interrupts completely masked, and I didn't want to disturb this when I added an irq probe to npxprobe(). An irq (not necessarily npx) must be acked for at least external npx's to take the cpu out of the wait state that it enters when an npx error occurs, so the probe must be done with a suitable irq unmasked. npxprobe() went to great lengths to unmask precisely the npx irq. Running probes with all interrupts masked was never really needed in FreeBSD, since FreeBSD always masked interrupts well enough using splhigh(), but it wasn't until rev.1.48 (1995/12/12) of autoconf.c that all probes were run with CPU interrupts enabled. This permits npxprobe() to probe its irq using normal interrupt resources. Note that most drivers still can't depend on this. It depends on the interrupt handler being fast and the irq not being shared.
* Commit my old fixes for cosmetic bugs in npxprobe() so that they aren'tbde2001-10-161-13/+8
| | | | | | | | | | | | | | | | lost when the buggy code goes away completely: - don't assume that the npx irq number is >= 8. Rev.1.73 only reversed part of the hard-coding of it to 13 in rev.1.66. - backed out the part of rev.1.84 that added a highly confused comment about an enable_intr() being "highly bogus". The whole reason for existence of npxprobe() (separate from the main probe, npxprobe1()) is to handle the complications to make this enable_intr() safe. - backed out the part of rev.1.94 that modified npxprobe(). It mainly broke the enable_intr() to restore_intr(). Restoring the interrupt state in a nested way is precisely what is not wanted here. It was harmless in practice because npxprobe() is called with interrupts enabled, so restoring the interrupt state enables interrupts. Most of npxprobe() is a no-op for the same reason...
* Implement linux_chown and linux_lchown. The fchown syscall mapsmarcel2001-10-164-20/+10
| | | | | | | directly to the native syscall, because no filename handling needs to be done. Tested by: Martin Blapp <mb@imp.ch>
* o Change prototype of linux_lchown and linux_chown so that themarcel2001-10-161-6/+5
| | | | | | | | | argument names match those on Alpha. o Map the fchown directly to FreeBSD. Since the old version of fchown is also mapped to the native fchown, give the new one type NODEF. Tested by: Martin Blapp <mb@imp.ch>
* Explicitly initialize the fpu when SSE is enabled since this notegge2001-10-151-0/+5
| | | | | | longer happens as a side effect of calling npxsave. Reviewed by: peter, bde
* In FreeBSD's ifreq, ifr_ifru.ifru_flags is an array of two chars, while Linuxdes2001-10-151-1/+1
| | | | | defines it as a short. Change that to an array of one short so that FreeBSD's ifr_flags macro will work (it evaluates to ifr_ifru.ifru_flags[0]).
* Change vmapbuf() to use pmap_qenter() and vunmapbuf() to use pmap_qremove().tegge2001-10-141-15/+24
| | | | | | | This significantly reduces the number of TLB shootdowns caused by vmapbuf/vunmapbuf when performing many large reads from raw disk devices. Reviewed by: dillon
* Reduce the number of TLB shootdowns caused by a call to pmap_qenter()tegge2001-10-141-4/+18
| | | | | | from number of pages mapped to 1. Reviewed by: dillon
* Correct the input/output/clobber specifications for the cpuidjdp2001-10-121-8/+3
| | | | | | | | | | | instruction. Stefan Keller <dres@earth.serd.org> noticed that CPU identification was broken when compiled with -O2, and tracked it down to the asm statement, which was storing values into memory without specifying that memory was modified. He submitted a patch which added "memory" as a clobber, but I refined it further to arrive at this version. MFC after: 3 days
* Oops, these already included sys/lock.h, they just did so afterjhb2001-10-113-3/+0
| | | | sys/mutex.h which is too late.
* Add missing includes of sys/ktr.h.jhb2001-10-113-0/+3
|
* Add missing includes of sys/lock.h.jhb2001-10-114-0/+4
|
* Documentation nitpick. IPFIREWALL_VERBOSE logging really has nothingcjc2001-10-111-2/+1
| | | | | | | | to do with "dropped packets." Any packets matching rules with the 'log' directive are logged regardless of the action, drop, pass, divert, pipe, etc. MFC after: 1 day
* Make MAXTSIZ, DFLDSIZ, MAXDSIZ, DFLSSIZ, MAXSSIZ, SGROWSIZ loaderps2001-10-102-2/+2
| | | | | | | tunable. Reviewed by: peter MFC after: 2 weeks
* Remove the Xresume* labels from the i386 interrupt handlers; theiedowse2001-10-095-7/+2
| | | | | | | | | | | | | | | | | | code in ipl.s and icu_ipl.s that used them was removed when the interrupt thread system was committed. Debuggers also knew about Xresume* because these labels hide the real names of the interrupt handlers (Xintr*), and debuggers need to special-case interrupt handlers to get the interrupt frame. Both gdb and ddb will now use the Xintr* and Xfastintr* symbols to detect interrupt frames. Fast interrupt frames were never identified correctly before, so this fixes the problem of the running stack frame getting lost in a ddb or gdb trace generated from a fast interrupt - e.g. when debugging a simple infinite loop in the kernel using a serial console, the frame containing the loop would never appear in a gdb or ddb trace. Reviewed by: jhb, bde
* Remove an unneeded variable declaration and statement.robert2001-10-092-4/+0
| | | | Approved by: jake
* Note that this driver is soon to be deprecated and removed from FreeBSD.mjacob2001-10-091-0/+4
|
OpenPOWER on IntegriCloud