Commit Graph

5434 Commits

Author SHA1 Message Date
cgd 721de847a4 need i/o map function pointer 1995-08-03 00:33:29 +00:00
cgd e6c1386416 update for all the latest bells and whistles 1995-08-03 00:09:17 +00:00
cgd d5cccabaa3 update to match my reality 1995-08-03 00:07:49 +00:00
cgd d6eba5b92f rename MB to wbflush, make it inline 1995-08-03 00:03:09 +00:00
jonathan be23617ea0 Commit ghastly change that supports select on framebuffers, since
the pr on that hasn't been closed yet.

Fix broken initialization of swap_dev.
1995-08-02 19:36:45 +00:00
briggs b0a1bd6e17 Use panic() instead of printf();Debugger(); 1995-08-02 11:53:02 +00:00
briggs a76e2adfab Get rid of reference to Debugger(). 1995-08-02 11:50:43 +00:00
jonathan c715dd10fe Only print diagnostic messages about interrupt enable when DIAGNOSTIC
is defined.
1995-08-02 07:19:37 +00:00
jonathan 4542ca9870 Commit old changes from my source tree in preparation for newconfig:
only print diagnostic messages about interrrupt enabling when DIAGNOSTIC
is defined.
Remove old buggy 4.4BSD turbochannel interrupt kludge for ioasic machines
inside "#if 0"/"#endif" as the NetBSD code has been  working fine for months.
1995-08-02 06:44:54 +00:00
briggs f60a2bbccf Add kludge for LC video and change IIvx to assume 1MB of VRAM if we can't
figure out how much there really is.
1995-08-02 04:15:41 +00:00
jonathan 9b50b450f7 Add DS_3MAXPLUS (kn03) to switch statements for redirecting input
to and from SCC devices. (The 3MIN was supported but not the 3MAXPLUS).
1995-08-01 23:15:26 +00:00
pk ced95e1824 update from Chuck 1995-08-01 21:06:55 +00:00
jonathan 6a99440efd Add prototypes for most functions. Fix typo where statements
intended to increment interrupt counters for vmstat -i (i.e., "ctr++")
on 3100s had just a single "+", and hence had no effect.
1995-08-01 06:58:57 +00:00
briggs fc8739097d Fix signed/unsigned gaff in last.
Bring up-to-date with latest rash of changes to if_ed.c.
1995-07-30 21:39:17 +00:00
briggs ff5fa674dd Fix the internal video probe again. 1995-07-30 21:35:00 +00:00
briggs 80cd97e743 delay(7) instead of delay(20) seems sufficient 1995-07-30 21:30:57 +00:00
briggs cf76e90671 Differentiate printf for illegal instruction/fpu traps in kernel mode. 1995-07-30 19:18:28 +00:00
briggs 139f62c079 Add support for Farallon from Brian Gaeke (brg@dgate.org). 1995-07-30 13:38:04 +00:00
briggs cf0aca3cb4 Read the packet header count in bytes, not as a word--word reads return
invalid data on some cards (notably old Apple Ethernet NB and Farallon
cards at least).
1995-07-30 02:44:27 +00:00
phil dad0b0a94c Work towards getting gdb working by Craig Ruff. 1995-07-28 08:00:17 +00:00
phil cb8805b840 Work toward making gdb work by Craig Ruff. 1995-07-28 07:51:38 +00:00
briggs a2f49ac930 Don't show up in "slot" 0xe.\n 1995-07-28 01:34:58 +00:00
cgd 0d41f58879 fix a pasto 1995-07-27 21:39:59 +00:00
leo cd73c9f0cb Add middle button emulation. 1995-07-27 06:35:46 +00:00
mycroft 1dbdf20df6 le can also be on PCI. 1995-07-27 04:40:55 +00:00
briggs 58f294f29c get rbv_nubus_intr working--at least on the IIsi. 1995-07-27 04:19:21 +00:00
mycroft fc427776a7 Add stuff for I/O mapping. 1995-07-27 00:29:02 +00:00
chopps bbd70b413b fix minphys routine to match others 1995-07-26 14:30:53 +00:00
chopps 3878753b32 fix typo 1995-07-26 14:22:43 +00:00
chuck 0b036e11bf mvme68k port -- for the motorola vme147 m68030 card 1995-07-25 23:11:53 +00:00
leo 2826d4fa30 A forgotten file for the kbdmap fixes. 1995-07-25 13:49:26 +00:00
jonathan 9aae39ad42 Partial rewrite of rz dump routine. Doesn't yet write to disk but
does everything else. No worse than returning ENXIO, as we used to.
1995-07-24 19:36:52 +00:00
ragge dde1e61099 maxpartitions added. Kernel now loaded with -Z flag. 1995-07-24 18:58:32 +00:00
cgd ffe4785a58 update SCSI minphys routines' definitions to match standard minphys()
definition and usage.
1995-07-24 07:33:32 +00:00
cgd da9c1b5e48 fix minphys so that it actually works properly 1995-07-24 07:31:45 +00:00
cgd 27435d744c update SCSI minphys routines' definitions to match standard minphys()
definition and usage.
1995-07-24 07:28:18 +00:00
cgd 4f9fb2ab3e bound xfer properly in minphys, panic if can't. 1995-07-24 07:25:46 +00:00
cgd 830a91b2e9 update SCSI minphys routines' definitions to match standard minphys()
definition and usage.
1995-07-24 07:16:44 +00:00
leo 052e19d7fd Change and fix the way of keyboard mapping. Each virtual console has it's
own private keymap, initialized on open from the system-keymap. Both
system and private keymaps are settable.
1995-07-24 05:56:06 +00:00
leo a4578576c6 Added -f option to reload system-wide keymap (instead of current screen one). 1995-07-24 05:47:48 +00:00
leo 5f98065492 Use the right includes 1995-07-24 05:44:43 +00:00
mycroft 9c4ef77945 Remove extraneous makeoptions declarations. 1995-07-24 03:33:12 +00:00
mycroft 6dfa7461a5 Add -Werror. 1995-07-24 03:30:07 +00:00
briggs ff7dcdbfc5 Some debugging code added. 1995-07-23 21:54:47 +00:00
briggs 1c213ea5b6 Minor #def changes. 1995-07-23 21:51:47 +00:00
jonathan 4525afdaeb Add diagnostics for 5k/240 turbochannel interrupts, and clean up IOASIC clock
declarations.
1995-07-23 20:21:17 +00:00
jonathan 82d5943755 Add argument prototypes - __P((void)) - to the declarations of Mach_spl*() functions. 1995-07-23 20:11:54 +00:00
jonathan 1354a15fb5 Add support for Decstation 5k/240 (3MAXPLUS) to the switch controlling
redirection of console serial input (keyboard, mouse). Fixes non-redirection of
keyboard to X server on a 5k/240.  The Mfb and sfb drivers are similarly broken.
1995-07-22 05:04:46 +00:00
leo c6e852a141 The mappings for the german keyboard layout. 1995-07-19 20:45:27 +00:00
brezak 693043d786 GUS audio driver from John Kohl. 1995-07-19 19:58:09 +00:00
brezak f8b400c446 Change DEBUG-->AUDIO_DEBUG. PR# port-sparc/1241 1995-07-19 19:50:16 +00:00
briggs 83d0f4f73d Use get_mapping only if 030 and MMU enabled. Otherwise, fake it. 1995-07-19 16:39:03 +00:00
briggs d9b318b2be Add support for:
GENERIC
	RB_ASKNAME
	RB_MINIROOT
