Commit Graph

101571 Commits

Author SHA1 Message Date
martin
7b46d3361c Document "options PPPOE_TERM_UNKNOWN_SESSIONS". 2002-09-01 17:35:38 +00:00
martin
ac83580ea9 Add an option PPPOE_TERM_UNKNOWN_SESSIONS to forcefully disconnect sessions
we don't know anything about with a PADT packet.

Use with care, this is pretty dangerous and will kill all userland PPPoE
implementations. Therefore it is not enabled by default nor added as
a commented out option to GENERIC kernels.

But it is highly usefull if you have a fixed IP, an ISP that does not use
LCP echo requests for link monitoring and you want to recover quickly after
a crash or otherwise ungracefull disconnect.
2002-09-01 17:21:40 +00:00
nsmrtks
c763a95295 x68k: Note for `floppy-root' installation system which is currently broken. 2002-09-01 16:44:27 +00:00
mycroft
7d1a320ba9 Add module stuff. 2002-09-01 15:38:56 +00:00
itohy
f89823c1f8 Save 1-4 instructions on all cases except for the ret=0 case.
This is probably the last version from me. :)
You are welcome to speed it up, of course. :)

Here's a benchmark on SH-4 200MHz.
9.2% faster if all the cases occur evenly.

return value	C version	previous vers	this version	speed ratio
of ffs()	(ns/call) *1	(ns/call)	(ns/call) *2	(*1/*2)
------------	------------	-------------	------------	-----------
 0		  86		 81		 81		1.06
 1		 110		106		 91		1.21
 2		 132		106		 92		1.43
 3		 165		117		 96		1.72
 4		 201		116		 95		2.12
 5		 237		107		 99		2.39
 6		 271		106		101		2.68
 7		 307		116		107		2.87
 8		 342		116		105		3.26
 9		 376		126		111		3.39
10		 410		127		110		3.73
11		 446		136		115		3.88
12		 483		134		116		4.16
13		 518		125		119		4.35
14		 551		126		120		4.59
15		 587		135		127		4.62
16		 624		136		126		4.95
17		 658		139		126		5.22
18		 694		140		126		5.51
19		 727		148		131		5.55
20		 764		150		131		5.83
21		 799		141		135		5.92
22		 834		142		135		6.18
23		 868		152		140		6.20
24		 903		153		142		6.36
25		 939		140		127		7.39
26		 974		141		126		7.73
27		1009		152		131		7.70
28		1044		148		130		8.03
29		1080		141		136		7.94
30		1115		141		136		8.20
31		1151		151		141		8.16
32		1185		151		140		8.46
2002-09-01 13:14:53 +00:00
scw
f387921c31 Move registers r10-r13 over to the Caller-saved set, at least as far
as intrframe and trapframe are concerned.

According to the ABI, only the low 32-bits of these registers are
guaranteed to be preserved by the callee. Therefore, we need to
preserve all 64-bits of them in the interrupt trampoline.
2002-09-01 11:40:54 +00:00
itojun
2b9b8f5bd3 reduce #ifdef related to OPENSSLDIR - we want it be static 2002-09-01 11:38:34 +00:00
takemura
6a286a4f2a BUGFIX: WSDISPLAYIO_SVIDEO and WSDISPLAYIO_GVIDEO don't work. 2002-09-01 11:38:29 +00:00
enami
cef250dab9 Detect the last nfs write error. 2002-09-01 11:33:22 +00:00
martin
2a2b8d06ad Fix usage(). Noticed by itojun. 2002-09-01 11:28:07 +00:00
takemura
e00064b3e0 Fixed again. Rev 1.7 was incomplete and this device did't work for long time. 2002-09-01 10:45:38 +00:00
bouyer
3a7aeb79ca nfs_doio(): handle the case where nfs_writerpc() returned error != 0.
Fix kern/18125. OK'd by thorpej and chs.
2002-09-01 10:39:38 +00:00
scw
75c81c5275 Blah, some of the larger operands could overflow the "opstr" buffer.
Bump the size of all of them to be on the safe side.
2002-09-01 10:07:25 +00:00
wiz
23e291b03a Grammar improvement. 2002-09-01 09:44:58 +00:00
martin
470a3cfc76 Add a "clear-auth-failure" command to reset the authentication failure
count without changing any (local) authentication settings.

Fixes kern/18071 ( without any kernel change ;-) )
2002-09-01 09:42:05 +00:00
scw
d73a178b6b Output a new-line character after disassembling the opcode. 2002-09-01 09:18:52 +00:00
scw
5938c04bbe Yay, single-step now works.
Also do a wee bit tidying up.
2002-09-01 09:01:33 +00:00
scw
1398cd2898 Verify that the lowest 4 bits of the opcode are zero before disassembling.
According to the docs, opcode 0x6ff4fff0 is gauranteed to generate
a RESINST exception on all implementations, so disassemble it as "illegal".
2002-09-01 09:00:35 +00:00
taca
41ce843fd8 Remove extra tab in really an empty line. 2002-09-01 08:10:53 +00:00
onoe
9652be60a4 adopted changes made to libcrypto/Makefile:
e_os.h is not part of exported openssl interface, so don't install it into
/usr/include/openssl (e_os.h has an explicit comment about it).  it obviously
is a bug in openssl 0.9.6 Makefile.
based on openssl 0.9.7 snapshot.
2002-09-01 06:01:13 +00:00
ross
8473dbb8b4 xref ifconfig.if(5) 2002-09-01 03:05:34 +00:00
gmcgarry
854f689fcb Document some more errors. 2002-09-01 02:50:33 +00:00
uwe
e724974d54 Add quirks for Neodio ND5010. 2002-08-31 22:51:16 +00:00
scw
4c7d945594 A full SHmedia disassembler for ddb(9).
ToDo:
 - Symbol support (can't test as yet, due to lack of symbols),
 - Take notice of adjacent "movi/shori" instructions in order to display
   the resulting 32/64-bit value, with symbol lookup if possible.
2002-08-31 22:21:39 +00:00
sommerfeld
782a77d899 Initialize proc0.p_raslock to avoid a lock assertion on the first fork(). 2002-08-31 20:02:09 +00:00
atatat
fd654ccfe7 One more spelling fix 2002-08-31 19:44:59 +00:00
wiz
2422729483 Mdoc, grammar, and typo fixes. Remove trailing whitespace. 2002-08-31 19:33:58 +00:00
atatat
1a3525a866 Add pmap(1) command 2002-08-31 19:11:16 +00:00
atatat
0df8113ba6 Add a pmap(1) command that is effectively the same in function as the
Solaris command by the same name.  pmap(1) prints out the given
process's address space, each vm_map_entry at a time, with several
different output formats.

I wrote this tool as an autodidactic means of learning something about
UVM.
2002-08-31 19:09:30 +00:00
mycroft
1b6aaa02a2 Turn off DEBUG by default, and compile with -O3. (Tested on Alpha, ARM,
x86 and PowerPC.)
2002-08-31 18:18:14 +00:00
gehenna
848d04ae8d G. not F. 2002-08-31 17:08:49 +00:00
drochner
77944bfa08 call cpu_dumpconf() after dumpdev change, so that
the global dumpsize/dumplo get updated
2002-08-31 17:07:59 +00:00
mycroft
d8c6540a80 Add XF86 4 stuff for macppc. 2002-08-31 16:22:22 +00:00
mycroft
d920addfd1 Remove include/X11/pixmaps from here. 2002-08-31 16:21:44 +00:00
mycroft
f70e623863 Someone doesn't know the alphabet... 2002-08-31 16:11:03 +00:00
mycroft
096e4935aa Add XF86 4 stuff for macppc. 2002-08-31 16:06:23 +00:00
itojun
50d422c24f e_os.h is not part of exported openssl interface, so don't install it into
/usr/include/openssl (e_os.h has an explicit comment about it).  it obviously
is a bug in openssl 0.9.6 Makefile.
based on openssl 0.9.7 snapshot.
2002-08-31 10:46:36 +00:00
scw
63fee282ed Always panic in the default/dopanic case, even if kdb_trap() returns. 2002-08-31 09:41:05 +00:00
scw
9c10dc5c22 If DEBUG is defined, enable Cayman's NMI button. 2002-08-31 09:30:02 +00:00
scw
da6c509ffa Pick a better T_NMI code. The previous one clashed with T_AST|T_USER. 2002-08-31 09:25:53 +00:00
scw
c2aa4b74c8 Don't use "Branch Likely" for the NMI case. 2002-08-31 09:25:24 +00:00
scw
9a6575c7df Add T_NMI. 2002-08-31 09:12:59 +00:00
scw
d7dbb0862d Deal with NMIs by jumping through the normal trap() code path.
At the very least, this will dump the machine state. At best,
we get into ddb().

This provides a useful way to regain control using an NMI button
if the cpu decides to spin at a high ipl.
2002-08-31 09:11:56 +00:00
scw
17746914f0 Small simplification to the splx() code path when dealing with soft
interrupts, and fix a couple of nits in the generic soft interrupt code.

Soft interrupts now work.
2002-08-31 08:42:00 +00:00
itojun
e1754c22c2 if () statement error. From: Krister Walfridsson <cato@df.lth.se>
(not compiled)  sync w/kame
2002-08-31 07:56:14 +00:00
kristerw
29301c43b8 Remove bogus output of '\n' when using -q. 2002-08-31 07:26:17 +00:00
ad
e7ab6ca550 Nuke incorrect mailbox length defines and just use 13 everywhere. May help
with PR/14266.
2002-08-31 05:18:03 +00:00
thorpej
212cb9f78d Add machine-dependent bits of RAS for arm32. 2002-08-31 03:07:32 +00:00
tsutsui
cda9af7bb6 Adapt arc to recent cpu_sysctl() changes on mips ports:
> Merge cpu_sysctl() for all mips ports, based on powerpc and m68k precedent.
>
> For now, only pmax implements CPU_BOOTED_KERNEL.  Need to revisit.
2002-08-30 23:49:27 +00:00
wiz
3ffc87a5bb Add some commas in enumerations. 2002-08-30 22:16:30 +00:00