Commit Graph

134187 Commits

Author SHA1 Message Date
xtraeme
971b39df9c Kill __P(), use ANSI function declarations. 2005-02-17 16:53:45 +00:00
xtraeme
d33a7206d5 Kill __P(), use ANSI function declarations. 2005-02-17 16:29:26 +00:00
xtraeme
06bca8b1ce Kill __P(). 2005-02-17 16:07:53 +00:00
xtraeme
0b39b8da10 Kill __P(), use ANSI function declarations. 2005-02-17 15:17:44 +00:00
tsutsui
13238da8a4 Account ifp->if_opackets and ifp->if_collisions. 2005-02-17 15:16:26 +00:00
xtraeme
f224c38b66 Kill __P(), use ANSI function declarations. 2005-02-17 15:00:33 +00:00
tsutsui
6b5872e584 Add __attribute__((__packed__)) to structure declarations of DMA descriptors.
Checked on 712/60. (hmm, I wonder how does it work before...)
2005-02-17 14:56:37 +00:00
tsutsui
9411ae0318 and add options COMPAT_20. 2005-02-17 14:44:50 +00:00
tsutsui
04c0426781 Add options COMPAT_16. 2005-02-17 14:44:06 +00:00
tsutsui
061b204c56 user_backtrace() is used if DEBUG or USERTRACE is defined, but not DIAGNOSTIC. 2005-02-17 14:19:49 +00:00
tsutsui
7989b67eb5 Add __attribute__((__packed__)) to DMA descriptor declarations. 2005-02-17 11:32:42 +00:00
tsutsui
c1510a551c Allow MD attachments to override CTEST4 register value. 2005-02-17 11:30:58 +00:00
tsutsui
a68fa671e6 Remove unneeded includes. 2005-02-17 11:23:36 +00:00
he
932c2bb115 In the __lint__ version of __builtin_va_arg(), apply the cast the
user specified.  Fixes build problem.
2005-02-17 08:35:24 +00:00
taca
3b1c86cc41 ISC DHCP 3.0.2 has released.
ISC DHCP 3.0.2 is now available.  This release fixes a number of bugs
present in the previous (3.0.1) release of ISC DHCP, most notably a
few failover bugs, a protocol violation, and a significant repair to
the selection and allocation of expired/abandoned leases.  As this is a
maintenance release, no new features have been added.
2005-02-17 05:28:48 +00:00
enami
aa6d8c7778 Jump to just before the copy instead of after it. Saves 8 byte on i386. 2005-02-17 04:30:23 +00:00
enami
d02f179fc6 Simplify, KNF and plug leaks. Compile test only. 2005-02-17 04:16:09 +00:00
christos
a05a0bbcb8 Deal with possibly uninitialized variable, and tidy up a bit. 2005-02-17 04:14:31 +00:00
christos
9606238d80 There were more broken things aside from the __'s missing. 2005-02-17 03:12:36 +00:00
briggs
a6246199bb Supply _kvm_kvatop() and _kvm_pa2off() for OEA-type CPUs. This does
not yet support other PPC CPU types.
Contributed by Wasabi Systems Inc.
2005-02-17 02:31:27 +00:00
christos
0a15d30196 Don't forget the trailing __'s in NetBSD Version. Should fix PR/29407. 2005-02-17 02:26:51 +00:00
briggs
367930c274 Add (back) spr.h 2005-02-17 02:24:47 +00:00
briggs
f47f1e617d Add spr.h 2005-02-17 02:24:00 +00:00
briggs
6451b0332b Update to a kcore_hdr_t that is useful for OEA-style CPUs. Adding
support for Book-E and other CPUs will require updating this structure
appropriately.
Contributed by Wasabi Systems, Inc.
2005-02-17 02:21:28 +00:00
christos
81a2ba5600 Simplify and KNF. Instead of keeping track if the pointer was allocated,
keep a copy of the pointer itself and only re-use it if the current
environment is equal to the saved pointer. Idea from OpenBSD. Avoids
problem of re-allocing a non-allocated pointer if a program resets the
environment after it has been grown.
2005-02-17 02:17:43 +00:00
briggs
9ca4305a3b Add spr.h. 2005-02-17 02:14:52 +00:00
briggs
7e9ffb8e19 Install spr.h 2005-02-17 02:14:23 +00:00
simonb
6c20b6dd04 Fix formatting problems with previous change. 2005-02-17 00:53:45 +00:00
reinoud
cc0a2a8fbb Add the KERNEL-only flag FKIOCTL (like its named in Solaris) to be passed
as extra flag to VOP_IOCTL() calls to indicate that addresses/data blocks
specified in the ioctl paramter like an address to a datablock to be filled
is for kernel use and not for userland.