Also revved up the required version of the booter because we need the
booter fixes to get this functionality.
1995-07-18 04:10:13 +00:00
jonathan 594ee04ec1 Add "cpu DS5000_240" to generic config, to support 3max+.
3max+ interrupt handler and IOASIC clock code depend on it.
1995-07-18 02:02:38 +00:00
briggs a5e4549306 Stop recursive jmp0panics. 1995-07-17 01:31:14 +00:00
briggs 8d0e9635a6 Get IIsi ethernet almost working. Still misses a number of interrupts. 1995-07-17 01:26:02 +00:00
briggs c5fe9f62ff Cleanup a bit. 1995-07-17 01:25:12 +00:00
briggs c5724ea3a3 Some more bugs fixed and functionality corrected by:
"Paul R. Goyette" <paul@pgoyette.bdt.com>.
Implemeted the Set Scrolling Region, Set Tab Stop, and Clear All
Tab Stops functions.
1995-07-17 01:24:34 +00:00
briggs a91a7f619b GENERIC should have options GENERIC. Duh. 1995-07-17 01:21:29 +00:00
jonathan 9c4be79d84 Clean up Ultrix compatiblity code: redo Ultrix label reading code
to have the same interface as native readdisklabel(), call it cleanly
from caller of readdisklabel(), and fix bug that left d_npartitions at 1
for ultrix-compat labels. Ultrix labels now actually work.
1995-07-14 01:05:22 +00:00
leo 14ac72899c Add pppintr() to netintr(). 1995-07-13 21:36:09 +00:00
pk cdbe7b1bc5 Have esp_minphys limit transfers to MAXPHYS bytes. 1995-07-13 12:45:22 +00:00
pk 05daa72b3c Move SUN4 console echo hack cnget() (from Chuck Cranor). 1995-07-13 12:02:19 +00:00
leo 8e01fc80af Update raw-io functions as suggested by Charles. 1995-07-12 21:41:03 +00:00
jonathan eac9104365 Add stubs for previously-undefined tzwrite(), tzread(), since the new
pmax conf.c references them.  A cut-and-paste job from the pmax
rzwrite() and rzread().  tzwrite() and tzread() are utterly untested.
tzwrite() should also check for write-protect, or handle writes to a
write-protected tape gracefully.
1995-07-12 07:24:27 +00:00
thorpej f72d54fa88 Zap duplicate RCS id. 1995-07-12 05:47:47 +00:00
leo be029faea0 Use -O2 1995-07-11 21:28:38 +00:00
leo b57f0c784d Oops, this one is also needed to make dumping work. 1995-07-11 21:27:35 +00:00
leo c98355931a Remove some bogus comment. 1995-07-11 21:25:32 +00:00
leo 0343d208c4 Fix pseudo tty's 1995-07-11 21:24:29 +00:00
leo b87c200b08 - Change character interface as suggested by Charles
- HD floppies really have 2 sides ;-)
- Cleanup drive/density selection
1995-07-11 18:32:07 +00:00
leo 2cad659038 Make DD/HD selection do anything sensible. 1995-07-11 18:27:31 +00:00
leo a5b73613fc Dumping works, now if there were tools to handle it... 1995-07-11 18:24:57 +00:00
briggs 30c70a7c59 patch to handle cursor moves better. From Paul Goyette
(Paul@pgoyette.bdt.com)
1995-07-09 15:36:41 +00:00
pk 8274dc04d1 si scsi driver configs. 1995-07-08 21:33:48 +00:00
pk 89cb640a97 si scsi driver, adapted from sun3 version by Jason Thorpe.
Note: re-arranged to use dev/ic/ncr5380* MI files.
1995-07-08 21:32:47 +00:00
briggs fd69606246 Take out bogus message. 1995-07-08 12:39:12 +00:00
briggs 33cef0adfd Clean up a lot. Run machdep.c through indent.
Remove a bunch of old debugging code and some dead code.
Put in some new comments.  Need more.
1995-07-08 04:25:07 +00:00
gwr ca95fcc2e3 Put back SYMTAB_SPACE so the distributed kernels will have symbols when
loaded by the SunOS boot program.  Our netboot works, but our ufsboot
still has a problem on the 3/260, so keep SunOS boot support for now.
1995-07-07 16:01:22 +00:00
briggs 3758e23b79 Add another routine for the grf display-specific drivers to return a physical
address.
1995-07-06 17:13:45 +00:00
briggs e6992b3e60 Panic if we don't know how to relocate the video address. 1995-07-06 13:30:24 +00:00
briggs 84ee954356 Change NBSBASE to 0x90000000 and let it and NBSTOP be defined. 1995-07-06 13:25:30 +00:00
pk 576bc844e5 Support KIOC_GETLAYOUT, so other than US keyboards can be dealt with better. 1995-07-06 05:35:34 +00:00
briggs d1d1fbc094 Put in a cast to make compiler happy. 1995-07-06 04:17:15 +00:00
briggs 0ae9938e56 Fix (last?) bug in the IIvx kludge. 1995-07-06 03:44:46 +00:00
cgd 479fb9e45b add <sys/cdefs.h> inclusions. namsspace-protect physadr, label_t
def'ns against _POSIX_SOURCE and _ANSI_SOURCE.
1995-07-06 03:39:32 +00:00
briggs 6503666839 If SYMTAB_SPACE is defined, set esym to be the same as end.
Fixup my IIvx kludge again.
1995-07-06 02:32:13 +00:00
briggs f3274364d4 Fix a bug I introduced earlier. 1995-07-06 00:28:32 +00:00
pk 12bdf1b787 KNFify a bit. 1995-07-05 19:55:02 +00:00
gwr 090fdb11cf Do not advance esym if the SYMTAB_SPACE option is set. 1995-07-05 19:36:48 +00:00
gwr 2d867f9de5 SUBDIR=stand 1995-07-05 19:04:23 +00:00
pk 41d3ba8d49 Commit to MACHINE_NONCONTIG. 1995-07-05 18:52:32 +00:00
pk b8065a4244 remove a db_printf() that has been there for too long. 1995-07-05 18:51:41 +00:00
pk 10a0b4b79e Prototype pmap_dumpsize() and pmap_dumpmmu(). 1995-07-05 18:45:46 +00:00
pk a796c37169 Re-arrange dumpconf() and dumpsys(). 1995-07-05 18:40:50 +00:00
pk b34c403839 #define MACHINE_NONCONTIG here, so all vm_*.c files see it timely. 1995-07-05 18:04:48 +00:00
pk 50755a7cc5 typos. 1995-07-05 17:53:41 +00:00
pk 8a8842dc58 remove __BDEVSW_DUMP_OLD_TYPE
#include <sys/cdefs.h>.
1995-07-05 17:46:11 +00:00
pk 337522fb97 Move dumpmmu() over here. 1995-07-05 16:35:42 +00:00
pk c39b37a262 xd declarations. 1995-07-05 15:53:22 +00:00
pk 9013a7a6e2 Add xxread/xxwrite. 1995-07-05 13:34:10 +00:00
pk deb17b0f15 make this compile better.... 1995-07-05 13:06:33 +00:00
ragge e0ebe6c93d (some) support for DDB disassembly added. 1995-07-05 09:54:07 +00:00
ragge 620027e37d Null pointer were referenced if signal occurred before first
syscall. Didn't hurt on 4.3 Reno binaries.
1995-07-05 08:39:48 +00:00
ragge a237052e3a DDB needs writable kernel text. 1995-07-05 08:36:37 +00:00
ragge 761fc3ae0f Bug causing null pointer mscp buffer reference fixed. Thanx, Rick Macklem! 1995-07-05 08:34:01 +00:00
ragge 26c6819bfc mscp_requeue() should work now. 1995-07-05 08:31:38 +00:00
ragge 426274c2a6 rx, rl and kdb needed cdev_decl's. 1995-07-05 08:30:41 +00:00
ragge 0e60bcde3a Calling of pppintr() included. 1995-07-05 08:29:27 +00:00
ragge dc2461e35c uda/tmscp read/write added. 1995-07-05 08:24:45 +00:00
ragge 5ad69f2c9d nton?/ntoh? moved to endian.h. 1995-07-05 08:22:21 +00:00
ragge 25e4dd61b5 Changes due to common network code mods. 1995-07-05 08:19:05 +00:00
ragge 1ab8219384 DDB file added. 1995-07-05 08:17:16 +00:00
ragge 7d58080faf More near reality. 1995-07-05 08:15:25 +00:00
briggs e11c8dfd4c Stupid programmer error in IIvx kludge. 1995-07-05 03:48:45 +00:00
chopps 07d9670a6c remove indirect use of strategy which brok with recent changes 1995-07-05 02:12:38 +00:00
christos 38f1964478 Fix bug in the KGDB trap definition. Add svr4 software traps. 1995-07-04 22:58:51 +00:00
christos 1fc6525f9b trap.c: Add svr4 software traps. Fix bug in errno mapping.
svr4_machdep.c: Add siginfo translation (from mrg), add some software traps.
1995-07-04 22:57:33 +00:00
briggs 38031d912a First cut at a kludge for IIvx internal video. 1995-07-04 18:55:11 +00:00
chopps f1e1796cf4 misc cleanup, better tty alloc for mfc. from osymh@gemini.oscs.montana.edu (Michael L. Hitch) 1995-07-04 18:06:40 +00:00
briggs 6d08320888 Move SCSIBase from scsi.c. 1995-07-04 14:42:16 +00:00
briggs 2e4f1e0daa Update a bit. 1995-07-04 14:38:49 +00:00
briggs 2510a4f689 A few nits. 1995-07-04 14:38:34 +00:00
paulus a8adf7421b Add code to netintr to call pppintr. 1995-07-04 12:37:42 +00:00
paulus 374a7cc9cb Add code to soft01intr to call pppintr. 1995-07-04 12:34:37 +00:00
paulus 08b7596c51 Add code to interrupt to call pppintr. 1995-07-04 12:22:21 +00:00
paulus da3602a73e Add code to softnet to call pppintr. 1995-07-04 12:19:07 +00:00
paulus 1513342690 Add code to netintr to call pppintr 1995-07-04 12:14:32 +00:00
pk 63eeefb6cd make this compile better. 1995-07-04 10:29:22 +00:00
mycroft 7263209ce6 Make each disk and tape driver define its own read and write functions.
Deprecate rawread() and rawwrite() completely.  Remove d_strategy from cdevsw to
force the abstraction barrier.
1995-07-04 07:15:28 +00:00
mycroft 9fbf4d6f47 Make hardware interrupts always block all software interrupts. 1995-07-04 07:09:53 +00:00
paulus f3285c2e0e Add call to pppintr in softnet. 1995-07-04 07:00:47 +00:00
paulus b41c6a7d1c Add call to pppintr from netintr. 1995-07-04 06:54:52 +00:00
paulus c9a82bdc54 Add code for netintr to call pppintr if PPP is included. 1995-07-04 06:51:05 +00:00
briggs f92d7eb51f Clean up some types. 1995-07-04 03:34:09 +00:00
briggs 4d6ed092f1 Fixup a comment. 1995-07-04 03:30:11 +00:00
leo d9019191a0 NetBSD/Atari keyboard mappings 1995-07-03 20:49:40 +00:00
gwr 365e8c62da Remove temporary hack (now merged into src/sys/lib/libsa) 1995-07-03 02:56:52 +00:00
gwr 5cd60330a9 Remove temporary hack (../libnet) 1995-07-03 02:53:55 +00:00
gwr c4746effe0 Correct !DDB console abort (thanks to David Brownlee) 1995-07-03 02:52:13 +00:00
mycroft 2dadf2f086 Simplify some conditionals. 1995-07-02 16:10:40 +00:00
christos e7dcefc56c Add the svr4 network cloning devices. Now telnet(1) works too. There are
still problems with X-windows programs.
1995-07-02 06:13:27 +00:00
briggs 1040af3492 Add missing interface for getting a grfmode structure from kernel. 1995-07-02 05:26:27 +00:00
briggs ed434b457d Fix grfmap() as well as grfmmap(). 1995-07-02 00:49:52 +00:00
briggs 932a8fc9af Set and use new fboff element from grfmode structure. 1995-07-02 00:30:25 +00:00
briggs af7f31e30a Add a couple elements to the grfmode structure. 1995-07-02 00:29:03 +00:00
mycroft f4b5f723e0 Remove references to if_addrlist. 1995-07-02 00:16:00 +00:00
christos 45d46cb0c9 svr4_machdep.c: Fix {get,set}context and sendsig.
locore.s: add signal trampoline code for svr4. There is a lot of code
	  duplication there. Maybe we should share the code?
