summaryrefslogtreecommitdiffstats
path: root/sys/gnu/i386
Commit message (Collapse)AuthorAgeFilesLines
* Use suword16/fuword16 instead of susword/fusword - this has two differentpeter2002-06-202-15/+15
| | | | | definitions so far.. 16 bit on x86 and appears to be 32 bit on sparc64. Be explicit to avoid suprises.
* Fixed syntax errors (tokens after #endif).bde2002-05-138-45/+45
|
* Deverbosified previous 2 commits (removed the rotted list of reasons whybde2002-03-021-3/+1
| | | | | | <sys/systm.h> is included instead of adding to it). Approved by: previous committer
* Adjust the includes a bit.markm2002-02-281-4/+3
| | | | Requested by: bde
* Warning fix. (Very basic - add the right include so that rdtsc() getsmarkm2002-02-281-0/+1
| | | | a prototype).
* Change constraints to use "+" in inline asm instead of mapping inputkeramida2001-11-121-1/+1
| | | | | | to output parameters with "0". Reviewed by: jhb
* KSE Milestone 2julian2001-09-122-5/+5
| | | | | | | | | | | | | | Note ALL MODULES MUST BE RECOMPILED make the kernel aware that there are smaller units of scheduling than the process. (but only allow one thread per process at this time). This is functionally equivalent to teh previousl -current except that there is a thread associated with each process. Sorry john! (your next MFC will be a doosie!) Reviewed by: peter@freebsd.org, dillon@freebsd.org X-MFC after: ha ha ha ha
* Do not depend on pcb_savefpu backwards compat #define.peter2001-07-121-1/+1
|
* Undo part of the tangle of having sys/lock.h and sys/mutex.h included inmarkm2001-05-011-1/+3
| | | | | | | | | | | other "system" header files. Also help the deprecation of lockmgr.h by making it a sub-include of sys/lock.h and removing sys/lockmgr.h form kernel .c files. Sort sys/*.h includes where possible in affected files. OK'ed by: bde (with reservations)
* Remove the leading underscore from all symbols defined in x86 asmjake2001-02-259-31/+31
| | | | | | | | | | | and used in C or vice versa. The elf compiler uses the same names for both. Remove asnames.h with great prejudice; it has served its purpose. Note that this does not affect the ability to generate an aout kernel due to gcc's -mno-underscores option. moral support from: peter, jhb
* Proc locking.jhb2001-01-231-0/+2
|
* Completed move of Digiboard drivers to dev/dgbbabkin2001-01-088-10303/+0
|
* Changed the copyright notice to BSD-style. The original GPL copyrightbabkin2001-01-054-24/+110
| | | | | was used due to confusion. Now this code should be moved out of the gnu ghetto subdirectory.
* Move suser() and suser_xxx() prototypes and a related #define fromphk2000-10-292-2/+0
| | | | | | | | | <sys/proc.h> to <sys/systm.h>. Correctly document the #includes needed in the manpage. Add one now needed #include of <sys/systm.h>. Remove the consequent 48 unused #includes of <sys/proc.h>.
* Remove unneeded #include <machine/clock.h>phk2000-10-152-2/+0
|
* Put on my nuclear-grade asbestos suit and cvs rm the old, broken, soundpeter2000-10-026-5566/+0
| | | | | | | | | | | drivers (again). These drivers have not compiled for 5-6 months. Now that the new sound code supports MIDI, the major reason we had for reviving it is gone. It is a far better investment polishing the new midi code than trying to keep this on life support. Come 5.0-REL, if there are major shortcomings in the pcm sound driver then maybe we can rethink this, but until then we should focus on pcm. Remember, these have not been compilable since ~April-May this year.
* The change to do a longword compare in the previous commit just broke anbde2000-06-031-1/+1
| | | | | | apparently-intended micro-optimization ("testb" is equivalent and smaller) and added a style bug (the size suffix for "testl" was missing). linux-2.3.35 already had the correct fix.
* Mass update of isa drivers using compatability shims to usepeter2000-05-282-2/+22
| | | | COMPAT_ISA_DRIVER() so that we can get rid of the evil isa_compat.h table.
* Fix a C-style comment that had a syntax error -- AND gas 2.9.1 accepted!obrien2000-05-221-1/+1
|
* If we are going to do a byte compare, the operands should be byte-sized.obrien2000-05-221-1/+1
| | | | | In this case, I believe we want to compare against the 32-bit operand so use a full-world compare operation.
* Fix inconsistent assembly. If byte moves are specified, a byte-sizedobrien2000-05-221-2/+2
| | | | target must be too.
* Compile in the case that anyone ever actually uses LEAVE_FREE_CHARS.hoek2000-05-211-1/+1
| | | | | | It's not clear what this does nor why they would do it, but it should compile, now. This could be a case where fixing the code so that it compiles merely masks more devious dysfunctional behaviour.
* Add $FreeBSD$peter2000-05-013-3/+4
|
* Remove #if NDGB > 0 and #if NDGM > 0peter2000-01-292-9/+0
|
* Remember folks, it's:msmith1999-10-123-0/+3
| | | | | | | | 1) test 2) commit 3) test again Guess who forgot 1 and 3? 8)
* remove unused #includephk1999-10-113-3/+0
|
* Introduce ttyread() and ttywrite() which do the canonical thing.phk1999-09-282-103/+5
| | | | | | Use them in many tty drivers. Reviewed by: julian, bde
* Remove five now unused fields from struct cdevsw. They should neverphk1999-09-252-10/+0
| | | | | | | | have been there in the first place. A GENERIC kernel shrinks almost 1k. Add a slightly different safetybelt under nostop for tty drivers. Add some missing FreeBSD tags
* This patch clears the way for removing a number of tty relatedphk1999-09-252-50/+12
| | | | | | | | | | | | | | | | | | | | | fields in struct cdevsw: d_stop moved to struct tty. d_reset already unused. d_devtotty linkage now provided by dev_t->si_tty. These fields will be removed from struct cdevsw together with d_params and d_maxio Real Soon Now. The changes in this patch consist of: initialize dev->si_tty in *_open() initialize tty->t_stop remove devtotty functions rename ttpoll to ttypoll a few adjustments to these changes in the generic code a bump of __FreeBSD_version add a couple of FreeBSD tags
* $Id$ -> $FreeBSD$peter1999-08-2846-46/+46
|
* Convert DEVFS hooks in (most) drivers to make_dev().phk1999-08-232-94/+31
| | | | | | | | | | | | | | | | Diskslice/label code not yet handled. Vinum, i4b, alpha, pc98 not dealt with (left to respective Maintainers) Add the correct hook for devfs to kern_conf.c The net result of this excercise is that a lot less files depends on DEVFS, and devtoname() gets more sensible output in many cases. A few drivers had minor additional cleanups performed relating to cdevsw registration. A few drivers don't register a cdevsw{} anymore, but only use make_dev().
* Simplify cdevsw registration.phk1999-05-312-36/+9
| | | | | | | | | | | | | | | | | | | | | | | | | The cdevsw_add() function now finds the major number(s) in the struct cdevsw passed to it. cdevsw_add_generic() is no longer needed, cdevsw_add() does the same thing. cdevsw_add() will print an message if the d_maj field looks bogus. Remove nblkdev and nchrdev variables. Most places they were used bogusly. Instead check a dev_t for validity by seeing if devsw() or bdevsw() returns NULL. Move bdevsw() and devsw() functions to kern/kern_conf.c Bump __FreeBSD_version to 400006 This commit removes: 72 bogus makedev() calls 26 bogus SYSINIT functions if_xe.c bogusly accessed cdevsw[], author/maintainer please fix. I4b and vinum not changed. Patches emailed to authors. LINT probably broken until they catch up.
* This commit should be a extensive NO-OP:phk1999-05-302-14/+42
| | | | | | | | | | | | | Reformat and initialize correctly all "struct cdevsw". Initialize the d_maj and d_bmaj fields. The d_reset field was not removed, although it is never used. I used a program to do most of this, so all the files now use the same consistent format. Please keep it that way. Vinum and i4b not modified, patches emailed to respective authors.
* Fix some of the places where too much inside knowledge about major/minorphk1999-05-082-8/+6
| | | | layout and dev_t structure is being (ab)used.
* Add an additional probe, hopefully allowing me to distinguishbrian1999-05-031-6/+10
| | | | | between the PC/Xi and PC/Xem boards. Now all I need is for someone with a PC/Xem to tell me what the probe says....
* s/size == 0;/size = 0;/peter1999-05-022-6/+6
| | | | | PR: 11409 Submitted by: Christopher Peterson <cpeterso@cs.washington.edu>
* s/static foo_devsw_installed = 0;/static int foo_devsw_installed;/.dt1999-04-282-4/+4
| | | | (Edited automatically)
* Suser() simplification:phk1999-04-272-8/+8
| | | | | | | | | | | | | | | | | | | 1: s/suser/suser_xxx/ 2: Add new function: suser(struct proc *), prototyped in <sys/proc.h>. 3: s/suser_xxx(\([a-zA-Z0-9_]*\)->p_ucred, \&\1->p_acflag)/suser(\1)/ The remaining suser_xxx() calls will be scrutinized and dealt with later. There may be some unneeded #include <sys/cred.h>, but they are left as an exercise for Bruce. More changes to the suser() API will come along with the "jail" code.
* Fix so that this driver works again when compiled with EGCS (whichdavidn1999-04-221-31/+31
| | | | | apparently has a much better optimiser, requiring 'volatile' memory to be declared as such).
* Remove unused function int fi() {return 0;}eivind1999-04-111-4/+1
|
* Staticize.eivind1999-04-111-2/+2
|
* Make NDGBPORTS an official option.joerg1999-03-131-1/+2
|
* Use suser() to check for super user rather than examining cr_uid directly.phk1999-01-302-4/+6
| | | | | | Use TTYDEF_SPEED rather than 9600 a couple of places. Reviewed by: bde, with a few grumbles.
* Remove LKM support, src/lkm that built it is gone and it never worked as anpeter1999-01-171-35/+1
| | | | LKM anyway. It does work as a preloaded KLD module though.
* PR: kern/8819dillon1998-12-131-55/+55
| | | | | Trivial change of macro name from DEBUG to AWE_DEBUG to avoid conflict with kernel DEBUG option.
* The "easy" fixes for compiling the kernel -Wunused: remove unreferenced staticarchie1998-12-072-24/+6
| | | | and local variables, goto labels, and functions declared but not defined.
* Examine all occurrences of sprintf(), strcat(), and str[n]cpy()archie1998-12-041-1/+1
| | | | | | | | | | | | | | for possible buffer overflow problems. Replaced most sprintf()'s with snprintf(); for others cases, added terminating NUL bytes where appropriate, replaced constants like "16" with sizeof(), etc. These changes include several bug fixes, but most changes are for maintainability's sake. Any instance where it wasn't "immediately obvious" that a buffer overflow could not occur was made safer. Reviewed by: Bruce Evans <bde@zeta.org.au> Reviewed by: Matthew Dillon <dillon@apollo.backplane.com> Reviewed by: Mike Spengler <mks@networkcs.com>
* Finished updating module event handlers to be compatible withbde1998-11-151-2/+2
| | | | modeventhand_t.
* Initialize earlier (ie: before npx) in case it makes any difference.peter1998-10-181-4/+8
| | | | | Print a message when it attaches to pmath_emulate if bootverbose so that we can be sure it's online.
* OOPS!peter1998-10-181-2/+2
| | | | | | Supply the moduledata handle rather than the event dispatcher function. This should explain the panic on boot problem that's been discussed in -current at the moment. Both machines had GNU_MATH_EMULATE.
OpenPOWER on IntegriCloud