Commit Graph

142245 Commits

Author SHA1 Message Date
he 7675f83375 Make this build again after the libc/libkern consolidation by referring
to common/lib/libc/Makefile.inc via ${S}/../
2005-12-27 12:29:05 +00:00
yamt 87a5de2d3d add rcsid. 2005-12-27 11:29:30 +00:00
tsutsui d5f01723d6 Don't redefine _LOCORE if it's already defined.
Some Makefiles for standalone programs already have it.

XXX Old src/sys/lib/libkern/arch/mips/memcpy.S had some #ifdef MIPS3_5900
XXX which added some extra nops, but this new common bcopy.S doesn't.
2005-12-27 11:23:53 +00:00
yamt 1c535f7467 sacom_attach_subr: don't try to initialize a lock which doesn't exist. 2005-12-27 11:10:06 +00:00
yamt a30f264f2a don't rename bswap{16,32} if defined(_KERNEL) || defined(_STANDALONE).
(they are hidden by gcc-optimized versions, though.)
2005-12-27 09:38:11 +00:00
yamt 987ddf0a22 make alpha kernel buildable again.
don't add __ prefix to bswap{16,32}
if defined(_KERNEL) || defined(_STANDALONE).
2005-12-27 09:22:08 +00:00
yamt 43308ea339 fix build of bzero.
XXX is it better to remove it as i386?
2005-12-27 08:49:35 +00:00
yamt 1722e429b8 lack of COMMON_ARCHDIR is not fatal. 2005-12-27 08:43:05 +00:00
yamt bdaa56955a print a meaningful error rather than "Need an operator". 2005-12-27 07:31:45 +00:00
yamt 7ee50ca690 cpu_exec_aout_makecmds: make this compilable after ktrace-lwp merge. 2005-12-27 07:25:57 +00:00
chs 0545b6e0cb changes for making DIAGNOSTIC not change the kernel ABI:
- for structure fields that are conditionally present,
   make those fields always present.
 - for functions which are conditionally inline, make them never inline.
 - remove some other functions which are conditionally defined but
   don't actually do anything anymore.
 - make a lock-debugging function conditional on only LOCKDEBUG.

as discussed on tech-kern some time back.
2005-12-27 04:06:45 +00:00
ross 0d8bcff6f5 Fix typo inside PPC_OEA64 2005-12-27 02:19:27 +00:00
chs 33d70de438 remove the COM_MPLOCK option. always include the spinlock in the softc
and always call the simple_* locking functions.  the locking functions
are compiled out if they are not needed anyway, so a separate option
for this doesn't gain anything.

this also fixes the serial console on my alpha ES40 (which doesn't make much
sense since the com driver should still be under the big lock on alpha,
but whatever).
2005-12-27 00:46:38 +00:00
cube 16b23e6e66 More ktrace-lwp merge fallout: netbsd_elf32_signature's prototype has
changed.  Too bad C doesn't have signatures in symbols.

