Commit Graph

25515 Commits

Author SHA1 Message Date
gwr
f914f723de Add NBPG 1997-02-11 19:02:30 +00:00
gwr
9c65cce961 Only run dbsym if not KGDB 1997-02-11 19:00:21 +00:00
gwr
9536056d54 Fix some comments 1997-02-11 18:59:23 +00:00
phil
ec39037613 Add lastlogin to the list of subdirectories. 1997-02-11 18:47:04 +00:00
phil
38d6f43246 Import of lastlogin from John M. Vinopal, from PR #1932.
RCS ID changes from PR.  Updated man page for NetBSD 1.2 instead
of NetBSD 1.1.   If this program is merged with last(1), then
it will be removed.
1997-02-11 18:36:51 +00:00
is
fa0bef0e54 Allocate and define AF_ARP and PF_ARP. These will be used to
a) communicate the hardware independent part of ARP packets (rfc826) from/to
if_*subr.c in the ongoing effort to rewrite the ARP subsystem for non-Ethernet
networks
b) communicate the hardware independent part of RARP packets (rfc903) from/to
userland sockets to avoid putting link level header format knowledge into
rarpd, when it is enhanced to support non-Ethernet networks.
1997-02-11 17:47:44 +00:00
mrg
954a0f16a0 getopt returns -1 not EOF. 1997-02-11 09:41:45 +00:00
mrg
f9db097104 remove dangerous sprintf and strcpy calls. 1997-02-11 09:29:26 +00:00
mrg
a4424f42c3 use strncpy. 1997-02-11 09:25:24 +00:00
mrg
53fddda6b9 give buffers lengths; use strdup. 1997-02-11 09:24:03 +00:00
mrg
5e32125362 remove dangerous sprintf call; use strdup 1997-02-11 09:20:15 +00:00
mrg
e5baf973cc avoid not knowing the length of internal buffers. 1997-02-11 08:43:23 +00:00
mrg
23768a9e9a remove possibly dangerous sprintf and strcpy calls. 1997-02-11 08:42:03 +00:00
mrg
b9de9dbc60 remove dangerous sprintf and strcpy calls. 1997-02-11 08:40:44 +00:00
mrg
fc8700736a remove possibly dangerous sprintf and strcpy calls. 1997-02-11 08:39:23 +00:00
mrg
cc03262905 remove dangerous sprintf and strcpy calls. 1997-02-11 08:26:27 +00:00
mrg
a4d8e69073 remove possibly dangerous sprintf and strcpy calls. 1997-02-11 08:21:03 +00:00
mrg
2ba96e4833 remove dangerous sprintf calls. 1997-02-11 08:18:32 +00:00
cjs
795a80dde1 64-bit police. 1997-02-11 08:15:19 +00:00
mrg
56d95f62f0 remove dangerous sprintf calls. 1997-02-11 08:15:08 +00:00
scottr
6b91a6b891 Add asc device 1997-02-11 08:01:03 +00:00
scottr
78098d98dc Remove dependency on asc driver, using generic console bell callback
instead.  Bell parameters are now entirely self-contained, as they
are managed by ite-specific ioctl()'s.
1997-02-11 07:51:18 +00:00
scottr
77e960bf17 Complete revamp of Apple Sound Chip support. The ASC can now be accessed
as a real device whose registers and buffers are available through mmap(2),
which makes further development of the driver considerably less painful.
1997-02-11 07:47:36 +00:00
scottr
2a2a70d39c Initialize and use extent manager for bus space mapping functions.
Tweak bus_space_{tag,handle}_t types slightly to facilitate this.
1997-02-11 07:37:41 +00:00
scottr
154aa56b01 Add asc character device; kill cdev_grf_init() macro. 1997-02-11 07:35:49 +00:00
mikel
43d35f1fb2 fix typo; from Saitoh Masanobu in PR misc/3199. 1997-02-11 06:01:54 +00:00
mark
83697fa8b9 Added a field sc_ixfer to the sfas_softc structure to allow the standard
sfas ixfer() routine to be overridden with a card specific one.
1997-02-11 03:33:46 +00:00
gwr
7bd7620f61 Sync with sun3. 1997-02-11 00:56:08 +00:00
gwr
aebbe3f083 Change most occurrences of "struct frame" (union of all frames formats)
to "struct trapframe" (the minimal frame) because in most cases, all we
care about is the minimal, invariant part.  Further, if the declaration
says we have an arg of type "frame" (big union), then KGDB will try to
print the whole bloody thing out whether you want to see it or not.
1997-02-11 00:18:25 +00:00
gwr
f13b3f57fd This is obsolete (and has been for a while) 1997-02-11 00:10:35 +00:00
gwr
2bdded1c83 Move the logic about entering the kernel debugger (whichever one) to
trap.c:trap_kdebug() so it can be C code instead of assembly.
Make sure the initial frame pointer is zero so KGDB will know when to
stop trying to follow frame pointers during backtrace.
1997-02-11 00:05:01 +00:00
gwr
1e0e399b63 Change most occurrences of "struct frame" (union of all frames formats)
to "struct trapframe" (the minimal frame) because in most cases, all we
care about is the minimal, invariant part.  Further, if the declaration
says we have an arg of type "frame" (big union), then KGDB will try to
print the whole bloody thing out whether you want to see it or not.

