| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
theoretically supportable, but you'd really be happier with FreeBSD 2.1.8
on it.
Notes:
svn path=/head/; revision=117870
|
| |
|
|
|
|
|
| |
Found by: FlexeLint
Notes:
svn path=/head/; revision=115490
|
| |
|
|
|
|
|
| |
and improve readability.
Notes:
svn path=/head/; revision=113613
|
| |
|
|
|
|
|
|
| |
definitions so far.. 16 bit on x86 and appears to be 32 bit on sparc64.
Be explicit to avoid suprises.
Notes:
svn path=/head/; revision=98482
|
| |
|
|
| |
Notes:
svn path=/head/; revision=96523
|
| |
|
|
|
|
|
|
|
| |
<sys/systm.h> is included instead of adding to it).
Approved by: previous committer
Notes:
svn path=/head/; revision=91564
|
| |
|
|
|
|
|
| |
Requested by: bde
Notes:
svn path=/head/; revision=91494
|
| |
|
|
|
|
|
| |
a prototype).
Notes:
svn path=/head/; revision=91476
|
| |
|
|
|
|
|
|
|
| |
to output parameters with "0".
Reviewed by: jhb
Notes:
svn path=/head/; revision=86307
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=83366
|
| |
|
|
| |
Notes:
svn path=/head/; revision=79627
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
Notes:
svn path=/head/; revision=76166
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=73011
|
| |
|
|
| |
Notes:
svn path=/head/; revision=71487
|
| |
|
|
| |
Notes:
svn path=/head/; revision=70783
|
| |
|
|
|
|
|
|
| |
was used due to confusion. Now this code should be moved out of the
gnu ghetto subdirectory.
Notes:
svn path=/head/; revision=70676
|
| |
|
|
|
|
|
|
|
|
|
|
| |
<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>.
Notes:
svn path=/head/; revision=67893
|
| |
|
|
| |
Notes:
svn path=/head/; revision=67164
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=66522
|
| |
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=61215
|
| |
|
|
|
|
|
| |
COMPAT_ISA_DRIVER() so that we can get rid of the evil isa_compat.h table.
Notes:
svn path=/head/; revision=61011
|
| |
|
|
| |
Notes:
svn path=/head/; revision=60802
|
| |
|
|
|
|
|
|
| |
In this case, I believe we want to compare against the 32-bit operand so
use a full-world compare operation.
Notes:
svn path=/head/; revision=60801
|
| |
|
|
|
|
|
| |
target must be too.
Notes:
svn path=/head/; revision=60800
|
| |
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=60754
|
| |
|
|
| |
Notes:
svn path=/head/; revision=59874
|
| |
|
|
| |
Notes:
svn path=/head/; revision=56874
|
| |
|
|
|
|
|
|
|
|
|
| |
1) test
2) commit
3) test again
Guess who forgot 1 and 3? 8)
Notes:
svn path=/head/; revision=52146
|
| |
|
|
| |
Notes:
svn path=/head/; revision=52136
|
| |
|
|
|
|
|
|
|
| |
Use them in many tty drivers.
Reviewed by: julian, bde
Notes:
svn path=/head/; revision=51756
|
| |
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=51658
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=51654
|
| |
|
|
| |
Notes:
svn path=/head/; revision=50477
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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().
Notes:
svn path=/head/; revision=50254
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=47640
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=47625
|
| |
|
|
|
|
|
| |
layout and dev_t structure is being (ab)used.
Notes:
svn path=/head/; revision=46679
|
| |
|
|
|
|
|
|
| |
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....
Notes:
svn path=/head/; revision=46355
|
| |
|
|
|
|
|
|
| |
PR: 11409
Submitted by: Christopher Peterson <cpeterso@cs.washington.edu>
Notes:
svn path=/head/; revision=46338
|
| |
|
|
|
|
|
| |
(Edited automatically)
Notes:
svn path=/head/; revision=46153
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=46112
|
| |
|
|
|
|
|
|
| |
apparently has a much better optimiser, requiring 'volatile' memory
to be declared as such).
Notes:
svn path=/head/; revision=45938
|
| |
|
|
| |
Notes:
svn path=/head/; revision=45581
|
| |
|
|
| |
Notes:
svn path=/head/; revision=45580
|
| |
|
|
| |
Notes:
svn path=/head/; revision=44722
|
| |
|
|
|
|
|
|
|
| |
Use TTYDEF_SPEED rather than 9600 a couple of places.
Reviewed by: bde, with a few grumbles.
Notes:
svn path=/head/; revision=43425
|
| |
|
|
|
|
|
| |
LKM anyway. It does work as a preloaded KLD module though.
Notes:
svn path=/head/; revision=42764
|
| |
|
|
|
|
|
|
| |
Trivial change of macro name from DEBUG to AWE_DEBUG to avoid conflict
with kernel DEBUG option.
Notes:
svn path=/head/; revision=41725
|
| |
|
|
|
|
|
| |
and local variables, goto labels, and functions declared but not defined.
Notes:
svn path=/head/; revision=41591
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
Notes:
svn path=/head/; revision=41514
|