ragge
cb344cfe97
ra disks is DV_DISK, not DV_DULL.
1997-02-12 18:02:47 +00:00
ragge
40f0692085
s/tms/mt/
1997-02-12 18:00:42 +00:00
ragge
e7d1921239
Remove bogus prototypes.
1997-02-12 17:58:56 +00:00
ragge
e42e582ebb
Fix so it works with root over NFS.
1997-02-12 17:57:39 +00:00
ragge
c44e241f49
Add a forgotten #ifdef DDB
1997-02-12 17:55:54 +00:00
ragge
f5f92a31ca
Walk a step closer to more intelligent User PTE handling.
1997-02-12 17:52:59 +00:00
ragge
2bb5ceb3e0
Improve sub-type identification of the CVAX CPU, for later cache handling.
1997-02-12 17:50:36 +00:00
fvdl
744438b408
Don't set sillyrename field to 0 for directories, as it's in a union with
...
the head of the cookie list. Fixes PR 3215, fix supplied by
Hiroshi Tezuka <tezuka@trc.rwcp.or.jp>. Should also fix M_NFSDIROFF
memory leak.
1997-02-12 17:26:56 +00:00
gwr
ccee4cf825
Machine-dependent part of the KGDB remote "stub"
1997-02-12 16:24:02 +00:00
gwr
9c755c6566
Now using <sys/kgdb.h>
1997-02-12 16:16:58 +00:00
gwr
198969f083
Replace kgdb_stub.c with kgdb_machdep.c
1997-02-12 16:14:04 +00:00
gwr
6cb54de668
Avoid dereferencing null curproc in dumpmem().
1997-02-12 16:06:18 +00:00
gwr
bb7dc881a3
Force RB_SINGLE for now (in addition to RB_KDB).
1997-02-12 16:04:33 +00:00
gwr
05a09b938e
Must convert from/to BCD when reading/writing the clock chip.
1997-02-12 16:00:31 +00:00
mikel
ff4c83accc
Don't build ip_mroute.o unless MROUTING is defined; fixes PR kern/2820.
...
Don't build PPP compression code unless ppp pseudo-device is configured,
regardless of PPP_COMPRESS and PPP_DEFLATE options.
1997-02-12 08:18:15 +00:00
scottr
7e1c9811f9
Move asc0 here from std.mac68k. Remove COMPAT_SUNOS, as it's dead weight
...
on this machine. Add some minimal driver descriptions.
1997-02-12 04:47:05 +00:00
scottr
362d7e5473
Move asc0 here from std.mac68k. Add some minimal driver descriptions.
1997-02-12 04:31:35 +00:00
scottr
8807428ab4
Move asc0 here from std.mac68k, and enable PFIL_HOOKS option so that
...
the if_ipl LKM can be loaded. Add some minimal driver descriptions.
1997-02-12 04:29:10 +00:00
scottr
cdcbc525e6
Move asc to individual kernel config files
1997-02-12 04:26:05 +00:00
gwr
20c8082e79
Now using <kern/kgdb_stub.c>
1997-02-12 01:32:39 +00:00
gwr
9b3ad7dd7e
Now using <sys/kgdb.h>
1997-02-12 01:30:36 +00:00
gwr
292e8e784f
The KGDB include is now <sys/kgdb.h>
...
Add the kgdb_recover trick.
1997-02-12 01:10:21 +00:00
gwr
a4b09086fe
Actually works now!
1997-02-12 01:07:56 +00:00
gwr
cfb896375f
Machine-dependent part of the KGDB remote "stub"
1997-02-12 01:03:20 +00:00
gwr
2d1b2f72cd
Add m68k/kgdb_m68k.c
1997-02-12 01:01:07 +00:00
gwr
09cc42f318
Add kgdb_reg_t, KGDB_NUMREGS, KGDB_BUFLEN
1997-02-12 00:59:46 +00:00
gwr
64b7559e4f
Machine-dependent KGDB sharable on all m68k machines.
1997-02-12 00:58:01 +00:00
gwr
f96d73ce59
Add kern/kgdb_stub.c
1997-02-12 00:56:06 +00:00
gwr
06e961d04e
Reincarnation of the old hp300/kgdb_stub.c, worked over by
...
Matthias Pfaller and Gordon Ross
1997-02-12 00:51:47 +00:00
gwr
02ba855714
Protocol definition for KGDB
1997-02-11 23:44:07 +00:00
scottr
f5ac9d5deb
Add a bus space tag field to obio_attach args, initialize it in
...
obio_search(), and use it in the ASC driver. Thanks to Jason for
pointing this out. Minor KNFing while I'm here.
1997-02-11 22:44:25 +00:00
scottr
f9e4592ed5
Add an addr locator to obio.
1997-02-11 21:25:07 +00:00
gwr
6ef591a70b
Add a few more coments. (i.e. why init a6=0)
1997-02-11 19:06:08 +00:00
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
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
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
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
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
matthias
258699485f
add missing parentheses to assym.h rule.
1997-02-10 10:54:00 +00:00
mark
faec60a06c
Add a define for the cpu_functions structure member cf_sleep.
1997-02-10 04:01:08 +00:00
mark
700a2e2041
Remove the code force the processor into a sleep mode during idle() and
...
instead call the sleep function defined in the cpufunctions structure.
1997-02-10 03:57:42 +00:00
mark
187f8c7c3d
Remove local definitions of macros to push and pull trapframes and instead
...
include machine/frame.h to get these definitions.
1997-02-10 03:50:53 +00:00
mark
60cab4af5d
Centralise the definition of the ASM macros used to push and pull and
...
trapframe and irqframe structures defined here top and from the stack.
1997-02-10 03:26:28 +00:00
mark
28203348d8
Process the parameters passed in the SYNC_ICACHE sysarch() call and just
...
sync the caches for the specified virtual address range.
1997-02-10 03:19:36 +00:00
mark
5f3ba778ab
Define parameters for the arm32_sync_icache() function.
1997-02-10 03:14:22 +00:00
fvdl
be787cc073
* Fix some bugs in NQNFS (malformed RPC requests, no directory lease eviction)
...
* Avoid possible NULL ptr ref in nfs_reply
* Don't ever try to sillyrename directories (from FreeBSD)
1997-02-09 21:19:04 +00:00
christos
041fb607e0
Add a break; in the irq/drq allocation loop so we take the first one instead
...
of the last one.
1997-02-09 18:36:44 +00:00
christos
12a7c99376
Fix an irq -> drq typo
1997-02-09 18:36:11 +00:00
matthias
9712aaf1b5
* clean:: -> clean: change.
1997-02-08 09:34:46 +00:00
matthias
f3cdc89574
* Use Phil Budne's full name in the copyright header.
...
* Define RECOVER to something faster.
* Check for a valid softc in scnsoft. When there is
a "hole" (e.g. you have scn0,scn1, scn4, scn5) the
old code would panic. Thank's to Phil Budne for
finding and fixing this bug.
1997-02-08 09:34:31 +00:00
matthias
f3ae5cdf29
* Convert NetBSD/pc532 to use the new libkvm.
1997-02-08 09:34:12 +00:00
matthias
8a3b8c0477
* Fix a bug that would had cause an hang on fpuless machines.
1997-02-08 09:34:09 +00:00
matthias
8ec2fa0cfa
* Convert NetBSD/pc532 to use the new libkvm by stealing code
...
from the alpha port.
1997-02-08 09:34:06 +00:00
matthias
5a17e54866
* Convert NetBSD/pc532 to use the new libkvm.
1997-02-08 09:34:01 +00:00
matthias
92842a6db7
* Remove some unused macros.
1997-02-08 09:33:58 +00:00
matthias
efea7eb83f
* Correctly format the NetBSD-Id string.
1997-02-08 09:33:55 +00:00
matthias
6f5bca455b
* Remove whitespaces from empty lines.
...
* Add (commented out) type and asmtype commands. asmtype will
be used to define the gcc constraint used to emit constants
and type will be used to define the type the constant should
get casted to before passing it to printf.
1997-02-08 09:33:52 +00:00
matthias
869f7f78fb
* Now that we use genassym.sh/genassym.cf this is no longer needed.
1997-02-08 09:33:50 +00:00
matthias
0e2fbfdbcd
* The rom monitor and the bootprogram might have another idea about unit
...
numbers then the kernel. Use some code stolen from the mvme68k port
to find the bootdevice.
1997-02-08 09:33:45 +00:00
matthias
ed7d482ddf
* Don't wildcard scn[0-7]. This will not work for holes (at the moment).
1997-02-08 09:33:28 +00:00
matthias
d90eb8ee1e
* Corrected rule for assym.h. In case genassym.sh fails assym.h
...
has to be removed and a non-zero exit value has to be provided
to make.
* Removed last references to genassym and genassym.o.
1997-02-08 09:33:27 +00:00
matthias
3eded68a05
* Added PFIL_HOOKS to make modloading of the ipf module possible.
...
* Aded UNION fs. The lkm doesn't work at the moment.
1997-02-08 09:33:24 +00:00
matthias
6224783740
* Added KMEMSTATS option to save some memory.
1997-02-08 09:33:22 +00:00
matthias
021ca50fe4
* Added INSECURE to allow modloads in multiuser mode.
...
* Added PFIL_HOOKS to make modloading of the ipf module possible.
1997-02-08 09:33:20 +00:00
matthias
64065fbba2
* Removed old and invalid comment.
...
* Added LKM, PFIL_HOOKS and NFSSERVER options.
* Added four ccd devices.
* Removed PLIP and NO_INLINE_SPLX options.
* Removed MFS, MSDOSFS, CD9660, FDESK, KERNFS and PROCFS filesystems
because they all are lkmable.
1997-02-08 09:33:17 +00:00
matthias
67c8bca33d
* Convert NetBSD/pc532 to use the new libkvm.
1997-02-08 09:33:03 +00:00
matthias
8f1067c4d8
* Remove some unused macros.
1997-02-08 09:32:33 +00:00
matthias
1f7aefb0a1
* Declare bootdev and booted_device.
1997-02-08 09:32:30 +00:00
mrg
f5c45aaa78
allow queue.h macro's to act as functions.
1997-02-08 04:47:41 +00:00
cgd
9277910d32
kill wdc/wd, which accidentally crept in in the last commit
1997-02-08 01:06:58 +00:00
gwr
60d4782469
Get rid of HOSTED_CC.
1997-02-07 22:55:44 +00:00
mycroft
1dd1504980
Move the aha ISA probe functions into a separate file.
1997-02-07 17:37:27 +00:00
mikel
c96410d0c1
move inclusion of <sys/cdefs.h> up to catch all uses of __P();
...
PR kern/2712.
1997-02-07 07:29:38 +00:00
mikel
24378379b8
eliminate obsolete t_min and t_time shortcuts; from Bill Studenmund in
...
PR kern/2440.
1997-02-07 06:35:44 +00:00