Commit Graph

30711 Commits

Author SHA1 Message Date
augustss
2d2e53095a Some more debugging output. 1997-08-11 01:00:38 +00:00
fair
7493d7febf add shlock 1997-08-10 04:10:27 +00:00
jonathan
cfc1040a1f Revert syscall interrupt re-enable of previous revision:
introduces a race in trap logging.  Reported by Michael Hitch.
1997-08-10 01:14:49 +00:00
ender
85f80dd2c7 o Fixed definition of PowerBook extended keyboard from previous commit
o Added recognition of some additional ADB device types
1997-08-09 20:21:45 +00:00
jonathan
85d2b918cd Definition of cpu_mhz. 1997-08-09 19:06:45 +00:00
jonathan
baad4266be Fix printf() format strings for VMFAULT_TRACE (see PR port-pmax/3777).
Re-enable interrupts in syscall() before doing anything else; marginal
impprovment (2ms?) in NTP accuracy on 5000/240.
1997-08-09 06:06:37 +00:00
jonathan
95a12ee943 MIPS cpu-speed detection using mc146818 clock.
Compute CPU speed(MHz) and loop multiplier for DELAY() based on
counting empty loop between mcclock ticks.  New global: cpu_mhz.
Change pmax/pmax/machdep.c to build baseboard model names from cpu_mhz.
Set  'cpuspeed' for more realistic DELAY() on mips3 models.

Mips CPU constants, testing, and calibration from D. Sean Davidson
<davidson@zk3.dec.com> and Simon Burge <simonb@telstra.com.au>.
1997-08-09 05:51:56 +00:00
jonathan
003ccf3b1c mips pmap_activate:
* prototype and definition for pmap_activate(p). Updates the segtab,
   and changes the active ASID if p == curproc.
 * Make reserved fixed-address (UADDR) kernelstack PTEs global,
   so we still have a kernel stack after pmap_activate() on curproc.
 * make KSEG2 mappings for p_addr global (see above.)