Also add the function trap_kdebug() which takes care of calling one of:
kgdb_trap (for KGDB), or kdb_trap, (for DDB) or the Sun PROM monitor.
This logic used to be in locore, but it is better as C code.
1997-02-11 00:01:15 +00:00
gwr
4bcf6b565f Change most occurrences of "struct frame" (union of all frames formats)
to "struct trapframe" (the minimal frame) because in most cases, all we
care about is the minimal, invariant part.  Further, if the declaration
says we have an arg of type "frame" (big union), then KGDB will try to
print the whole bloody thing out whether you want to see it or not.
1997-02-10 23:57:34 +00:00
gwr
569d97a2f9 Save/restore the monitor "v" command handler. 1997-02-10 23:44:23 +00:00
gwr
b31965da5a Set cputype,mmutype at compile-time. 1997-02-10 23:42:05 +00:00
gwr
b7d7f667f3 minor nit in bounds_check_with_label() 1997-02-10 23:40:24 +00:00
gwr
c70de0b625 Actually works now. 1997-02-10 23:36:09 +00:00
gwr
2f46cb47e2 update comments 1997-02-10 23:35:27 +00:00
gwr
dfddf9c39b Actually works now. 1997-02-10 23:34:38 +00:00
gwr
f55c7652b7 Export zs_get_chan_addr() for zs_kgdb.c
Print the "console on ..." in cninit(), and
avoid reference to kbd/kd drivers if NKBD==0
1997-02-10 23:29:52 +00:00
gwr
196f91101a Make some more things static, and cosmetic stuff. 1997-02-10 23:26:21 +00:00
gwr
9f9e8281e0 Add zs_get_chan_addr(), zs_kgdb_init() 1997-02-10 23:24:18 +00:00
scottr
876ad8d706 Console bell callback support prototypes 1997-02-10 22:13:40 +00:00
scottr
e0be798a98 Add needs-flag to asc driver 1997-02-10 22:11:27 +00:00
scottr
c1370f4435 Add console bell callback support 1997-02-10 22:06:20 +00:00
jonathan
eec1518cf0 Change bsd.own.mk to build shared libs on mips CPUs by default. 1997-02-10 21:08:58 +00:00
gwr
7ceee3c729 Add -fno-defer-pop to COPTS (helps ddb backtrace).
Add AFLAGS=-m68020 and use it with ${AS} commands.
Depend kgdb_stub.o on Makefile (KGDBDEV, KGDBRATE).
1997-02-10 19:23:41 +00:00
gwr
a5b114c665 Forgot to initialize cn->cn_dev, cn->cn_pri 1997-02-10 19:11:12 +00:00
fvdl
c745cba077 If the target for a rename() call exists, it will be removed. So, don't
leave any pages around (i,e, insert a vnode_pager_uncache()).
1997-02-10 12:41:19 +00:00
fvdl
c76913c26f Move vnode_pager_uncache to a better spot in nfsrv_remove. Also use it
in nfsrv_rename, if the 2nd argument is an existing file and will thus
be removed.
1997-02-10 12:20:49 +00:00