Commit Graph

166094 Commits

Author SHA1 Message Date
dyoung
ad45c434e8 Use the common code for ethernet media handling. Compiles on i386. 2008-01-19 20:25:44 +00:00
dyoung
d338f6b0ba Add default handling of SIOCSIFMEDIA/SIOCGIFMEDIA. 2008-01-19 20:11:52 +00:00
pooka
13e4604edb improve readdir, abortop and bmap description
PR kern/15062 by Love
2008-01-19 19:56:47 +00:00
rumble
b5723bb617 Ensure that if kobj_load fails we do not call kobj_close followed by
kobj_unload, as an unloaded kobj will already have been freed by an
implicit kobj_unload call in kobj_close. This fixes random panics when a
module fails to load.
2008-01-19 18:20:39 +00:00
he
05477634db Bump SYMTAB_SPACE to by 10000 bytes ot 310000 so that it fits again. 2008-01-19 18:14:16 +00:00
he
d8a7a4f892 Remove the debugging sections too when converting from an ELF
to an a.out file, after the addition of the "debugging always
included" file added recently.
2008-01-19 18:10:13 +00:00
chris
1c0a934301 Optimize cpu_switchto to store the new PCB address in r7, rather than
loading it from memory in 3 places.

Also adjust ordering of a few loads to try and avoid stalling.
2008-01-19 16:49:42 +00:00
christos
19884cbfe6 s/set/test/ 2008-01-19 16:05:34 +00:00
christos
f2df27b721 only include <sys/pset.h> if _NETBSD_SOURCE 2008-01-19 16:03:48 +00:00
aymeric
8a162df73e recognize (again) the Intrepid 2 gem adapter in the Powerbook5,8 2008-01-19 15:56:52 +00:00
kardel
7e076be4ab unbreak i8254_get_timecount() in environments where the
clock interrupt is derived from other sources (e.g. lapic)
and the i8254 timer is running the full cycle without
being used as clock interrupt source.
2008-01-19 15:06:52 +00:00
chris
4e4f6b2828 With the removal of IPKDB on arm, the undefined stack is only used to
bounce into SVC32 mode, there is no per-process data stored on it.

We can therefore use the undefined stack setup by the platform machdep.c
as a system wide undefined stack.

This removes the need for a per-process undefined stack, and the processor
mode switching overhead it causes in cpu_switchto.

The space freed in the USPACE is used to increase the per process kernel
stack size.
2008-01-19 15:04:09 +00:00
hubertf
3618b9ac2c It's RPCGEN_CPP, not RPCGEN_RSH
Pointed out on tech-userlevel by Anthony Mallet <anthony.mallet@useless-ficus.net>
2008-01-19 14:22:05 +00:00
chris
f2037fb52d Flag ipkdb.h as obsolete for arm and arm platforms. 2008-01-19 13:15:46 +00:00
chris
131e68c2e1 Remove arm support for IPKDB.
It hasn't worked since arm was broken out from arm32 in Jan 2001, and
no-one has noticed or cared to fix it.
2008-01-19 13:11:09 +00:00
chris
0d9c87e437 When chaning processor mode on ARM use cpsr_c, rather than cpsr_all. 2008-01-19 12:30:51 +00:00
reinoud
7211eae041 Fix grammar in msdos speed up note 2008-01-19 11:15:45 +00:00
skrll
2e64c5fc7e Typo in uai_interface_index.
PR/37792 from Yojiro UO.
2008-01-19 09:58:38 +00:00
tls
632396a909 Add constants for modular arithmetic operations other than exponentiation -- there's hardware out there which can do them. 2008-01-19 08:08:20 +00:00
sjg
807aff24d0 Implement -dl (aka LOUD) to override '@' at the start of script lines.
Based on supplied patch.

