Commit Graph

29678 Commits

Author SHA1 Message Date
hannken
bcb9e18784 Fix bad parentheses in `getcpuinfo()'. 1997-07-07 08:44:01 +00:00
jonathan
65e2c70353 Force write-back of D-cache after doing DDB writes on mips3. Flushing
the Icache is not sufficient: a mips3 can write a new insn into
writeback L1 Dcache, leaving stale instructions in the mixed L2 cache.
1997-07-07 04:55:27 +00:00
jonathan
919bc0ce92 Typo in RCS id. 1997-07-07 03:57:55 +00:00
jonathan
d1ec048977 DDB for mips.
Add DDB interface to /sys/arch/mips/mips..
  Rework heuristic stack traceback to work with DDB.
  Add hooks  to print exception log from DDB.
  Add hooks from pmax console drivers:   call Debugger()
  after break from serial console, or 'DO' key from LK-xxx.
1997-07-07 03:54:24 +00:00
lukem
d65e85e261 * use _yp_invalid_domain() (from libc) to validate the domainnames
* cleanup for -Wall
* use __RCSID

the following were inspired by openbsd:
* only allow connections from reserved ports
* implement -insecure, which turns off the above restriction (required
  for sunos 3.x and ultrix)
* prevent more than 100 domains from being bound at once, preventing
  a denial of service attacks
1997-07-07 02:27:05 +00:00
lukem
42736edb4d * implement _yp_invalid_domain, which returns non-zero if the given
domainname isn't RFC1035 compliant. Also ensure that the length <=
  YPMAXDOMAIN (which is less than what RFC1035 allows).
* use _yp_invalid_domain in the public front-ends, instead of using
  hand-rolled checks
* fix a typo
1997-07-07 02:00:30 +00:00
jonathan
a70f22abe7 Back out previous revision, which is reported to break signal-handing
in the GNU awk in our tree.
Leave the change in but commented out, it may be a  ld.so problem.
1997-07-07 00:13:56 +00:00
jonathan
34b0d2463d Re-commit (from non-stale NFS filehandle) with debugging really turned off. 1997-07-07 00:02:16 +00:00
jonathan
25afea2de8 * Delint for gcc -Wall -Wmissing-prototypes -Wstrict-prototypes.
* Add an extra 4096 bytes of padding to the end of ECOFF files for
  the benefit of dumb TFTP clietns that read entire pages.
1997-07-06 23:57:39 +00:00
pk
27434aef27 Follow lock changes (DEBUG => LOCKDEBUG). 1997-07-06 23:57:16 +00:00
pk
4846e5ba47 Adjust for generic lock changes. 1997-07-06 23:52:52 +00:00
is
487476c2a9 Implement the RTC_OFFSET kernel option/rtc_offset variable for the Amiga port.
To get the old behaviour, set options RTC_OFFSET=0 in your kernel configuration
file.
1997-07-06 23:17:53 +00:00
fvdl
5dec49d28c There appear to be spinlock bugs in the VM code. They are not a problem
now, as we're always one on CPU (they will be later, though). With DEBUG,
they cause a lot of output, so DEBUG -> LOCKDEBUG for now.
1997-07-06 22:53:14 +00:00
christos
1a1bf9f574 Use WARNS=1 1997-07-06 22:52:28 +00:00
fvdl
6eecd789e6 There appear to be spinlock bugs in the VM code. They are not a problem
now, as we're always one on CPU (they will be later, though). With DEBUG,
they cause a lot of output, so DEBUG -> LOCKDEBUG for now.
1997-07-06 22:51:59 +00:00
thorpej
d190114742 Use the _correct_ version of ip_compat.h. (Why there are two very different
files in the IP Filter distribution called "ip_compat.h", please don't
even get me started on.)
1997-07-06 22:48:19 +00:00
ragge
759763742b Remove __VM_PMAP_HACK. 1997-07-06 22:38:22 +00:00
thorpej
808fe191ef Need ip_auth.o 1997-07-06 22:34:34 +00:00
thorpej
3eb73cbc72 ipftest needs ip_auth.o 1997-07-06 22:33:46 +00:00
thorpej
ba90103dd6 The fingerprint of (*fr_checkp)() is the same if compiling in kernel
or user code.
1997-07-06 22:32:34 +00:00
is
5e6f97d4ef A first hack at DraCo real-time clock support; only reads clock, currently.
Also only whole seconds are used (while the hardware provides 1/256 seconds).
1997-07-06 22:27:19 +00:00
pk
f02db5d4f6 Turn off microsparc II compatibility bit in Fujitsu turbosparc processors. 1997-07-06 22:23:37 +00:00
is
3040e9247c * Command code definitions for the Dallas Semiconductor series of chips which
connect to their 1-wire bus like the DS2404 "EconoRAM Time Chip"
- and -
* Interface function definitions for this kind of chips. Currently only
low-level byte_read and _write, implenented as inline functions.
This functions take a struct ds_handle * (also defined here), which contains
pointers to bit-read/write and reset functions.
Eventually, prototypes for memory-access functions should go here, and the
1-wire bus should be made a BSD auto-configuration bus.
1997-07-06 22:22:01 +00:00
pk
0ab67aca5d Define the turbosparc's processor configuration register. 1997-07-06 22:21:11 +00:00
thorpej
a6c52a705c Fix a case where an error condition wouldn't be indicated in the dispatch
routine.  A few minor KNF'ish stylistic changes while I'm here.
1997-07-06 22:19:43 +00:00
thorpej
5b434b6e72 Under no circumstances should we #define iplread to an error stub; ip_fil.c
already has the correct code to return ENXIO if logging is not enabled.
1997-07-06 22:13:49 +00:00
thorpej
928ff81b87 Need ip_auth.o 1997-07-06 22:12:56 +00:00
pk
c4e35e2f8b Have a patchable variable `ignore_bogus_traps' (0 by default) that
controls whether or we panic when receiving an unhandled trap.
1997-07-06 21:34:45 +00:00
pk
bbb57cadb4 Use the module info fields cputype' and vactype' to hold a processor
family's type and cache information. This can be optionally modified
by the associated `match' routine.
1997-07-06 21:18:27 +00:00
pk
55a6f97322 Add VAC_UNKNOWN to `enum vactype'. 1997-07-06 21:15:14 +00:00
pk
81469e565e Add two more fields (cputype' and vactype') to the module info. 1997-07-06 21:14:25 +00:00
christos
3a693097b3 Remove accidental copy-right attribution. 1997-07-06 19:35:14 +00:00
christos
3de323b091 Fix printf formats. 1997-07-06 19:32:39 +00:00
christos
03507045bc Fix compiler warnings. 1997-07-06 19:31:28 +00:00
veego
b02d8c44ab Rename the xterm entry to xterm-nc and add a shorter xterm entry (from
christos).
1997-07-06 19:18:24 +00:00
christos
54fac6850e Fix compiler warnings. 1997-07-06 18:25:21 +00:00
christos
bb4dad4f04 PR/3832: Enami Tsugutomo: passwd.c will not compile on NetBSD/alpha 1997-07-06 18:17:21 +00:00
mycroft
8f6e4a4b64 Fix type error that caused offset to wrap at 4GB. 1997-07-06 16:19:40 +00:00
fvdl
b362aa16be Put lock around inode hashing, because getnewvnode or MALLOC might block,
creating race conditions.
1997-07-06 12:43:43 +00:00
fvdl
1680996881 Put lock around nfs node hashing to avoid race conditions, as MALLOC
or getnewvnode may block.
1997-07-06 12:42:06 +00:00
fvdl
6d77e0b4bb Move kern_lock.c to kern/ 1997-07-06 12:40:30 +00:00
fvdl
206e9582ef Move lock.h and kern_lock.c to their rightful places, as in Lite2. Make
the VM code use the new interface.
1997-07-06 12:38:25 +00:00
fvdl
8f8988628d Add NetBSD RCS Id, and a few minor changes to make it compile. 1997-07-06 12:35:33 +00:00
fvdl
eb5b4ac910 Add lock count fields to proc structure. Always define NCPU to 1 for now
in lock.h
1997-07-06 12:32:38 +00:00
pk
48ad000318 Slight optimization when pv_unlink'ing last entry (suggested by Eric Fair).
Use MR4() macro where appropriate.
1997-07-06 12:29:54 +00:00
pk
c3af302842 Use setpgt4m() in setptesw4m(). 1997-07-06 12:22:39 +00:00
fvdl
f93a04da47 Import Lite2 locking code 1997-07-06 12:19:53 +00:00
mycroft
e9f6264b87 Add missing space between play and act. 1997-07-06 11:20:10 +00:00
mycroft
3353b6d236 Fix parsing error with escaped colons. 1997-07-06 11:19:16 +00:00
lukem
7da56091ad as inspired by a commit message of Todd Miller <millert@cvs.openbsd.org>:
* cleanup a bit for -Wall
* use __progname instead of "restore"
1997-07-06 08:51:28 +00:00