Fixes PR#32388 by Nicolas Joly.
2005-12-27 00:36:00 +00:00
chs 688c44a9a0 hold kernel_lock while calling printf() in scdebug_*. 2005-12-27 00:28:08 +00:00
chs 36bb975558 hold kernel_lock while calling systrace_exit().
fixes PR 25856.
2005-12-27 00:27:34 +00:00
chs 0c8753dfd8 in systrace_make_msg(), sleep uninterruptibly while waiting for
the response from the systrace daemon, so that the message protocol
between the kernel and the daemon doesn't get out of sync.
fixes PR 29654.
2005-12-27 00:26:58 +00:00
yamt 3e450009f4 socreate: fix a null dereference on nfs reconnect, introduced by ktrace-lwp. 2005-12-27 00:00:29 +00:00
perry 7f9541e925 u_intN_t -> uintN_t
Someone really should update this whole document to reflect current
reality. It is valuable but very, very old.
2005-12-26 20:04:46 +00:00
perry e1834435d5 note the intN_t, uintN_t types.
XXX this document is rather musty. It needs a general update.
2005-12-26 20:00:04 +00:00
perry fd18408b9a u_intN_t -> uintN_t 2005-12-26 19:40:14 +00:00
perry 68da44823c u_intN_t -> uintN_t 2005-12-26 19:23:59 +00:00
elad 0ba17c4726 /dev/i4b -> /dev/isdn. From ulfdoz. 2005-12-26 19:11:17 +00:00
perry 5f65228b74 u_intN_t -> uintN_t 2005-12-26 19:01:47 +00:00
perry 144515ce1a u_intN_t -> uintN_t 2005-12-26 18:41:36 +00:00
christos ddeaed4040 don't hard-code 63. 2005-12-26 16:11:04 +00:00
christos 4ead7c35d9 Julio M. Merino Vidal: Patch to recognize and automatically skip the Ontrack
Disk Manager drivers.
2005-12-26 16:08:34 +00:00
rpaulo 7eace3f40d Kill BPF_KERN_FILTER. Seems like it died with the new pppd import.
No replies from tech-kern@, but who introduced this option 8 years ago
(Christos) said it's ok to remove it.
2005-12-26 15:45:48 +00:00
jmmv e7ab8d7413 Installing the primary bootstrap requires two arguments, so ensure they are
present.  Otherwise, an assertion is triggered (and core is dumped) in the
MD setboot code (just try 'installboot /dev/fd0a' on, e.g., i386).
2005-12-26 13:30:25 +00:00
xtraeme a8e8170d02 Sync bufq API with the new source code. ok'ed by yamt. 2005-12-26 12:18:11 +00:00
yamt 9e52a8c06f dkctl(8), bufq(9): Add a functionality to switch bufq strategy on the fly. 2005-12-26 10:44:47 +00:00
yamt 6171bf3a5b add a functionality to get/switch bufq strategy.
based on a patch from Juan RP.
2005-12-26 10:38:52 +00:00
yamt 9297401d54 - add ioctls to set/get disk bufq strategy.
- implement them for some drivers.
2005-12-26 10:36:47 +00:00
yamt f9b53cfa6f bufq_alloc: return correct errors rather than 0. 2005-12-26 10:00:34 +00:00
rpaulo 9c7380b5d3 Moved to interface/interface.c 2005-12-25 22:24:57 +00:00
rpaulo 31e9b918de Change ioctls.c to interface/interface.c to accomodate further
addition of regressions tests.
2005-12-25 22:07:01 +00:00
rpaulo 333596ccdb PR/32386: Dawid Szymanski (arhea). Add support for the 8169SB chipset. 2005-12-25 19:55:40 +00:00
rpaulo 30a362ab71 Add Intel 82801FBM ICH6M LPC Interface Bridge. There seem to be more
pci products missing, but I can only test this one.
2005-12-25 19:26:33 +00:00
rpaulo e086cb7991 ANSIfy. 2005-12-25 18:46:27 +00:00
rpaulo e868ae92cb PR/32381: Paul Shupak. Convert to ktrace-lwp. 2005-12-25 18:43:31 +00:00
rpaulo 188e99a1b6 Remove ppi* at ppbus?. 2005-12-25 18:39:36 +00:00
perry 8ce6cbdcd6 add "S" to LINTFLAGS so that "inline" is accepted by lint 2005-12-25 18:34:23 +00:00
jmmv 39d0d77704 Let this build when WSMUX_DEBUG is set after the merge of ktrace-lwp. 2005-12-25 17:23:42 +00:00
yamt 2958e2dd9c update VNODE_FLAGBITS.
- remove VDIRTY.
- add VFREEING.
- remove leading V from VLOCKSWORK.
2005-12-25 14:48:59 +00:00
uwe e3ebee56f2 Be consistent about macro indentation.
Indent delay slot instructions.
Whitespace changes only, same binary code produced.
2005-12-25 11:08:35 +00:00
perry 12b4f1c3ae __const__ -> const -- not strictly needed since it is in __attribute__ 2005-12-24 23:44:14 +00:00
perry f8824a9b43 change comment from __const__ to const 2005-12-24 23:43:17 +00:00
perry 3d4ed1fbc7 __inline__ -> inline 2005-12-24 23:41:33 +00:00
perry 4a2c58419f __asm__ -> __asm 2005-12-24 23:29:06 +00:00
perry 50a256a3a0 __asm__ -> __asm
__const__ -> const
__inline__ -> inline
__volatile__ -> volatile
2005-12-24 23:23:59 +00:00