Seems to detune contextswitch and NTP resolution (by 60 ms), but
thepmap_activate() interface is mandatory.  Needs more thought.
1997-08-09 03:41:02 +00:00
jonathan
cbb2b5d0fb Substitute Mach 3.0 kernel bcopy() which is unrolled for aligned copies. 1997-08-09 02:02:08 +00:00
ender
f8f304c76c Add recognition of more keyboard types (including ISO layouts) 1997-08-08 17:58:48 +00:00
hannken
dd99907a60 Get rid of compiler warning:
`warning: `cmp' might be used uninitialized in this function'.
1997-08-08 11:08:10 +00:00
jonathan
1e10e23444 Add back ia->iobase to initializer macros for softc device-register offsets. 1997-08-08 09:38:18 +00:00
jonathan
1c7fa31659 Add mips_read_causereg() 1997-08-08 06:52:59 +00:00
augustss
67accf7a02 Document how setting the blocksize works. 1997-08-08 00:04:38 +00:00
augustss
9a770a177f Make setting the audio block size sticky.
Change the calculated block size to correspond to 50 ms of sound
(was 20 ms, it seems needlessly small).
1997-08-08 00:03:26 +00:00
augustss
46e0757329 Make sure OSS_SNDCTL_DSP_GETFMTS returns the formats the audio driver
can handle and not just some random guess.
Also add some debugging stuff.
1997-08-07 23:59:23 +00:00
scottr
23a165dfe8 Need machine/kcore.h, too 1997-08-07 22:57:32 +00:00
augustss
e04b361dd6 Add A-law support and fix bug on opening GUS max.
From Feico Dillema <dillema@spam.aurum>.
1997-08-07 22:48:10 +00:00
scottr
3aa6a4e333 Make the diagnostic panic message when we don't have a pcb consistent
with the message one normally gets when the kernel panics due to
some other unhandled trap.
1997-08-07 21:37:03 +00:00
scottr
740b91a80c Add the Classic II to intvid_info[] 1997-08-07 21:30:20 +00:00
christos
b73326ecdd GC unused connector finding code. This has moved to epconfig(). 1997-08-07 19:46:22 +00:00
christos
a9be2ab366 PR/3954: Izumi Tsutsui: Add id for the ESS1868 joystick. 1997-08-07 19:44:54 +00:00
christos
7bd5c461f5 Check if we can map the read port, but don't really allocate it because it
will cause a conflict with the SoundBlaster Joysticks that say that they
require 200/8 and 207 is usually the read port. XXX: This is a hack.
1997-08-07 19:44:03 +00:00
scottr
6b1b87f213 spltty() does not drop the SPL; use splx() instead. 1997-08-07 19:22:45 +00:00
pk
dd07701791 Do not use `rasterconsole' by default on this framebuffer. 1997-08-07 19:12:30 +00:00
scottr
c03541be22 Strip down to bare essentials for these machines. 1997-08-07 19:07:08 +00:00
hannken
417f8e4a63 Fix wrong values for free blocks/inodes versus `bytes per inode'. 1997-08-07 18:09:49 +00:00
mark
0efc44fd71 Cast the destination address for the cpu_cache_syncI_rng() function in
db_write_text().
1997-08-07 16:24:34 +00:00
augustss
a425e37505 Add a 'return 1' that got lost in the last commit. 1997-08-07 12:14:39 +00:00
hannken
6f746d6d8c Add new variable INO_BYTES' for the -i' parameter to `newfs' and set
to 204800 instead of 6144. This gives 16k more data space with 61 inodes
left. Variable may be overwritten from command line.
1997-08-07 11:32:00 +00:00
augustss
3c6f8bc89e Restructure a little to make sure AUDIO_FLUSH restarts the looping DMA. 1997-08-06 23:08:26 +00:00
augustss
7dfa17a43b Improve ioctl decoding.
Change mixer name mappings.
1997-08-06 23:06:04 +00:00
hannken
ebbcf2e45f Add bin/mt', sbin/restore' and `sbin/rrestore' so the bootdisk is useable
as an emergency disk.
1997-08-06 20:57:57 +00:00
kleink
971842faad Typo. 1997-08-06 19:52:18 +00:00
phil
e03b730521 Net man page. Closes 2412. 1997-08-06 19:06:56 +00:00
veego
3dac730d96 French keymap. From Eric Delcamp in pr: port-amiga/3923 1997-08-06 17:08:15 +00:00
drochner
c6567d9100 eliminate unused variable warnings
closes PR kern/3946 by Erik Bertelsen
1997-08-06 16:57:33 +00:00
jonathan
5d53ad5ef5 Garbage-collect Mach_clock_addr outside of machdep.c.
Use as mcclock_addr inside machdep.c, to disable clock interrupts
until the clock is autoconfigured.
1997-08-06 12:03:34 +00:00
fair
4c55c4068f patch from PR#3944 1997-08-06 11:50:57 +00:00
fair
aae99e192d %x -> 0x%x 1997-08-06 07:39:59 +00:00
mikel
2db7de74e1 set WARNS?=1 1997-08-06 07:23:34 +00:00
mikel
64521eb343 use <sys/cdefs.h> __COPYRIGHT() and __RCSID() macros
prototype internal functions and eliminate old function declarations
misc cleanup (gcc -Wall) and KNF
1997-08-06 07:22:24 +00:00
mikel
a6da6f6585 don't include <signal.h> twice 1997-08-06 05:40:28 +00:00
mikel
d3174941cd don't clobber bus_space_{,un}map macros 1997-08-06 04:52:29 +00:00
fair
611f2c3b46 program to make lock files for shell scripts 1997-08-06 00:38:11 +00:00
ragge
cd0d651d0f delay() must be protected by #ifdef _KERNEL. 1997-08-05 13:28:51 +00:00
christos
031eafc65a PR/3939: enami tsugutomo: amd fails to detect endianness. 1997-08-05 12:02:49 +00:00
pk
46ca64dc14 Comment out body of pmap_copy() which got committed accidentally (btw. it
works, but its performance benefits are not immediately obvious).
1997-08-05 11:06:58 +00:00
pk
b449c91f9b Correct typo that has been lurking undetected for some time. 1997-08-05 11:00:10 +00:00
pk
a7f1e52ffd Some cosmetic changes suggested by Brian Baird: cache config msgs & RT625 fpu. 1997-08-05 10:40:21 +00:00