SVR4 status now:
	/bin/sh:	works
	/bin/ls:	works
	/bin/sleep:	works
	/bin/csh:	gives unknown software trap 0xa7
	/bin/ldd:	works
1995-07-01 23:55:31 +00:00
briggs 3401cca400 Fix buglet that was missed when converting nubus to non pa==va mapping. 1995-07-01 23:40:38 +00:00
briggs 303845a487 Remove this define--we're using the new dump type. 1995-07-01 18:47:51 +00:00
briggs eec2d38c71 Take out ncr96scsi0. 1995-07-01 16:35:54 +00:00
briggs 36654b75d9 Use flags for scsi interrupts. clean up a small bit. 1995-07-01 16:35:16 +00:00
briggs 175a1e27f4 add needs-flag for the scsi chip interfaces. 1995-07-01 16:28:13 +00:00
gwr 38c03f8581 Add ${LIBKERN} ${LIBCOMPAT} to SYSTEM_DEP so they are built.
Move ${DEBUG} from ${CC} to ${CFLAGS} for compatibility.
1995-07-01 00:51:15 +00:00
briggs 12ab0410c7 Clean up a tad. 1995-06-30 05:25:41 +00:00
briggs fcde92bcba Fix straytrap(). Update a few values in the ROM table. 1995-06-30 05:25:01 +00:00
briggs 5fced13f51 Ooops. 1995-06-30 05:23:03 +00:00
briggs 705e6bd12b Fix oversight. 1995-06-30 05:21:33 +00:00
briggs 29bb03860c Option key fix from Ken Nakata (kenn@remus.rutgers.edu). 1995-06-30 01:23:21 +00:00
jonathan 7c4739e2c3 Change bootblock load code to work with old DECstation proms (2100, 3100)
that lack the REX callback introduced with 5k/200.
1995-06-28 10:22:32 +00:00
cgd dfd39259bf oops; this got mangled. 1995-06-28 08:27:08 +00:00
cgd 2b71eae2c7 note that most of dev/ic's contents have changed names 1995-06-28 04:30:30 +00:00
briggs 829668e8d3 Some random cleanup and some cleanup of the dump routines, modelled on
i386.  Untested.  Remove old mac68k-specific stack trace code, etc. as
the cleanup.
1995-06-28 04:09:25 +00:00
cgd a921a720f7 no more serial console. There aren't enough free serial ports on non-crash
machines in my office!
1995-06-28 03:48:48 +00:00
cgd c83f9c5568 remove unused cpu_exec() definitions. moved "broken swap" markers, for
ports that still need it, to types.h.
1995-06-28 02:55:18 +00:00
cgd 40e29d5890 sync with my current Alpha sources 1995-06-28 02:44:51 +00:00
cgd d4a54b73d2 kill user-land DELAY macro, as suggested by gwr. 1995-06-28 02:43:36 +00:00
cgd da6d5a140a update to use new paths for MI lance driver 1995-06-28 02:30:25 +00:00
cgd 6d04247fc7 update to use machine-independent lance driver 1995-06-28 01:48:12 +00:00
cgd 549f126f4b ISA and PCI support for DEC AlphaStations 1995-06-28 01:24:50 +00:00
cgd 5cc82e159a Support for ISA programmed I/O functions. 1995-06-28 01:16:33 +00:00
cgd ba164ee03d update for various (old) NetBSD changes 1995-06-28 01:16:13 +00:00
cgd f36f0cf3e2 update to make current state of knowledge 1995-06-28 01:14:41 +00:00
cgd 2a6abc91f8 update for (old) new tty changes 1995-06-28 01:06:35 +00:00
cgd 7a275b5901 update for new clock interrupt handling 1995-06-28 01:03:57 +00:00
cgd a6b5caae1a update for new kernel names 1995-06-28 01:02:58 +00:00
cgd f9e02471d0 make boot blocks work on AlphaStation systems 1995-06-28 00:58:44 +00:00
mellon 34f8cc760a leinit: we always have at least one address now. 1995-06-27 19:54:49 +00:00
gwr e80271fbe0 Get things from libsa now. 1995-06-27 15:57:13 +00:00
gwr 29b61e2253 Add/correct some cache-flush logic to deal with the fact that the
VAC has ref/mod bits that need write-back treatment.
1995-06-27 14:44:47 +00:00
gwr d5761f14d9 Fix uses of btoc() which requires an unsigned arg. 1995-06-27 14:42:34 +00:00
gwr 6b6502194f Fix warnings about setjmp arg. 1995-06-27 14:40:14 +00:00
gwr f82c63a641 Remove temporary __BDEVSW_DUMP_OLD_TYPE (our dumpsys is safe 8^) 1995-06-27 14:38:22 +00:00
gwr 6548befa4f Nuke user-mode DELAY() macro. 1995-06-27 14:37:22 +00:00
gwr 3a59870c12 Leave modem control lines in correct state on interrupted open.
(From sparc/dev/zs.c)
1995-06-27 14:36:20 +00:00
gwr f872dedb62 Catch up with net/if.h changes 1995-06-27 14:34:32 +00:00
chopps 5ad7f31079 udpate to match ifnets new use of sys/queue.h 1995-06-27 13:13:32 +00:00
cgd e0f9279f31 update for current configuration descriptions 1995-06-27 00:54:55 +00:00
pk 09ea33db05 Do away with ROM printf. 1995-06-26 23:45:06 +00:00
pk a50ba2b546 Adapt to new lib{sa,kern} regime. 1995-06-26 23:26:57 +00:00
phil ad4af073cd Updates from Matthias Pfaller. (leo@marco.de) 1995-06-26 23:13:54 +00:00
pk c7df493055 SMD disk driver, from Chuck Cranor. 1995-06-26 23:06:57 +00:00
pk 70b6d95d44 xd definitions, from Chuck Cranor. 1995-06-26 23:01:06 +00:00
pk 35ad7a1ff3 xd driver entries, from Chuck Cranor. 1995-06-26 23:00:32 +00:00
pk 4f4e4826a6 xd definitions, from Chuck Cranor. 1995-06-26 23:00:31 +00:00
pk d918ea9e14 xd driver entries, from Chuck Cranor. 1995-06-26 22:59:54 +00:00
pk 3c17e9e63f isbad(), for Chuck's new xd driver. 1995-06-26 22:57:29 +00:00
pk 34c8ad8c30 Define dvma_map{in,out}() to map a buffer into DVMA space. These are
safe for use at interrupt time.

