Commit Graph

456 Commits

Author SHA1 Message Date
pk
26cb5d939f Move SunOS audio_info compat to <compat/sunos/sunos_ioctl.c>. 1995-03-04 09:55:40 +00:00
pk
06e2052190 Update for 4/100 1995-03-02 20:53:11 +00:00
pk
35ef499ff3 Make more generic. 1995-03-02 20:48:17 +00:00
pk
b14295f12d Tally interrupts. 1995-03-02 20:47:11 +00:00
pk
3edb6c02ff Rename audio*() functions to avoid conflicts with sys/dev/audio.c; this is an
emergency measure, driver needs to be converted to generic audio subsystem.
1995-03-02 20:37:46 +00:00
pk
c897fc5127 Better 4/100 support. 1995-03-01 21:09:19 +00:00
pk
e9df09cd2a Make setjmp/longjmp available on non-DDB kernels. 1995-03-01 09:26:29 +00:00
mycroft
4c34be6b52 Clean up deleted files. 1995-03-01 00:00:00 +00:00
pk
98e7d1b075 Clean NONCONTIG stuff, allocate and map pv_table[] in pmap_init() entirely. 1995-02-23 20:00:57 +00:00
pk
02b0f2a929 floppy levels. 1995-02-23 19:58:16 +00:00
pk
6af8527cf9 cache_flush() only if vactype!=VAC_NONE 1995-02-23 19:56:24 +00:00
pk
e6e777cf5d Reorganize to use fast interrupt handler. 1995-02-22 21:37:15 +00:00
pk
7278038bbd add bsd_fdintr.s 1995-02-22 21:32:34 +00:00
pk
f80c189dc5 Defines for floppy trap handler. 1995-02-22 21:17:53 +00:00
pk
366442b2e4 Really fix `call n'. 1995-02-22 21:16:51 +00:00
pk
171313384b Floppy trap handler. 1995-02-22 21:14:18 +00:00
pk
6b609180cd Have a variable point at the auxiliary-io register. 1995-02-22 21:13:01 +00:00
pk
a9593288ee More on MACHINE_NONCONTIG: gain back wasted pages (and make it work).
Still more GC required.
1995-02-22 21:06:22 +00:00
mycroft
a01e93cf4e Use the twiddle() from libsa. 1995-02-22 08:18:18 +00:00
pk
938030c27d fd declarations. 1995-02-18 09:42:19 +00:00
pk
493dddc814 Admit we have a floppy driver. 1995-02-18 09:40:30 +00:00
pk
021803bc33 Little routine to manipulate auxreg bits. 1995-02-18 09:33:29 +00:00
pk
7e192d22be call argument off by two bits 1995-02-17 20:45:12 +00:00
pk
01fb0f1f1f More work on MACHINE_NONCONTIG stuff. 1995-02-17 20:37:13 +00:00
pk
67f4f632d0 More PG_TYPE checks/optimizations suggested by Theo. 1995-02-17 20:33:15 +00:00
pk
6d511104e2 Pilot sun4c floppy driver based on i386 version;
- same limitations as isa/fd.c: just read/write
  - in need of a fast interrupt handler
1995-02-17 20:28:32 +00:00
pk
cbbc1b0293 match/attach on sun4's obio bus, from Theo. 1995-02-17 09:47:36 +00:00
pk
018d2f1b4f Working "config generic" support; from Theo. 1995-02-16 21:51:38 +00:00
pk
d6faa0bf9c Working "config generic" support; from Theo. 1995-02-16 21:42:50 +00:00
pk
21215997b0 minor clean
add "auxiliary-io" to list of openboot-specials; needed for floppy driver.
1995-02-16 20:39:17 +00:00
pk
e1ca20871c missing entry in bdevsw[] 1995-02-15 14:27:36 +00:00
pk
0da3039154 More fixes from Chuck for IO pages related bugs that surfaced with the 4/110.
Also, pay attention to PMAP_TNC bits that can enter from the VM. These
come from the `device' pager, ie. pages associated with mmap()ed devices.
1995-02-10 20:40:47 +00:00
pk
61572da6bf Fix two typos. 1995-02-09 14:38:54 +00:00
pk
b96f801acb We have more registers. 1995-02-09 10:34:21 +00:00
pk
c8ef09934c Two more VAC_NONE checks. 1995-02-09 10:28:27 +00:00
pk
c7431b8a3c Deal with writing to kernel text (largely stolen from the sun3 port). 1995-02-01 21:51:48 +00:00
pk
f6cd1eeea7 Integrate changes from Chuck Cranor for the Sun 4/100.
Support for multiple register banks on SBUS devices (based on patches
from Francis Dupont).
Highlights:
	romaux defines an array of register spaces.
	pay attention to `vactype'.
	quirks handling 4/100 idiosyncracies.
1995-02-01 12:37:21 +00:00
mycroft
5a7fac721d Handle incoming messages longer than 1 byte correctly. 1995-02-01 09:50:18 +00:00
pk
b846c1f9cd TIOC[SC]DTR ioctls. 1995-01-29 18:56:01 +00:00
jtc
830a53e394 ANSI says that <stdarg.h>'s va_end macro must expand to a void expression.
For consistancy, I'm changing <varargs.h> too.
1995-01-28 01:51:46 +00:00
pk
6879dd4b85 Update based on i386 version; from Chuck Cranor. 1995-01-27 09:49:55 +00:00
cgd
b56a5f27d4 add 'maxpartitions' keyword as first 'intesting' thing in the file, to
facilitate the solution of config.new's hardcoded partition number
problems.
1995-01-25 20:45:33 +00:00
cgd
4cc138dd7a vn -> vnd renaming, for consistency 1995-01-25 05:34:51 +00:00
cgd
2ef4ca1f3d vn -> vnd renaming, for consistency 1995-01-25 04:48:07 +00:00
jtc
9540190d45 This file, which will be included by <sys/cdefs.h>, will contain macros
such as __warn_references() and __weak_reference() which are actually
machine dependant.  This will make it easier for ports that are being
bootstraped with ELF and ECOFF based toolchains.

This change also introduces a new macro, _C_LABEL(x).  _C_LABEL expands
its argument, an identifier, to a character string of the identifier
name as it is represented in an object file.

For most ports, _C_LABEL(x) will expand to "_x", for ELF based ports
_C_LABEL(x) will expand to "x".
1995-01-19 01:38:36 +00:00
pk
0bf4b5b424 Remove a debug messsage & add a missing constant. 1995-01-12 07:31:47 +00:00
pk
8290d42317 Use `MACHINE_NONCONTIG' to deal with sparse memory in stead of private
mapping tables. We gain some pages, but there's still some wastage.
For the moment, `MACHINE_NONCONTIG' is still optional.
1995-01-11 21:21:11 +00:00
jtc
d7a8b2964f Only define sig_atomic_t when _ANSI_SOURCE is defined. 1995-01-10 19:01:00 +00:00
pk
b1ad0e3ed5 Count pages correctly in pmap_bootstrap(). 1995-01-10 16:50:50 +00:00
pk
b87c1bb24a Avoid kernel memory corruption if user buffer too small; return ENOMEM in stead. 1995-01-10 16:47:03 +00:00