summaryrefslogtreecommitdiffstats
path: root/sys/i386
Commit message (Collapse)AuthorAgeFilesLines
* Revert the logic behind my last change, and use a function calledjoerg1997-09-133-11/+11
| | | | | | | `is_physical_memory()' now for the decision whether to dump some region of memory or not. Suggested by: davidg
* Patch up some more undefined symbols when compiling under ELF.peter1997-09-131-1/+7
|
* Fix a warning.peter1997-09-131-2/+2
|
* Support Intel EtherExpress Pro 10+msmith1997-09-121-4/+10
| | | | | PR: kern/4335 Reviewed by: Stephen Roznowski (sjr@home.net)
* Do not ever try to coredump adapter memory regions.joerg1997-09-103-5/+38
| | | | | | | | | PR: 4486 Submitted by: tegge@idi.ntnu.no (Tor Egge) Implement a function is_adapter_memory() in order to determine what should nto be dumped at all. Currently, only populated with the ``ISA memory hole''. Adapter regions of other busses should be added.
* Allow a compile-time override of the ipfw deny rule. For a 'firewall'peter1997-09-102-2/+18
| | | | | | | | | | you don't want this (and the documentation explains why), but if you use ipfw as an as-needed casual filter as needed which normally runs as 'allow all' then having the kernel and /sbin/ipfw get out of sync is a *MAJOR* pain in the behind. PR: 4141 Submitted by: Heikki Suonsivu <hsu@mail.clinet.fi>
* Change the address for the low end of what we permit from c0000 downdg1997-09-101-2/+2
| | | | | to a0000 so that people can put their cards in the middle of their video memory if they want. :-)
* add neccessary calls to autoconf for pnp,jmg1997-09-092-18/+214
| | | | also teach userconfig about the new pnp commands, for usage see pnp(4)
* add pnp device entries...jmg1997-09-093-3/+14
|
* add the plug-and-play code into current...jmg1997-09-092-0/+806
| | | | | | | | | | | | | | | | | | | | | This code has been submitted by Luigi Rizzo <luigi@labinfo.iet.unipi.it>, based on work done by Sujal Patel. This currnetly doesn't provide the ability to register the port address of PnP cards assigned a PnP driver. As there aren't any PnP capible drivers yet, this isn't much of a problem. The code allows you, through USERCONFIG, configure what the cards port bases, irqs, and dma's are like. Currently there isn't support to view what cards are in the sytem. It successfully configures my PnP Internal Modem and sio then sees the card as a normal isa device. man page will be committed shortly. Approved-by: jkh Submitted-by: Luigi Rizzo
* Amancio's latest in the Brooktree driver.markm1997-09-091-1/+4
| | | | | This fixes the european frequency set, separates this further from the Meteor driver and fixes bugs.
* Added a check for the ISA memory address range being valid. Fixes PR#835.dg1997-09-081-2/+9
|
* Turn on the 0WS option for 16bit cards. Newer machines insert enoughdg1997-09-081-18/+27
| | | | | | | | | delay that without this the performance is unacceptable. The 83C690, 83C790, and 83C795 chips which this affects are all designed to work with 0 waitstates in 16bit mode. Also cleaned up the toggling of 16bit access mode that occurs during normal operation; the previous code may not have done the right thing in all cases.
* Change an assemble-time divide into a shift. Under binutils-2.8 gas in elfpeter1997-09-082-4/+4
| | | | | | mode, the slash is a comment leader, while under non-elf it is a divide symbol (what a concept! :-). Theoretically, #APP/#NO_APP can change this but that doesn't seem to mesh too well with macros and line continuation.
* Add missing redirection for _inside_intr -> inside_intrpeter1997-09-081-1/+2
|
* DISABLE LEVEL_3 lock pushdown, somethings seems to have broken!fsmp1997-09-071-2/+2
|
* General cleanup of the lock pushdown code. They are grouped and enabledfsmp1997-09-0716-256/+522
| | | | | | | | | from machine/smptests.h: #define PUSHDOWN_LEVEL_1 #define PUSHDOWN_LEVEL_2 #define PUSHDOWN_LEVEL_3 #define PUSHDOWN_LEVEL_4_NOT
* Removed more vestiges of config-time swap configuration.bde1997-09-071-15/+1
|
* Include kernel.h instead of declaring "extern int hz".bde1997-09-072-5/+4
|
* Fix an intermittent problem during SMP code operation. Not all of thedyson1997-09-071-2/+2
| | | | | idle page table directories for all of the processors was being updated during kernel grow operations. The problem appears to be gone now.
* Enable A law encoding.helbig1997-09-061-0/+73
| | | | Enable A law encoding.
* Enable A law encoding.helbig1997-09-061-1/+4
|
* Argh, what was I thinking?? Don't (yet) halt the CPU in the idle looppeter1997-09-051-1/+3
| | | | | | | | | while waiting for an interrupt (rather than spinning on the runqueue status bits), since the other cpu can put stuff in there and the sleeping cpu may not get an interrupt for a while. When we have a reschedule IPI, this can come back. Pointed out by: fsmp
* Cosmetic adjustment for the trap/double fault/panic cpu id listing.peter1997-09-051-8/+9
| | | | It now prints the apic id in hex rather than decimal.
* Add redirection for new _clock_lock symbolpeter1997-09-051-1/+2
|
* Add a new compile option SC_HISTORY_SIZE for syscons.yokota1997-09-043-3/+6
|
* Add a new compile option SC_HISTORY_SIZE to specify the history bufferyokota1997-09-042-14/+19
| | | | | | | | | | | | size in terms of lines (instead of bytes). When changing video mode in ioctl SW_XXX commands, syscons checks scp->history_size and allocate a history buffer at least as large as the new screen size. (This was unnecessary before, because HISTORY_SIZE was as large as 100 lines and this is bigger than the maximum screen size: 60 lines). Similar adjustment is done in ioctl CONS_HISTORY command too. PR: kern/4169 Reviewed by: sos
* Upgrade of EIDE DMA support, Johns comments:sos1997-09-044-47/+82
| | | | | | | | | | | | * lots of fixes to error handling-- mostly works now * improve DMA timing config for Triton chipsets-- PIIX4 and UDMA drive still untested * generally improve DMA config in many ways-- mostly cleanup * clean up boot-time messages * rewrite PRD generation algorithm * first wd timeout is now longer, to handle drive spinup Submitted by: John Hood <cgull@smoke.marlboro.vt.us>
* Cosmetic change to last commit: speculative_mtest -> speculative_mprobe.dg1997-09-041-8/+8
|
* Changed the memory sizing code so that if the following conditionsdg1997-09-041-21/+35
| | | | | | | | | | | | | | | are met: 1) The BIOS indicates that there is exactly 64MB of RAM, and 2) The memory size isn't specified with the MAXMEM option or the npx0 msize hack, ...then do a speculative memory probe beyond the 64MB's until the first bad page is encountered. This is an admitted hack, but should nonetheless deal with detecting the correct amount of memory in nearly all of the modern systems with >64MB of RAM. Also made a change that will cause the list of detected memory chunks to be printed if bootverbose is set.
* Always defines macros for PC-98 display.kato1997-09-041-12/+6
|
* Correct ancient spelling bogon.jkh1997-09-041-4/+4
|
* 1) Changed the volume to be a little louder.sos1997-09-031-12/+29
| | | | | | | 2) Added a non_blocking flag to the write routine. 3) Added a 3rd buffer (actually a ring buffer would be better) Submitted by: Jim Lowe <james@miller.cs.uwm.edu>
* Make the aic7xxx sequencer assembler compile in the kernel's objectgibbs1997-09-031-6/+6
| | | | | | | directory. Rename (via repository copy) some files so that the potential for future conflicts is minimized. PR: conf/4363
* Cleaned up revs 1.36-1.40 (mainly disordered declarations, non-bogusbde1997-09-031-121/+147
| | | | indentation (it is supposed to be bogus to match sio.c), and long lines).
* Removed unused #includes.bde1997-09-025-11/+5
|
* Removed the "globl" nature of the vec array. This was left over from thefsmp1997-09-021-5/+3
| | | | | time when icu.s was common between UP and SMP. It is not necessary for UP and thus can be removed from icu_ipl.s.
* Added used #include - don't depend on <sys/mbuf.h> includingbde1997-09-028-7/+15
| | | | <sys/malloc.h> (unless we only use the bogusly shared M*WAIT flags).
* General cleanup of the sub-system locking macros.fsmp1997-09-018-186/+131
| | | | | | | | Eliminated the RECURSIVE_MPINTRLOCK. clock.c and microtime use clock_lock. sio.c and cy.c use com_lock. Suggestions by: Bruce Evans <bde@zeta.org.au>
* Cleanup.fsmp1997-09-013-24/+30
|
* Removed unused #includes (<machine/cpu.h> now gives more pollution).bde1997-09-011-2/+1
|
* Removed unused #includes.bde1997-09-013-24/+2
|
* Fixed absolute pathnames in #includes.bde1997-09-011-2/+2
|
* Move closer to supporting VM86 under SMP.bde1997-09-014-4/+31
| | | | | | LINT now compiles but doesn't link. Other link-time breakage for LINT is now visible (SMP is incompatible with SIMPLELOCK_DEBUG). Submitted by: jlemon
* Removed unused #includes.bde1997-09-013-18/+3
|
* Fixed options SHOW_BUSYBUFS and PANIC_REBOOT_WAIT_TIME which were brokenbde1997-08-312-6/+6
| | | | | | by incomplete cutting and pasting from machdep.c to kern_shutdown.c. PR: 3953
* Put I*86_CPU options in opt_global.h and don't #include "opt_cpu.h"bde1997-08-312-10/+8
| | | | centrally.
* Remove pbzero(), things we load zero their own bss.phk1997-08-314-41/+6
| | | | Make VESA_SUPPORT default
* Debug version of simple_lock. This will store the CPU id of thefsmp1997-08-316-71/+144
| | | | | | | | | | holding CPU along with the lock. When a CPU fails to get the lock it compares its own id to the holder id. If they are the same it panic()s, as simple locks are binary, and this would cause a deadlock. Controlled by smptests.h: SL_DEBUG, ON by default. Some minor cleanup.
* Created a private simple_lock to control accesses to com data structsfsmp1997-08-311-51/+76
| | | | | | | | | | and hardware. There is now another simple_lock around clock data/hardware accesses in clock.c and microtime.s. It is my belief that this is the only area sio/cy might stumble into during an unblocked INTerrupt. Thus I separated the sio/cy code from the generic disable_intr()/enable_intr() routines. Controlled by smptests.h: USE_COMLOCK, ON by default.
OpenPOWER on IntegriCloud