christos
b64edcaded
fix empty if
2006-10-04 15:53:24 +00:00
christos
1f689bbab1
fix empty if.
2006-10-04 15:52:35 +00:00
christos
82e1169df4
fix empty if
2006-10-04 15:49:59 +00:00
christos
12288ce635
Fix empty if
2006-10-04 15:48:47 +00:00
christos
ff685a253e
we have rounddown in <sys/param.h> now
2006-10-04 15:48:36 +00:00
christos
888446efb0
fix empty if
2006-10-04 15:41:25 +00:00
christos
53dabe0e36
fix empty if body.
2006-10-04 15:39:24 +00:00
christos
a40b878b67
fix incomplete initializer
2006-10-04 15:38:14 +00:00
christos
f2e38a9477
prevent empty body in if.
2006-10-04 15:36:23 +00:00
tsutsui
5194905263
Make sun3 port use MI mk48txx(4) and intersil7170(4) TOD clock drivers
...
with bus_space(9) support.
Note clock device name in obio.sun3 is renamed to oclock to use the same
MI attribute (intersil7170) with sun3x.
Tested on 3/80 and TME emulating 3/120 (but not on 3/4xx VME monsters).
2006-10-04 15:14:49 +00:00
tsutsui
76bdb56136
Update descriptions for API changes.
2006-10-04 15:07:03 +00:00
tsutsui
2f49bc32a3
Reorganize MI intersil7170(4) TOD clock driver:
...
- make intersil7170_softc more generic and allocate it during autoconf(9)
rather than MALLOC(9) in attachment
- put todr_chip_handle_t, year0 value, and the century adjustment flag
into the intersil7170_softc
- change the attachment function to just take the softc like mk48txx(4)
- split sys/dev/ic/intersil7170.h into intersil7170reg.h and intersil7170var.h
- cleanup some macro
Untested on real sun4 machines, but no objection on port-sparc
(and port-sun3) in three days.
2006-10-04 15:04:43 +00:00
christos
2f0f18be71
prevent empty if.
2006-10-04 15:03:25 +00:00
christos
ab28bede4c
Prefix "Syntax Error" with the program name, if the command name is not
...
available. At least this way we get an idea of what program gives us the
message.
2006-10-04 15:00:38 +00:00
christos
ee4546d741
unbreak gcc-3 builds.
2006-10-04 14:31:55 +00:00
christos
a9fc92da63
PR/34681: Scott Ellis: Explicitly include <sys/socket.h>
2006-10-04 14:30:35 +00:00
christos
1eafb02344
put back ignorerootrhosts
2006-10-04 14:26:31 +00:00
christos
49aa2a2d1d
Add rounddown from <sys/gmon.h>
2006-10-04 14:23:28 +00:00
christos
254fd5aabe
delete ROUNDUP/ROUNDDOWN; they don't belong here and ROUNDUP is a copy
...
of roundup in <sys/param.h>
2006-10-04 14:22:58 +00:00
tnozaki
dbae970b16
use wcstombs/mbstowcs instead of wcsrtombs/mbsrtombs
...
for performance of non-C/POSIX locale.
2006-10-04 14:19:16 +00:00
tnozaki
44eb8f042e
fix gcc -Werror -Wmissing-braces problem
...
mbstate_t(this is opaque object)'s initializer should be ``{ 0 }'',
so changed 1st field of union from character array to integer.
2006-10-04 13:51:59 +00:00
cube
c72f004e7c
Rework the way PowerNow! and Cool'n'Quiet features are detected and
...
displayed, to make the code much simpler and easier to follow. Also, use
bitmask_printf() to make output consistent with other stuff. Use
CPUID2FAMILY() where appropriate.
2006-10-04 13:18:10 +00:00
reinoud
14573dd3a8
Fix panic on unmounting VAT file systems. The VAT table was allocated and
...
freed on the wrong malloc type.
2006-10-04 13:03:17 +00:00
pooka
d6ced1d27a
fix slight ooops in previous
2006-10-04 12:39:05 +00:00
reinoud
64f9244532
Fix confusing statement on locking and contradiction in the VOP_RECLAIM()
...
explanation.
It told the node vp would be locked on entry and later told that the vnode
is unlocked on entry and should remain unlocked on exit.
2006-10-04 12:32:53 +00:00
pooka
9852bfb57e
ucred -> kauth sweep
2006-10-04 11:35:47 +00:00
pooka
d3d83351d8
obsolete uvm_coredump.9
2006-10-04 11:29:35 +00:00
pooka
ecf7acf05b
and lo, the uvm_coredump() peril was no more (since almost 5 years ago)
2006-10-04 11:27:45 +00:00
dbj
a8e91bcbd6
fix build issue for !_KERNEL
...
fixes pr lib/34708, credit Henning Petersen via t-online.de
2006-10-04 09:43:45 +00:00
skrll
fa1866d1ca
Sync with the OpenBSD diskubr.c and fix some of our own bugs:
...
- copyright maintenance
- remove all the endian stuff - it didn't work
- correct a comment spello
- use the correct blkno when writing a disklabel
- don't pass garbage from the stack as the disklabel when trying to read
the LIF label in the write label case.
Fixes PR 34547 from David H. Gutteridge
2006-10-04 07:28:00 +00:00
mrg
6ea0a43f25
use call instead of set/jmpl. add an entry point for idle that expects
...
sched_lock to be unlocked, and use this for non-boot cpu's. complete a
comment describing how registers in idle_switch are expected to be set.
2006-10-04 05:00:39 +00:00
mrg
0b76b71214
redo previous: print these int64_t with PRIx64.
2006-10-03 23:39:03 +00:00
mrg
c8ead6a43b
use the same SAVE_LOCALS_INS definition for 32 bit and 64 bit kernels.
...
refactor TRAP_SETUP() a little between these two versions to be more alike.
2006-10-03 23:34:52 +00:00
bjh21
d98bf2904c
Fast write_region_2, which is just the fast read_region_2 with different
...
inner loops.
2006-10-03 23:15:18 +00:00
mrg
ca8f51da8c
use the correct size/type for MP variables (pointers and longs).
...
a 32 bit MULTIPROCESSOR kernel now builds (and crashes quickly.)
2006-10-03 23:05:53 +00:00
mrg
9c88746805
need a (u_long) in the middle to go from 64 bit value to pointer value.
2006-10-03 22:37:51 +00:00
mrg
5552365a11
in pmap_mp_init(), tag & data are 64 bit int's, print them as such.
...
also, fix up some comments and function names.
2006-10-03 22:36:21 +00:00
bjh21
9dc368e353
Clean up read_region_2 code to use fast version under more circumstances, and
...
to always use it aligned on a 4-word boundary. The setup code feels like
it could be sleeker, but I can't currently see how.
2006-10-03 22:27:02 +00:00
mrg
4171072ea1
need an extra (u_long) to convert a 32 bit pointer to a cell_t.
2006-10-03 21:06:58 +00:00
mrg
5e4d079944
ddb_suspend() takes a struct trapframe64 *.
2006-10-03 21:05:46 +00:00
mrg
7aeb862201
cb_cpuinfo member is a paddr_t - make it printable as 64bits in 32bit mode.
2006-10-03 21:05:22 +00:00
mrg
09e5a0bb3a
make get_ncpus() set sparc_ncpus = 1 in the !MULTIPROCESSOR case.
2006-10-03 21:04:47 +00:00
manu
20d3dfdcfa
fix endianness issue introduced yesterday
2006-10-03 20:43:10 +00:00
mrg
71bff15ee0
in the 64bit version of SAVE_LOCAL_INS, s/BIAS/STKB/ to allow future
...
sharing of the 32 and 64 bit versions of the {TRAP,INTR}_SETUP macros.
2006-10-03 20:01:19 +00:00
christos
40a354528b
Coverity CID 3692: Prevent use after free (from Arnaud Lacombe)
2006-10-03 19:06:05 +00:00
christos
45234b0cee
Coverity CID 3690: Add KASSERT to check for reverse INULL.
2006-10-03 19:04:25 +00:00
christos
df9ed85b34
redo previous: It is better to add a KASSERT, since this is code is same
...
with ufs.
2006-10-03 19:01:29 +00:00
christos
b6bf786e1c
Coverity CID 3690: Reverse INULL: Add KASSERT.
2006-10-03 18:59:22 +00:00
christos
e11b3365c9
Coverity CID 3689: dp cannot be NULL at this point, so don't check for it.
2006-10-03 18:54:08 +00:00
christos
b01cc3ff0a
Coverity CID 3170,3171: Add KASSERT.
2006-10-03 18:26:03 +00:00