Commit Graph

9890 Commits

Author SHA1 Message Date
thorpej
94ca9f6aa0 New interrupt handling code. Highlights:
- Interrupt service routines now take a pointer to
	  the device's softc, rather than a unit number.
	- Interrupt handling code in locore.s condensed.  Only
	  remaining "special" handlers are lev0 (spurious),
	  lev1 (HIL; don't ask), lev6 (clock), and lev7 (NMI).
	  Only remaining hard-coded device driver reference in
	  locore is HIL.  (clock doesn't count...)
	- "dcafastservice" eliminated.  DCA driver has new mechanism
	  to guarantee prompt interrupt service at any ipl (not
	  just level 5).
	- Interrupt code pulled out of autoconf.c and machdep.c and
	  placed in new file, isr.c
1996-02-14 02:56:38 +00:00
thorpej
d6f4511690 All interrupt routines (except the HIL; don't ask) now take a pointer
to a softc, rather than a unit number.  Add a "dq_softc" member
to struct devqueue; this is a temporary measure until the
dma/controller/device callback spaghetti is untangled.

YAY!  No more need for dcafastservice!

HIL: squish instances of "(void) splhil()" and "(void) spl0();".
1996-02-14 02:43:54 +00:00
thorpej
c88b047836 Compile the new interrupt handling code. 1996-02-14 02:33:25 +00:00
pk
da1402dcb7 Eliminate <setjmp.h>. 1996-02-14 01:03:17 +00:00
pk
fe9d17199a If `cold' simply halt the machine in boot(). Note, this still leaves a window
where vfs_shutdown() and sync() can be called prematurely.
1996-02-13 23:59:02 +00:00
christos
1cb0b13391 Add declaration of strncasecmp. 1996-02-13 23:48:26 +00:00
christos
14d9cd33af netinet prototypes 1996-02-13 23:40:59 +00:00
mark
6de3d0fb2e Replaced missing $ on one of the mkdep lines. 1996-02-13 23:29:14 +00:00
pk
54bd5c6954 Fix ANSI prototype goof (from Openbsd).
Add explicit return type to most functions.
V3 PROM console support.
1996-02-13 22:49:48 +00:00
pk
773f74b60d Change some caddr_t's to void *'s. 1996-02-13 22:43:33 +00:00
pk
58cd67c20d Make sure we assign a value to variables we use.
Don't express size of NVRAM in terms of machine page size.
1996-02-13 22:38:25 +00:00
christos
f0684ee41d netns prototypes 1996-02-13 22:13:43 +00:00
christos
2d4af9a7f8 netiso prototypes and fixes to get -DTUBA to compile. 1996-02-13 22:07:57 +00:00
christos
0c7d098c3b netccitt prototypes 1996-02-13 22:04:21 +00:00
christos
206e75c6f1 Net prototypes 1996-02-13 21:59:53 +00:00
christos
20df3b41ab uipc_proto.c: No need for the forward decls anymore; everything is prototyped.
kern_time.c: add header to get the NFS prototypes if needed.
1996-02-13 21:10:43 +00:00
christos
b0228bc325 - conf.h: add missing prototype for iszerodev()
- protosw.h: Prototypes for the protocol stack.
1996-02-13 21:08:50 +00:00
gwr
8b686f43c0 machdep.c 1996-02-13 19:40:22 +00:00
gwr
243011c19d pass correct type to setjmp 1996-02-13 19:39:08 +00:00
jonathan
a5c3ac2538 Allocate a single static colourmap array for aglass-tty consle
framebuffer and malloc() all others.  Remove old-config unit-number checks.

This driver no longer requires the "needs_count" flag.
1996-02-13 18:27:28 +00:00
jonathan
1c03bcb897 Finish converting MAXINE dtop driver to use new-style config.
The dtop driver no longer requires the "needs-count" flag.

Fix a panic in boot-time interrupt establish. The "generic" pmax
interrupt-establish  code assumes that all interrupt args are new-config
device structs accessed via  a struct cfdriver.   Make it so.
1996-02-13 18:23:46 +00:00
gwr
9d2186505e Use vprintf where it was intended, and use __dead 1996-02-13 18:06:10 +00:00
gwr
b29ca3a272 Do the RPC to bootparamd a little later (just before the mountd call)
so that we do not ask for the "swap" path when swapping on disk.
1996-02-13 17:53:32 +00:00
ragge
2395bee98d Much faster copyin/copyout subroutines, written by Ken Wellsch.
Improved user-space network I/O (like ftp) with about 1.7 times!
1996-02-13 17:45:32 +00:00
gwr
eebcc06b89 eliminate setjmp.h 1996-02-13 17:39:01 +00:00
gwr
15dae05834 Oops, label_t does not have implicit pointer type like jmp_buf 1996-02-13 17:34:46 +00:00
gwr
89c2f6dc04 now in sys/dev 1996-02-13 17:29:15 +00:00
gwr
9e07977e11 no longer useful 1996-02-13 17:27:41 +00:00
christos
8a8e1a4d94 caddt_t -> caddr_t 1996-02-13 17:13:22 +00:00
christos
4fd36944c1 add ns_cksum.c; netns will not link without it. 1996-02-13 17:09:46 +00:00
christos
216907979a add 2 missing fwd struct declarations 1996-02-13 17:06:52 +00:00
christos
43854c5755 compiler warning police 1996-02-13 17:05:47 +00:00
christos
cbb1d18e70 - Fix setcxsegmap prototype.
- Cast ?TO? macros to NULL to avoid compiler warnings
1996-02-13 17:04:58 +00:00
mycroft
183aec8fa8 GC *_nullop(). Minor nits. 1996-02-13 13:12:48 +00:00
mycroft
5953a056eb GC dead_nullop(). 1996-02-13 13:02:40 +00:00
mycroft
27a9f5bd9c Fix #include syntax. 1996-02-13 06:56:58 +00:00
christos
e2c2c98181 di_size is a quad and needs %qu not %lu 1996-02-12 22:08:47 +00:00
christos
c048d7ba68 fix a printf warning and add pmap_page_index declaration 1996-02-12 21:51:52 +00:00
christos
b3666297b1 Oops, meant to delete the declaration completely. 1996-02-12 21:28:18 +00:00
christos
a9996b4780 pmap_page_index returns int 1996-02-12 21:27:32 +00:00
christos
3306495d82 delete pmap_page_index declaration; now in <vm/pmap.h> 1996-02-12 21:25:18 +00:00
christos
44aab5f4d3 make pmap_page_index return int 1996-02-12 21:21:15 +00:00
christos
bf49f190a7 change pmap_page_index to return int 1996-02-12 21:19:13 +00:00
christos
967dc9fa87 make pmap_page_index return int instead of u_long 1996-02-12 21:15:37 +00:00
christos
4d234d08d8 Move pmap_page_index declaration to <vm/pmap.h> 1996-02-12 21:12:29 +00:00
christos
47058c3660 make pmap_page_index() return a signed int. 1996-02-12 21:11:20 +00:00
pk
3237aa23d2 Avoid compiler warning. 1996-02-12 21:05:18 +00:00
pk
d5ddbf99ab Separate DMA and SCSI routines more. 1996-02-12 15:59:51 +00:00
christos
11e9f2ce94 Add fwd declaration for struct ucred 1996-02-12 15:20:12 +00:00
christos
19dc07be15 close PR/2063: procfs_rw prototyped twice with different prototypes 1996-02-12 15:01:41 +00:00