Implement vmapbuf() and vunmapbuf() in terms of these new functions.
1995-06-26 22:46:04 +00:00
pk 68e9c36909 Allocate/initialise DVMA maps and base address.
The fact that `phys_map' is split in half for different kinds of DVMA
allocations is not ideal..
1995-06-26 22:41:23 +00:00
pk affbc4d346 Define variables and macros for DVMA allocation using rmaps. 1995-06-26 22:36:32 +00:00
pk 04977f87e0 sl_xxx2 -> sl_pcylinder, for Chucks new xd driver. 1995-06-26 22:09:47 +00:00
pk 47ce042b76 Small optimisation & 1 fewer depedency on zs_ctty. 1995-06-26 21:45:31 +00:00
pk 45eb69b276 Use ZS_DELAY() in a few more places (from Gordon Ross, cf. sun3/dev/zs.c). 1995-06-26 21:32:51 +00:00
leo abe8c288fb Sync grf with underlying view on open. 1995-06-26 19:55:45 +00:00
leo 0d1035fa62 Fix thinko. It will now also work when no mouse is configured. 1995-06-26 14:31:27 +00:00
cgd 2b7d3527a2 define and set PTDpaddr (pyhs addr of kernel PTD) 1995-06-26 13:26:26 +00:00
cgd db66a978e9 IdlePTD has been gone for a while. PTDpaddr now exists. 1995-06-26 13:25:29 +00:00
cgd 59e990a56b check CMOS time against base time, for sanity. if CMOS time invalid,
warn user and user base time.  if base time < 1985, warn the user.
if base time 5 or more years different than clock time, warn user,
and if it's base time that's greater, use it.  (The latter case is
handy if one has a machine in which the CMOS battery is dead... I do.)
1995-06-26 10:14:05 +00:00
cgd 2d49c3885b clean up definitions of ctod(), dtoc(), ctob(), btoc(), btodb(), and
dbtob().  remove unused definitions of ctos(), stoc(), and dtob().
1995-06-26 06:55:38 +00:00
cgd c8858650b0 DEBUG -> FD_DEBUG, so this thing doesn't spew when used with options DEBUG 1995-06-26 05:47:40 +00:00
cgd 35bea7d1f4 use new-style block device dump functions. (most intelligence here now.) 1995-06-26 05:22:53 +00:00
cgd 5ccd187ba5 reserve VM to map pages being dumped 1995-06-26 05:21:58 +00:00
cgd dd3e2df4a7 make dump stubs consistent. fix other piece of code to compile
properly with DEBUG; used bogus variable.
1995-06-26 05:20:40 +00:00
cgd 1c0be437b1 define __BDEVSW_DUMP_OLD_TYPE for ports where it's true. clean up
some m68k ports inclusion of common header.
1995-06-26 05:13:37 +00:00
christos e14fb59c60 Fix building of libkern that broke with yesterday's fixes 1995-06-26 03:24:17 +00:00
chopps 81d3868e70 missed one fdopen 1995-06-26 02:34:01 +00:00
chopps 76a5f59729 setup pcb in cpu_fork. 1995-06-26 01:52:53 +00:00
chopps 4230801c92 be sure of product from Ezra Story <ezy@panix.com> 1995-06-26 01:49:05 +00:00
chopps 2937872ca5 typo fix from Daniel Widenfalk <t94dwi@student.tdb.uu.se> 1995-06-26 01:42:08 +00:00
chopps d6e4fd6e10 fix for sprite problem from Kenneth Dyke <kcd@babylon5.jumpgate.com> 1995-06-26 01:39:55 +00:00
pk 2321aeb62a Reserve arguments 2-4 for SunOS loaders; pass DDB stuff in args 5 and 6. 1995-06-25 23:26:21 +00:00
pk 008504e597 Define IO-cache bit for sun 4/400 machines. 1995-06-25 23:15:58 +00:00
pk 95733d9732 add a couple more sun4m bits. 1995-06-25 21:34:28 +00:00
leo 4abd54fe69 Mouse driver added. 1995-06-25 19:05:23 +00:00
briggs 600cdad805 Stupid typo in last. 1995-06-25 14:02:09 +00:00
briggs 50d8509da2 Stupid pasto in last. 1995-06-25 13:53:21 +00:00
briggs 0958ef72c8 Add libcompat. 1995-06-25 13:39:37 +00:00
briggs 2a153a49b1 Fix the clean target. 1995-06-25 13:06:32 +00:00
briggs 4d6069140b Get the units right... 1995-06-25 04:49:05 +00:00
briggs b1addb6674 Patches from Walter Ruetten (walter@ghpc8.ihf.rwth-aachen.de)
and Daniel Risacher (magnus@mit.edu).  Apparently with some
helpful discussion from John Wittkoski (jpw@insoft.com).
This works on my IIcx and IIsi.  Still needs a bit of cleaning up.
1995-06-25 03:24:09 +00:00
briggs b1598cdd1b Remove a compile warning. 1995-06-25 02:46:46 +00:00
briggs fc6fb65d62 Do something a lot closer to the right thing for FPU_EMULATE/FPSP/040
and subsets thereof.
1995-06-25 02:45:14 +00:00
christos f9f989f545 Makefile.`arch`: - Add -lcompat
- Change clean: target to be a double dep one,
			  so libraries can use the clean target too
			- Add genassym to the clean targets
1995-06-24 21:14:40 +00:00
christos 8d8973280c Makefile.`arch`: - Add -lcompat
- Change clean: target to be a double dep one,
			  so libraries can use the clean target too
			- Add genassym to the clean targets
1995-06-24 20:48:36 +00:00
christos a5c53e5068 Makefile.`arch`: - Add -lcompat
- Change clean: target to be a double dep one,
			  so libraries can use the clean target too
1995-06-24 20:47:36 +00:00
christos 98df248f95 Makefile.`arch`: - Add -lcompat
- Change clean: target to be a double dep one,
			  so libraries can use the clean target too
			- Add genassym to the clean targets
1995-06-24 20:46:09 +00:00
pk dbc54ab48e For a mmu3/sun4 too, it will suffice to just map the first 16MB. 1995-06-24 20:42:59 +00:00
christos 7f0e620523 Makefile.`arch`: - Add -lcompat
- Change clean: target to be a double dep one,
			  so libraries can use the clean target too
			- Add genassym to the clean targets
1995-06-24 20:41:28 +00:00
christos 3cb270c7ee Makefile.`arch`: - Add -lcompat
- Change clean: target to be a double dep one,
			  so libraries can use the clean target too
1995-06-24 20:40:45 +00:00
christos a94817a5de GENERIC: Add COMPAT_IBCS2 in too by default.
Makefile.`arch`:	- Add -lcompat
			- Change clean: target to be a double dep one,
			  so libraries can use the clean target too
			- Add genassym to the clean targets
1995-06-24 20:39:40 +00:00
christos fc741845e6 Stackgap_init() now takes an p->p_emul argument. 1995-06-24 20:36:28 +00:00
briggs 5781a8dcc0 The kernel is called netbsd, not vmunix. 1995-06-24 17:24:24 +00:00
briggs 4f05f7e8f6 pmap_page_index isn't a macro. 1995-06-24 16:18:50 +00:00
pk 20d86b44f2 Assume kernel is < 16MB in size,
Massage the a few control bits before remapping (from David S. Miller).
1995-06-23 15:44:34 +00:00
pk ad8e3ed225 Sync with net/if.h 1995-06-23 13:19:44 +00:00
jtc 611c2dbdc8 fix typo 1995-06-23 01:33:43 +00:00
briggs 1dadb15deb Remove DIAGNOSTIC 1995-06-22 23:24:18 +00:00
fvdl 1634acc3e4 Include file change. 1995-06-22 21:35:42 +00:00
briggs 3ddc81510c Add avail_end to keep ps and friends happy. Possibly a short-term fix. 1995-06-22 03:08:29 +00:00
briggs 1ccd38d9e1 Don't use constants for addresses. VA != PA... 1995-06-21 03:59:07 +00:00