Commit Graph

9922 Commits

Author SHA1 Message Date
mycroft 7847c9efee Various:
* Snap the sample rate when setting it, and remember only the time constant.
* Set the time constant when changing between play/record.
* Always return the actual sample rate with AUDIO_GETINFO.
1996-02-16 10:10:21 +00:00
mycroft 19f59bf3c2 Prototype the probe and attach functions. 1996-02-16 08:18:32 +00:00
mycroft 9cbadb3ec2 Remove incorrect comment. From Mike Long, PR 1277. 1996-02-16 08:12:33 +00:00
mycroft 7af4edd731 Various, including:
* Add more delays while writing registers.
* Replace sc_dma{in,out}_inprogress with sc_dmadir.
* Eliminate the need for sc_locked.
* Add more DPRINTF()s.
1996-02-16 08:07:40 +00:00
mycroft 8ba7909bb4 Eliminate sc_silence, and handle output interrupts somewhat differently.
From John Kohl, slightly edited.
1996-02-16 02:25:43 +00:00
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