The few ioctl calls that have this kind of variable-length parameter
passing can then decide if they ought to use copyout() or to use memcpy()
depending on this FKIOCTL flag.

Name and patch discussed on tech-kern.
2005-02-16 23:34:05 +00:00
yamt
e931d47c16 update status of yamt-km. 2005-02-16 22:13:31 +00:00
chs
d67b9b2ff2 undo the part of rev. 1.93 that turned the past-EOF check into an assertion.
read() can't request pages past EOF, but mmap() can.  apparently I had
disengaged the brain when I said that was ok.
2005-02-16 15:25:33 +00:00
christos
63fca13660 PR/29203, PR/29204: Max Okumoto: KNF changes to make [no functional changes] 2005-02-16 15:11:52 +00:00
briggs
da725d663a Initialize snd_high as part of tcp_sendseqinit().
From Kentaro A. Kurahone.
2005-02-16 15:00:47 +00:00
briggs
a825f3e77c Initialize t_partialacks in the tcpcb template.
From Kentaro A. Kurahone.
2005-02-16 14:59:40 +00:00
jwise
4cf2ccf6dc Wording fix. Comment still not entirely clear. 2005-02-16 14:47:46 +00:00
wiz
ae55db70ab file-4.13 is out. 2005-02-16 12:04:10 +00:00
agc
2d2a9f331d Also display package name when having trouble displaying package
information with show_index().
2005-02-16 08:35:26 +00:00
martin
9ba6d74025 Add SUNTAC U-Cable type A4 support,
from yamajun at ofug dot net, in PR kern/29397.
2005-02-16 07:52:47 +00:00
elric
48f369dafd Put Kerberos configuration options back into client config parsing
routines.
2005-02-16 05:04:05 +00:00
hubertf
756c7041c0 Add "df" display to give information about filesystems, available diskspace
and used disk capacity, similar to df(1):

Filesystem        Avail   Capacity
                         /0%  /10% /20% /30% /40% /50% /60% /70% /80% /90% /100%
/                  359M |XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
/tmp               180M |
/home              146G |XXXXXXXXXXXXXXXX
2005-02-16 03:45:41 +00:00
elric
e6e79dacef The API for ksyms_getval_from_kernel changed. 2005-02-16 00:30:28 +00:00
kleink
58e3cc3d46 Add COW, FCS, GCR, ZFOD. 2005-02-16 00:04:23 +00:00
cube
a3536fa4ff Welcome to 2.99.16 [fdclone and ksyms_getval changes]. 2005-02-15 21:11:01 +00:00
cube
9367bbf87b The way I handled /dev/ksyms requests vs. kernel requests was completely
broken.  Inside the kernel, we always have to use the real values of the
st_name fields, and only do the math when the request comes from userland.

No need for ksyms_getval_from{kernel,userland} hack anymore.  However, a
different version will be asked for pull-up in -2{,-0}, one that doesn't
break the API, that is.

Fixes PR#29133 from Jens Kessmeier.
2005-02-15 21:09:57 +00:00
jwise
5af43e174b FFS_SNAPSHOT does not need to be here _twice_, once on, once off. Obviously,
we keep the one that's on, so as not to change meaning.
2005-02-15 21:07:37 +00:00
reed
ff1c165d76 Document the environment variables for if you need to override or
manually select your compilers.
(And regen BUILDING from doc/BUILDING.mdoc.)
2005-02-15 18:41:18 +00:00
he
e4afa5eb28 A sig_atomic_t isn't necessarily compatible with a %d printf format;
on evbsh5 sig_atomic_t is an __int64_t.  Since this only stores a
signal number, cast to int before printing.
2005-02-15 16:22:12 +00:00
christos
0ed5e83fbf Don't always increment i, because when we reach the end of the array we'll
die.
2005-02-15 16:10:02 +00:00
jsm
58b3287ba1 Don't presume phantasia's internal bool (char) is the same as that in
curses.h: define phbool and use it where necessary to avoid declaring
functions with one bool and defining them with the other.

Reviewed by <hubertf>.
2005-02-15 12:58:21 +00:00
jsm
b91a81ab9f Cast last argument of execl to (char *).
Reviewed by <hubertf>.
2005-02-15 12:56:20 +00:00