Commit Graph

465 Commits

Author SHA1 Message Date
cgd b8403d582b don't be so quick to cast macro arguments to unsigned; if the
arguments are really off_t's (e.g. to btodb), then you can lose
information.  This was the "> 4G file systems don't work" bug; physio
uses btodb, which was broken.
1995-03-18 07:22:43 +00:00
pk cb5b3d7700 Add a pmap_pa_exists() in the non MACHINE_NONCONTIG case too. 1995-03-12 18:56:57 +00:00
pk 36009bdf5f Move a comment back to appropriate place. 1995-03-12 12:25:16 +00:00
pk 5307cf957f Use pmap_pa_exists().
Allow read-only access to the prom via /dev/kmem.
1995-03-10 17:06:15 +00:00
pk d374af4496 Prototype for pmap_pa_exists(). 1995-03-10 16:56:27 +00:00
pk eedb392003 Missing #ifdef MACHINE_NONCONTIG.
Add function pmap_pa_exists() to assist /dev/mem.
1995-03-10 16:54:40 +00:00
pk 03b9b4a4bb Add a CR. 1995-03-08 20:58:05 +00:00
pk d61b2703ef Allow for multiple virtual PROM addresses. 1995-03-08 15:51:03 +00:00
pk e924f34f97 Sync with sys/audioio.h for now, so SunOS compat works. 1995-03-04 09:58:45 +00:00
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