Commit Graph

9917 Commits

Author SHA1 Message Date
christos 7e24291099 Protect include in lfs_cksum.c so that it can be used by userland programs. 1996-02-16 02:22:05 +00:00
mark f741f471f6 Added new routine for polling the keyboard. 1996-02-15 23:24:44 +00:00
mark 7e883ebf5b Fixed kernel panic when the debugger called cngetc(). 1996-02-15 22:54:45 +00:00
mark 23d71d4d59 Fixed undefined instruction handler chaining. The FPE will now correctly
pass on an undefined instruction if it was not an FP instruction.
1996-02-15 22:45:21 +00:00
mark ab9201ff05 Replacement for armfpe.c. This is much nicer. 1996-02-15 22:44:31 +00:00
mark 1f4ced2016 armfpe.c was messy. Removing it in and replacing its function with
armfpe.s
1996-02-15 22:42:17 +00:00
mark b5acab13ca Added files for machine specific debugger code
armfpe.c replaced with armfpe.s
1996-02-15 22:40:08 +00:00
mark 6f2a81d3e1 Initial commit of the machine dependant in-kernel debugger code. 1996-02-15 22:37:13 +00:00
mark 63b7c56cb6 Added setjmp and longjmp routines for the debugger. 1996-02-15 22:15:21 +00:00
mark b5a6e0bbf9 Added initialisation hooks for DDB. 1996-02-15 22:07:11 +00:00
mark 443bbc1025 Fixed disassembly of LDR & STR instructions, shifts by a register are
not allowed and count as undefined instructions.
1996-02-15 22:05:20 +00:00
mark f69e31fcc1 Initial commit of the machine specific header for the in-kernel
debugger.
1996-02-15 21:54:30 +00:00
mark f134e05316 Fixed performance problems caused by the ring buffer becoming flodded when
multiple packets were being received due to not flushing newly received
packets from the ring buffer between receiving an interupt and pulling
in the packets.
1996-02-15 21:48:59 +00:00
mark 5ef42fccf7 Removed debug printing from lpt interrupt routine. 1996-02-15 21:33:52 +00:00
phil a3a96d6af3 Another tweek to support libcompat. 1996-02-15 20:19:48 +00:00
jonathan ab3b20faba Remove the compile-time conditionalization for either CFB or SFB,
based on "#ifdef MELLON":  examine the framebuffer dimensions in the
fb softc, and initialize the x-axis offset appropriately.

User-level changes to (e.g.) an Xserver are still needed to work
on an SFB.
1996-02-15 19:18:22 +00:00
jonathan d25690e30a Propagate changes from cfb driver to not require "needs-count" to other
pmax framebuffer drivers.
1996-02-15 19:13:08 +00:00
phil 2afc843cce change _insque and _remque to match the prototypes in sys/systm.h. 1996-02-15 08:39:27 +00:00
phil 5e7b18feac Catch up with changes in the libkern and libcompat get $S ...
Comment out ns_cksum.c.
1996-02-15 08:37:56 +00:00
christos fce99a5188 Add disk related prototypes. 1996-02-14 21:49:49 +00:00
christos 0bc63f486d scsi prototypes 1996-02-14 21:46:52 +00:00
christos 1c2a80cfe3 add another missing prototype with TPCONS is not defined. 1996-02-14 21:32:37 +00:00
gwr 64a13b9a7b Remove ns_cksum.c (now in sys/conf/files) 1996-02-14 15:59:57 +00:00
briggs 946dc72362 Get d_npartitions right. 1996-02-14 14:20:54 +00:00
leo 7992289e54 Fix unterminated comment. 1996-02-14 08:10:51 +00:00
leo 2708c1593e Oops, should have been updated in conjunction with ncr5380.c . 1996-02-14 08:09:47 +00:00
briggs ef9b75f679 HZ used to be in Makefile.mac68k... It is 60 on the mac, not 100. 1996-02-14 04:26:38 +00:00
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