summaryrefslogtreecommitdiff
path: root/sys/i386
Commit message (Collapse)AuthorAgeFilesLines
* Updated generated files.Bruce Evans1998-06-096-34/+3
| | | | Notes: svn path=/head/; revision=36783
* Include "opt_compat.h" explicitly instead of depending onBruce Evans1998-06-091-2/+2
| | | | | | | | | | makesyscalls.sh generating it as pollution. Don't attempt to separate the includes by newlines. makesyscalls.sh just ignores newlines. Notes: svn path=/head/; revision=36781
* Updated generated files.Bruce Evans1998-06-083-311/+311
| | | | Notes: svn path=/head/; revision=36771
* Fixed pedantic semantics errors (bitfields not of type int, signed intBruce Evans1998-06-088-63/+63
| | | | | | | | | | or unsigned int (this doesn't change the struct layout, size or alignment in any of the files changed in this commit, at least for gcc on i386's. Using bitfields of type u_char may affect size and alignment but not packing)). Notes: svn path=/head/; revision=36767
* Fix more of my DDB breakage.Doug Rabson1998-06-081-3/+3
| | | | Notes: svn path=/head/; revision=36766
* Correct even more ioctl breakage :(Søren Schmidt1998-06-083-3/+3
| | | | | | | | Doesn't people check their code before committing anymore, it could at least compile ???? Notes: svn path=/head/; revision=36764
* Fixed pedantic semantics errors (bitfields not of type int, signed intBruce Evans1998-06-081-39/+39
| | | | | | | | or unsigned int (don't do this in one case where it would change the object file)). Notes: svn path=/head/; revision=36761
* Make DDB work again after I broke it :-(.Doug Rabson1998-06-081-2/+2
| | | | Notes: svn path=/head/; revision=36760
* Updated yet another ioctl, and put wst in LINT to inhibit further bitrot.Bruce Evans1998-06-083-4/+10
| | | | Notes: svn path=/head/; revision=36754
* Add a member function more to the timecounters, this one is for usePoul-Henning Kamp1998-06-073-3/+8
| | | | | | | | with latch based PPS implementations. The client that uses it will be committed after more testing. Notes: svn path=/head/; revision=36741
* Fix some more ioctls which I missed becausese they were hidden by optionsDoug Rabson1998-06-072-4/+4
| | | | | | | which were not in LINT. Notes: svn path=/head/; revision=36738
* This commit fixes various 64bit portability problems required forDoug Rabson1998-06-0767-488/+522
| | | | | | | | | | | | | FreeBSD/alpha. The most significant item is to change the command argument to ioctl functions from int to u_long. This change brings us inline with various other BSD versions. Driver writers may like to use (__FreeBSD_version == 300003) to detect this change. The prototype FreeBSD/alpha machdep will follow in a couple of days time. Notes: svn path=/head/; revision=36735
* Add a "this" style argument and a "void *private" so timecounters canPoul-Henning Kamp1998-06-073-12/+12
| | | | | | | figure out which instance to wount with. Notes: svn path=/head/; revision=36719
* keymap -> key_map so that the kernel will compile withSteve Price1998-06-061-2/+2
| | | | | | | | | | -DESKEYMAP. PR: 6864 Submitted by: Javier Rueda <jmrueda@diatel.upm.es> Notes: svn path=/head/; revision=36704
* Reverse the default sense of the IPFW/DIVERT reinjection codeJulian Elischer1998-06-052-2/+4
| | | | | | | | | | | | so that the new behaviour is now default. Solves the "infinite loop in diversion" problem when more than one diversion is active. Man page changes follow. The new code is in -stable as the NON default option. Notes: svn path=/head/; revision=36678
* Add the DPT driver here. It's kinda ironic that it got enabled in -stableJordan K. Hubbard1998-06-031-1/+8
| | | | | | | | first. :) PR: 6848 Notes: svn path=/head/; revision=36614
* Force success of the probe (after doing it as before except in oneBruce Evans1998-06-031-4/+5
| | | | | | | | | | | | | | | | | miscconfigured case) if the port is the console. This fixes several bugs: - if all sioprobe()s failed, then the console driver followed null pointers in cdevsw[]. - if the sioprobe() for the console failed but another sioprobe() succeeded, then init hung early when the console couldn't be opened. - it was silly for the console to not be there after printing boot messages on it. Bugs introduced by this are hopefully no worse than old ones caused by forcing the success of the `cn' level probe. Notes: svn path=/head/; revision=36613
* Fixed a printf() arg botch in the previous commit.Bruce Evans1998-06-031-7/+6
| | | | | | | | | | | | Only complain about an irq mismatch in the probe if the configured irq doesn't become active, and then print the bitmap of irqs that became active (including clock irqs) instead of just the first (not including clock irqs). Bugs reported by: msmith Notes: svn path=/head/; revision=36611
* Ifdefed the netisr support.Bruce Evans1998-06-031-2/+21
| | | | | | | | PR: 6760 Reviewed by: joerg Notes: svn path=/head/; revision=36605
* If vm86 services are available, use these to perform the APM BIOSMike Smith1998-06-037-35/+177
| | | | | | | | | probe and intialisation. This will ultimately remove the grubby (but functional) hack that copies a real-mode function into low memory early in locore.s. Notes: svn path=/head/; revision=36596
* ".. x11amp appears to be calling shmctl(id, IPC_RMID, 0) and the emulationJordan K. Hubbard1998-06-021-9/+13
| | | | | | | | | | | layer does not like the null shmid_ds buffer pointer. The emulation layer returned an error without ever calling FreeBSD's shmctl, so the segments were not being deleted when the reference count went to zero." Submitted by: Kevin Street <street@iname.com> Notes: svn path=/head/; revision=36587
* Correct sleep priority.John Dyson1998-06-022-4/+4
| | | | Notes: svn path=/head/; revision=36582
* Make this ${.OBJDIR} and ${.CURDIR} aware.Steve Price1998-05-311-8/+13
| | | | | | | PR: 2565 Notes: svn path=/head/; revision=36544
* Converted the ICU-level interrupt tests (3, 5 and 8) in sioprobe() intoBruce Evans1998-05-314-121/+49
| | | | | | | | | | | | a test of the irq number, and made failure of this test non-fatal. Removed related unused complications for the APIC_IO case. Removed the no-test3 flag. Deverbosified the failure messages for the other tests. Removed the per-port verbose flag - just use the general verbose flag. Notes: svn path=/head/; revision=36492
* Add minimum driver for XC6200 based cards. Currently it knows aboutPoul-Henning Kamp1998-05-302-2/+8
| | | | | | | the HOT1 from www.vcc.com. Notes: svn path=/head/; revision=36475
* 100 xrpu Xilinx Reprogrammable Processing UnitPoul-Henning Kamp1998-05-291-1/+2
| | | | Notes: svn path=/head/; revision=36460
* most recent code for Loran driver.Poul-Henning Kamp1998-05-291-64/+120
| | | | Notes: svn path=/head/; revision=36459
* Some cleanups related to timecounters and weird ifdefs in <sys/time.h>.Poul-Henning Kamp1998-05-289-26/+25
| | | | | | | | | | | | | | | | | | | | | | | Clean up (or if antipodic: down) some of the msgbuf stuff. Use an inline function rather than a macro for timecounter delta. Maintain process "on-cpu" time as 64 bits of microseconds to avoid needless second rollover overhead. Avoid calling microuptime the second time in mi_switch() if we do not pass through _idle in cpu_switch() This should reduce our context-switch overhead a bit, in particular on pre-P5 and SMP systems. WARNING: Programs which muck about with struct proc in userland will have to be fixed. Reviewed, but found imperfect by: bde Notes: svn path=/head/; revision=36441
* Install ${DESTDIR}/boot.help during `make distribution'.Joseph Koshy1998-05-271-1/+5
| | | | | | | | PR: 6063 Submitted by: Doug <Studded@dal.net> Notes: svn path=/head/; revision=36415
* Fix some bitrot in the multicast support, the move from TAILQ macros wasn't ↵Paul Richards1998-05-271-2/+2
| | | | | | | implemented fully. Notes: svn path=/head/; revision=36413
* This time add an Id string that'll actually get expanded :-)Paul Richards1998-05-271-1/+1
| | | | Notes: svn path=/head/; revision=36412
* Add an ID string (can't believe it never had one!)Paul Richards1998-05-271-0/+1
| | | | Notes: svn path=/head/; revision=36411
* Install in /usr/lib/aoutSøren Schmidt1998-05-271-2/+2
| | | | Notes: svn path=/head/; revision=36409
* code was using wrong temporary variable "i", in place of "j".Jonathan M. Bresler1998-05-261-2/+2
| | | | | | | | | | | | | | i contains the contents of the EP_W0_CONFIG_CTRL register. i was being used as the array index into an array on the stack. j is initialized to 0 as it should be. PR: kern/6757 Reviewed by: jmb Submitted by: Stephane E. Potvin <sepotvin@videotron.ca> Notes: svn path=/head/; revision=36387
* Use switch instead of if/else chain for 686 model identification.Dag-Erling Smørgrav1998-05-221-8/+41
| | | | | | | Add precise model identification for 586-family CPUs. Notes: svn path=/head/; revision=36303
* Add CPU_PII to the list.Dag-Erling Smørgrav1998-05-221-1/+2
| | | | Notes: svn path=/head/; revision=36290
* Correctly identify the precise CPU model within the 686 family: insteadDag-Erling Smørgrav1998-05-211-2/+16
| | | | | | | | of just printing "Pentium Pro", check the model (cpu_id & 0xf0) and print the appropriate information. Notes: svn path=/head/; revision=36286
* Move __FreeBSD_version from src/sys/conf/newvers.sh toEivind Eklund1998-05-211-2/+2
| | | | | | | | | src/sys/sys/param.h, to facilitate access from the kernel. This make it possible to do outside kernel development and have it actually work properly. Notes: svn path=/head/; revision=36283
* Make flushing dirty pages work correctly on filesystems thatJohn Dyson1998-05-211-1/+4
| | | | | | | | | unexpectedly do not complete writes even with sync I/O requests. This should help the behavior of mmaped files when using softupdates (and perhaps in other circumstances also.) Notes: svn path=/head/; revision=36275
* And entries for ThunderLAN driver.Bill Paul1998-05-213-3/+18
| | | | Notes: svn path=/head/; revision=36273
* Back out previous commit - it breaks when called from 'buildworld' :-(Eivind Eklund1998-05-201-2/+2
| | | | | | | (Damn, I wanted that in the -snap). Notes: svn path=/head/; revision=36261
* Move __FreeBSD_version into <sys/param.h> (with automated duplicationEivind Eklund1998-05-201-2/+2
| | | | | | | | | to <osreldate.h>). This allow kernel drivers access to it. Approved by: -current Notes: svn path=/head/; revision=36260
* LoadSoftModem() routine at sio.c does not trap general serial I/Os.Poul-Henning Kamp1998-05-201-2/+2
| | | | | | | | | | | It fauls to probe eather DSI Modem or others. PR: 4657 Reviewed by: phk Submitted by: Kenji Saito <marukun@mx2.nisiq.net> Notes: svn path=/head/; revision=36246
* Change the description of where to get the Soft Updates files.Julian Elischer1998-05-192-6/+10
| | | | Notes: svn path=/head/; revision=36236
* Remove option for SCHED_FIFO. With this optional, SCHED_FIFOPeter Dufault1998-05-191-6/+1
| | | | | | | is the same as RTPRIO_IDLE when it falls through to the default. Notes: svn path=/head/; revision=36214
* Missing parens caused cpu features not to be printed for cyrix >= M2/MX.Peter Wemm1998-05-191-4/+9
| | | | | | | | | | Althought the comments say the datasheet doesn't list the device ID registers on the M2/MX, they seem to be there and quite alive. (It's interesting to note that the M2/MX calls itself a 686 class cpu but is missing a heck of a lot of features, including VME, PGE, PSE, etc) Notes: svn path=/head/; revision=36200
* Change a data type internal to the timecounters, and remove the "delta"Poul-Henning Kamp1998-05-192-36/+18
| | | | | | | | | function. Reviewed, but not entirely approved by: bde Notes: svn path=/head/; revision=36198
* Make the size of the msgbuf (dmesg) a "normal" option.Poul-Henning Kamp1998-05-194-10/+27
| | | | Notes: svn path=/head/; revision=36179
* Back out part of revision 1.198 commit (clearing kernel stack pages).Tor Egge1998-05-191-5/+2
| | | | | | | By request from David Greenman <dg@root.com> Notes: svn path=/head/; revision=36169
* Disallow reading the current kernel stack. Only the user structure andTor Egge1998-05-193-10/+51
| | | | | | | | the current registers should be accessible. Reviewed by: David Greenman <dg@root.com> Notes: svn path=/head/; revision=36168