Commit Graph

142856 Commits

Author SHA1 Message Date
uwe 8b5ad019f4 ANSI'ify functions without arguments. Use uintN_t.
Use for (;;) continue; for unreachable infinite loops, as lint is
somehow more happy about them.
2006-01-24 22:32:19 +00:00
bouyer 72d6450048 Revert part of previous: checking the drive's status after a read seems to
cause interrupt timeouts on some hardware.
2006-01-24 21:43:26 +00:00
is 778ad8adea Alas, 5 Megabytes aren't enough any longer. 2006-01-24 20:28:21 +00:00
christos 4478531a98 Add support for more puc chips from Pavel Cahyna.
This might NetMos 9845 card which need the COM_FREQ * 4 hack, but this
can be re-added by a more specific entry (matching subsystem IDs).
2006-01-24 20:10:55 +00:00
is 2cee6da4a1 provide more space for relocs in the secondary bootblock.
Guarantee that relocs and 16 bit pc-relative addressing works.
2006-01-24 20:04:05 +00:00
is 0fb6c8c68b Use our own s(n)printf. 2006-01-24 20:02:03 +00:00
is 2c91ec128b Implement sprintf and snprintf. 2006-01-24 19:56:27 +00:00
christos 6d2fba90fb remove functions that we should not be exposing. 2006-01-24 19:33:35 +00:00
christos b72acd5139 rename __func to _func_unlocked, and add their prototypes in extern.h
instead of exposing them in dirent.h. More locking consistency fixes.
2006-01-24 19:33:10 +00:00
wiz bdd062fb4d Bring over changes I had committed to qsieve.6. 2006-01-24 19:17:19 +00:00
elad ef2fdd1d7f qsieve(6) -> qsieve(1) 2006-01-24 19:16:53 +00:00
elad 481e7be9a6 add qsieve/qsafe entries for new locations. 2006-01-24 19:13:46 +00:00
elad cb990bef57 qsieve/qsafe not here anymore. 2006-01-24 19:06:35 +00:00
elad c53cd0c067 moduli utils moved from games to usr.bin. 2006-01-24 19:01:45 +00:00
elad e31e6187a9 Put qsieve/qsafe in usr.bin. 2006-01-24 18:59:23 +00:00
elad c1ef323e1a Remove qsiefe/qsafe from games. Will be put back in usr.bin. 2006-01-24 18:51:20 +00:00
dsl 6c51ef9cb5 Fix spelling mistake in message 2006-01-24 18:35:18 +00:00
christos 0126713300 don't re-define DEBUG 2006-01-24 17:39:44 +00:00
christos 096020da19 fix debugging memsets. 2006-01-24 17:37:05 +00:00
christos a3ae551d7e simplify assertion. 2006-01-24 17:35:33 +00:00
christos a0f3f04724 fix debugging printf formats. 2006-01-24 17:33:44 +00:00
christos 374485f427 fix compilation with -DDEBUG 2006-01-24 17:30:51 +00:00
christos 90d0f8cfa0 PR/32616: Yves-Emmanuel JUTARD: Fix compilation with -DDEBUG 2006-01-24 17:29:33 +00:00
christos ec567cd38c appease lint and gcc. (compile with -DDEBUG) 2006-01-24 17:24:37 +00:00
christos 83e4df350a Use a separate macro, not DEBUG to enforce 8 bit chars [glob uses internally
16 bit chars]. Fix lint complaint when compiling with 8 bit chars.
2006-01-24 17:24:09 +00:00
christos 4787e0f575 PR/32615: Yves-Emmanuel JUTARD: Add missing telopts extern variable. 2006-01-24 17:13:59 +00:00
christos decae1574c PR/32614: Yves-Emmanuel JUTARD: Typing error in some comment ;-) 2006-01-24 17:08:58 +00:00
christos 8f67218a4b PR/32613: Yves-Emmanuel JUTARD: Incoherencies in file sys/lib/libsa/net.h
- Make prototype of ether_sprintf() match the one in sys/net.
- Rename in_cksum to ip_cksum and fix its prototype. in_cksum() operates
  on an mbuf and ip_cksum() operates on a plain buffer. We should not call
  functions that operate on different arguments the same name (this is not
  c++).
2006-01-24 17:07:19 +00:00
kleink 0d57b38925 Note roundf() in STANDARDS, too. 2006-01-24 16:39:45 +00:00
christos 96dd93ad18 Expose __readdir and __telldir, unlocked versions of the non-underscore
versions.
2006-01-24 14:01:32 +00:00
christos 28463c62e1 PR/32609: Tanaka Akira: seekdir blocks if pthread is linked
Do locking consistently to avoid recursive locks (like the bug reported in
this pr), and to avoid leaking locks on errors.
2006-01-24 14:00:57 +00:00
christos 964e09988d expose unlocked versions of readdir and telldir. 2006-01-24 13:58:58 +00:00
yamt f988f07e7e add "show mbuf" command. 2006-01-24 13:03:33 +00:00
yamt e8a3b3eb83 add ddb "sh mbuf" command. 2006-01-24 13:02:57 +00:00
uwe 25196f3ee3 Consistently apply ifdef logic so that in SH3-only or SH4-only kernel
all references to CPU cpecific functions are direct, and unused hooks
are not defined.
2006-01-24 00:01:22 +00:00
uwe aec45d5629 Pacify -Wuninitialized for SH3 && SH4 case. 2006-01-23 23:25:45 +00:00
uwe 6b850c4367 Delclare __sh_PTEH for SH3 && SH4 case. 2006-01-23 23:17:49 +00:00
uwe 8cfe9e15ba Pacify -Wuninitialized for SH3 && SH4 case. 2006-01-23 23:07:19 +00:00
yamt 9178119484 ip6_input: don't embed scope id before running packet filters. 2006-01-23 23:01:40 +00:00
uwe 406de23722 Don't waste rts delay slots in sh3_switch_resume and savectx.
longjmp needs to arrange for a call to setjmp to return 1.
2006-01-23 22:52:09 +00:00
uwe a22aa45682 Use cpp-safe labels. 2006-01-23 22:32:50 +00:00
uwe 5db834dbd4 LINTSTUB: include <sh3/locore.h> - to check *_switch_resume prototypes. 2006-01-23 22:14:59 +00:00
uwe 3e38547c6e Provide sh3_switch_resume/sh4_switch_resume with own copies of L_MD_UPTE.
Move SET_ENTRY_SIZE(sh4_switch_resume) under ifdef SH4.
2006-01-23 22:06:44 +00:00
uwe 8025d17cda Fix sh_tlb_update signature for SH3 && SH4 case. 2006-01-23 22:04:04 +00:00
uwe 4dfa629043 Wrap sh3_switch_setup/sh4_switch_setup into the same ifdefs that are
used in vm_machdep.c at their invocation sites.
2006-01-23 21:45:02 +00:00
uwe f8e74829d9 Fix the sense of #else/#endif comments. 2006-01-23 21:39:15 +00:00
xtraeme 5f9320c98e PR port-i386/32606: Add support for the Pentium M 710. 2006-01-23 20:21:28 +00:00
yamt 3bf197127a merge xen pmap_enter, pmap_enter_ma, pmap_remap_pages.
ok'ed by Manuel Bouyer.
2006-01-23 20:19:08 +00:00
yamt f67f4b05f1 uvm_mremap: fix "easy cases". 2006-01-23 07:53:01 +00:00
uwe 9167514771 In onfault handlers of copyinstr and copyoutstr move EFAULT to the
correct register.  This code worked correctly only because the right
register already contained EFAULT.
2006-01-23 03:17:17 +00:00