PR: 37202
2008-01-19 06:52:13 +00:00
ginsbach
b0f72f0138 Add regression test for inet_network(3). 2008-01-19 04:12:20 +00:00
ginsbach
0d03389c52 Treat input "0x" as invalid and return INADDR_NONE. Inspired by
FreeBSD-PR 92880.
2008-01-19 03:46:52 +00:00
simonb
741ec49962 Use M_80211_NODE as malloc type for a 80211 node as rest of net80211
code does, instead of M_DEVBUF.  Fixes panics if KMEMSTATS are enabled.
Also use M_ZERO instead of memset on malloc()'s results.
2008-01-19 03:45:08 +00:00
jmcneill
230c2072a3 Note addition of amd64 suppor for bktr(4) 2008-01-19 02:19:13 +00:00
ad
40e9e0d144 Fix a dumb bug. 2008-01-19 01:18:47 +00:00
rumble
8a7c44d074 Ensure that circular dependencies do not panic the machine by doubly
locking the same file. Remove the special self-dependant case previously
introduced, as the general case handles it properly.
2008-01-19 00:57:35 +00:00
he
9df302c742 Fix another place where the newly added partial debugging symbols
need to be omitted in ELF -> a.out conversion.
2008-01-19 00:03:39 +00:00
rumble
cab5348539 Deal with braindead modules that depend on themselves, rather than inducing
an ambiguous panic later on.
2008-01-18 16:41:46 +00:00
ad
718e62e993 Noisy printfs. 2008-01-18 16:28:58 +00:00
martin
3049bc6660 Use the new information about per-cpu mappings. Gdb now can examine
the interrupt stack.
2008-01-18 16:26:09 +00:00
martin
633ac5fa86 Extend the MD kernel core header, so that crashdumps record enough
information to recover all per-cpu mappings. This provides access to
the interrupt stack for example.
2008-01-18 16:24:42 +00:00
ad
096996ec09 Noisy printf 2008-01-18 16:22:50 +00:00
christos
4e783482fa Fix off-by-one buffer overflow. VU#203611, CVE-2008-0122 2008-01-18 16:20:57 +00:00
christos
00f5cbb6dc From Richard M Kreuter: GLOB_PERIOD fix for trailing ./ or ../ 2008-01-18 16:20:00 +00:00
ginsbach
9470f2d15c Fix problem with handling escaped octal and hexadecimal sequences in the -f
format option.  The problem is that the next character after such an escape
was not copied to the output.
2008-01-18 16:16:10 +00:00
skrll
78a1d02a15 Catch up with changes so that kernel frame unwinding works again. 2008-01-18 16:07:22 +00:00
rumble
81097194ca Avoid NULL pointer deref. 2008-01-18 14:29:44 +00:00
reinoud
ef25457ba7 pthread_cond_timedwait() needs an absolute time to wait for instead of the
relative time in ticks.
2008-01-18 14:12:19 +00:00
yamt
c7560dfc16 remove stale comments 2008-01-18 12:03:32 +00:00
yamt
95293b8c43 pmap_page_remove: don't bother to find the MIN node where any node is fine. 2008-01-18 11:35:49 +00:00
yamt
93a915eb7a genfs_do_putpages: DEBUG checks. 2008-01-18 11:01:23 +00:00
yamt
36c701bcd4 genfs_do_putpages: ensure that we clean the vnode in the case of PGO_RECLAIM. 2008-01-18 11:00:53 +00:00
yamt
2b40f35040 push pmap_clear_reference calls into pdpolicy code, where reference bits
actually matter.
2008-01-18 10:48:23 +00:00
skrll
886189b384 Adjust comments to fit <80 columns. 2008-01-18 10:03:27 +00:00
skrll
f447c6a89d KNF 2008-01-18 10:00:48 +00:00
skrll
fb13dda50a Correct a comment. 2008-01-18 09:56:41 +00:00
skrll
53dff44431 Whitespace. 2008-01-18 09:48:57 +00:00
he
953b540396 Increase SYMTAB_SPACE to 270000 so that the symbol table fits again. 2008-01-18 09:48:30 +00:00
jmmv
26f9a12859 Add ofppc64 as a machine target for the tools alongside evbppc64 and macppc64
that are already there (even if not useful for anything else, AFAIK).
2008-01-18 09:45:05 +00:00
skrll
954a1f6c2c Add W and O PSW bit defines.
From OpenBSD.
2008-01-18 09:42:12 +00:00