summaryrefslogtreecommitdiffstats
path: root/sys/i386
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Added clock_lock protection to microtime.fsmp1997-08-301-2/+21
|
* Define some machine characteristics using symbol naming on conventionspeter1997-08-301-1/+7
| | | | in place in the other BSD's.
* Update to include recently added names that are shared between the C andpeter1997-08-301-1/+38
| | | | asm parts of the kernel. This is to re-enable ELF compile support.
* Another round of lock pushdown.fsmp1997-08-3019-360/+511
| | | | | | | | | Add a simplelock to deal with disable_intr()/enable_intr() as used in UP kernel. UP kernel expects that this is enough to guarantee exclusive access to regions of code bracketed by these 2 functions. Add a simplelock to bracket clock accesses in clock.c: clock_lock. Help from: Bruce Evans <bde@zeta.org.au>
* Move MACHINE_ARCH definition from <machine/param.h> to <machine/cpu.h>.kato1997-08-302-13/+13
| | | | Submitted by: Bruce Evans <bde@zeta.org.au>
* Support for the new FAST_HI algorithm, enabled.fsmp1997-08-298-80/+332
| | | | | Preliminary support for the INTR_SIMPLELOCK algorithm, disabled. Note that this code is NOT ready.
* Support for the new FAST_HI algorithm.fsmp1997-08-293-20/+58
| | | | | | Improved interrupt handling, fewer silo overflows. With help from: dave adkins <adkin003@gold.tc.umn.edu>
* Introduce FAST_HI option, ON by default.fsmp1997-08-291-1/+15
| | | | | This options allows a CPU that is blocked spinning for the giant lock to process FAST_INTR() ISRs, eg. siointr().
* Use correct member of scsi_cint for scbus. Add a space between lunkato1997-08-291-4/+4
| | | | | | | and flags. Reviewed by: kato Submitted by: Chiharu Shibata <chi@rd.njk.co.jp>
* Fix typo in the comment introduced by me.kato1997-08-291-2/+2
|
* Added a sysctl arg, hw.machine_arch. The hw.machine_arch is "ibm-pc"kato1997-08-291-1/+11
| | | | | on IBM-PC box and is "pc-98" on NEC PC-98 box. Userland program can distinguish architecture on which the program runs.
* Patch for 3.0: #include <sys/fcntl.h> instead of <sys/ioctl.h>jkh1997-08-281-1/+1
|
* Document the VM86 option.jlemon1997-08-282-2/+16
| | | | Reminded-by: John-Mark Gurney
* Remove the vm86 support as an LKM, and link it directly into the kerneljlemon1997-08-285-56/+19
| | | | | if 'options "VM86"' is in the config file. The LKM was really for development, and has probably outlived its usefulness.
* ISA driver for Comtrol Rocketport serial cards. No PCI probe stubjkh1997-08-283-0/+3227
| | | | | was submitted to me. Submitted by: Amir Farah <amir@comtrol.com>
* Add entries for Comtrol Rocketport serial card.jkh1997-08-284-5/+70
| | | | Submitted by: Amir Farah <amir@comtrol.com>
OpenPOWER on IntegriCloud