Commit Graph

5434 Commits

Author SHA1 Message Date
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
briggs 229ed22747 Add function to reconfigure addresses when ROM is remapped. 1995-06-21 03:46:52 +00:00
briggs 2beeae8058 Lots of changes from hp300.
Removed MACHINE_NONCONTIG conditionals.  Only support that
configuration, now.
Some cleanup.
1995-06-21 03:45:10 +00:00
briggs 49b9eb5e4d A number of clean-up related changes and a few changes relating to
the new mapping.  "real mem" is now correct for MACHINE_NONCONTIG
machines.  MACHINE_NONCONTIG conditionals have been removed--only
support that case, now.
1995-06-21 03:41:51 +00:00
briggs 778adb81d1 Bring in 040 code from hp300 port.
Remove memory mapping code.
Update cpu_switch and a few other functions from hp300 port.
1995-06-21 03:36:27 +00:00
briggs 3d04799c79 Remove warning. 1995-06-21 03:20:58 +00:00
briggs 19b569364f Cleanup some--needs more pruning. 1995-06-21 03:20:22 +00:00
briggs 37b6dc390f Put page mapping code into a C module.
Remove old 040 version of page mapping--new way handles 040, too.
Derived from hp300 pmap_boostrap.c.
1995-06-21 03:19:35 +00:00
briggs 4a9e8ef39f Raise MAXTSIZ, double DFLDSIZ and quadruple MAXDSIZ. Lower USRPTSIZE.
Remove unused mapin() macro.  Update VM_MAX* macros to look like the
amiga's (easier to read than hp300's).
1995-06-21 03:17:06 +00:00
briggs 5dd8297b11 Cleanup some and make these look more like hp300 versions. 1995-06-21 03:14:06 +00:00
briggs 23622438bf Get rid of pcb_cmap2. 1995-06-21 03:10:44 +00:00
briggs c2184f6f5b Update to look more like hp300. Clean up a lot. 1995-06-21 03:08:29 +00:00
briggs 04834fb800 Remove cpu_set_init_frame() define.
Remove BROKEN_SWAP
Change cpu_swapout() to null-op.
Remove profile_tick() define.
Add some 040 stuff and make other 040 stuff compat. with hp300 port.
Cleanup a bit.
1995-06-21 03:06:33 +00:00
briggs 7542473d6d Clean up I/O base settings a bit. 1995-06-21 03:03:13 +00:00
briggs 697011742c Add some debugging (conditional on DEBUG). Add a more correct probe for
internal video.  Clean up nubusprint() a bit.
1995-06-21 02:59:08 +00:00
briggs e4ff96e47c Make NUBUS_BASE_TO_SLOT and reverse not depend on VA==PA for NuBus.
Add constant for DRSW_FARALLON.
1995-06-21 02:57:19 +00:00
briggs 6ff2537ad3 Make no assumptions about the absolute address of nubus cards. 1995-06-21 02:52:09 +00:00
briggs cb00a78de3 Treat 0 as a failure case for ae_id_card() and take out
null-op check for a 0 addrlist in init.
1995-06-21 02:50:22 +00:00
briggs f462aa095a Be a bit more careful on the probe... Make sure that the current slot's
addresses contain the int_video_start--or assume that internal video is
is "slot" 0xE.
1995-06-21 02:48:00 +00:00
briggs 1eec6bfc33 Add pmap_bootstrap.c and take out mac68k_init.c. 1995-06-21 02:43:19 +00:00
jtc 55fbbc705d Wrap with #ifndef _XXX_FLOAT_H_/#define _XXX_FLOAT_H_/ ... /#endif. 1995-06-20 20:45:22 +00:00
jtc 1d65cdd4ab #include <sys/cdefs.h>.
Wrap __flt_rounds() declaration with __BEGIN_DECLS/__END_DECLS.
1995-06-20 20:32:22 +00:00
briggs 67bfc330f1 Fix a typo that's gone unnoticed for a long time. Noticed by Brian
Gaeke (brg@dgate.org).
1995-06-20 05:13:19 +00:00
briggs caa1421dd6 Add FPSP back. 1995-06-19 03:55:15 +00:00
briggs 6f06373e06 Take out M68040, add a more specific swap and add vnd. 1995-06-19 03:53:58 +00:00
cgd 8b16cd6552 reenable kernel debugger; new location more amenable to tweaking. 1995-06-18 20:14:44 +00:00
cgd 8f62c773e8 don't assume the f_fsnamelen is nul-truncated or longer than MFSNAMELEN 1995-06-18 14:45:14 +00:00
phil 2f62eae02d Checkpointing ... still has a couple of problems but it is better.
(include/{icu.h,psl.h} should be listed as part of this checkpoint.)
1995-06-18 07:18:02 +00:00
phil 8142065452 Updating to be like i386 version. 1995-06-18 07:13:46 +00:00
cgd 3722386a41 use new pcireg.h macros 1995-06-18 02:36:41 +00:00
ragge 63a9ff56e7 rudimentary DDB support. 1995-06-16 15:36:37 +00:00
ragge 7aaf918c75 d_reset reference removed. Calling of ubareset must be solved. 1995-06-16 15:26:11 +00:00
ragge 8a9fcc717d DELAY() moved to common place. 1995-06-16 15:23:53 +00:00
ragge 2a7adb567d Some flags added to use in boot blocks. 1995-06-16 15:20:11 +00:00
ragge 913f0b045e DDB support. splddb() and trapcode for ddb. 1995-06-16 15:17:27 +00:00
ragge a1761db1f5 DELAY() removed, now common. 1995-06-16 15:14:05 +00:00
ragge e9aa7f52a2 ddb file added. 1995-06-16 15:09:56 +00:00
ragge e11e0f1712 Passing symtab address to kernel. 1995-06-16 15:07:58 +00:00
ragge 988e66c172 Pass symtab address to kernel. 1995-06-16 15:06:50 +00:00
jtc 7d0e5e8589 Use ${.CURDIR} in S macro definition so makefile works with obj directories. 1995-06-16 07:23:02 +00:00
briggs fec7ba6562 Rearrange slightly. 1995-06-16 04:45:22 +00:00
mellon 1305dc32df Put parentheses around macro arguments 1995-06-16 02:07:33 +00:00
gwr d82ae8cad9 Fix cpuspeed values for Carerra and similar.
Enable the virtual address cache on the 3/260
1995-06-13 22:21:40 +00:00
gwr b029c12ac1 Moved delay2us to param.h (now an inline function). 1995-06-13 22:16:38 +00:00
gwr cd13e583aa Provide delay2us as an inline and make it reasonably accurate,
but conservative (long) by a factor of about 1.25
1995-06-13 22:14:24 +00:00
gwr 64543c95b6 Fix several missing (and REQUIRED) calls to ZS_DELAY() 1995-06-13 22:11:33 +00:00
gwr 11ab4427ec Fix warning about setjmp arg 1995-06-13 22:06:58 +00:00
gwr 66f34029e5 Leave pseudo-device prom in for now (even though it doesn't work)
so config will create prom.h
1995-06-12 19:05:43 +00:00
fvdl ca120e393c Do extra comparison against linux_elf emul struct pointer to see what
we are emulating (unfortunately).
1995-06-11 20:24:42 +00:00
pk c049178b03 Deal with unrecovered boot devices. 1995-06-10 21:48:29 +00:00
gwr 914666b4f0 Temporary! Should be merged into libsa... 1995-06-09 22:26:18 +00:00
gwr 7fb30c51c8 Add install target, etc. 1995-06-09 22:24:06 +00:00
gwr f950c931e0 Oops, that was a binary... 1995-06-09 22:23:44 +00:00
gwr a4310ae56e Several fixes and cleanup: make close work; stop in prom if debug mode... 1995-06-09 22:23:01 +00:00
gwr e4a7bfeef8 cosmetic 1995-06-09 22:21:00 +00:00
gwr 94ef91135d Add install target, etc. 1995-06-09 22:20:17 +00:00
gwr c903596f3c New: a netif compatible interface to the Sun PROM network drivers. 1995-06-09 22:19:25 +00:00
gwr c3fdd9aa60 Add BINDIR 1995-06-09 22:18:04 +00:00
gwr 2f9ec64621 Add install target, etc. 1995-06-09 22:17:19 +00:00
gwr dbef525da2 Add install targets, etc. 1995-06-09 22:03:41 +00:00
gwr 8e179d8e95 Have netboot! 1995-06-09 22:02:39 +00:00
gwr 20ff880de8 More liberal check for exec header. Nuke machine type defines (support all) 1995-06-09 21:58:32 +00:00
gwr 5a7b959d02 Moved to ../stand/netboot 1995-06-09 21:55:47 +00:00
gwr b80b4c93a5 Retool for native build. 1995-06-09 21:53:27 +00:00
leo 56dc7b26ad Atari no longer uses the default db_read/write functions. 1995-06-09 20:03:05 +00:00
leo 73c861e2e3 Handle mouse and other packages received from the keyboard correctly.
The initialisation now resets the keyboard and disables all packages
that make no sense because their drivers are not activated.
1995-06-09 20:00:14 +00:00
leo 91bada6a66 Fix grfmmap() 1995-06-09 19:55:13 +00:00
leo 18e5707a34 Add our own low-level access functions for ddb. This makes sure that
the system won't hang when referencing a non-existend page.
1995-06-09 19:53:45 +00:00
leo 9f6e63c66b Add our own db_memrw.c for ddb. 1995-06-09 19:50:42 +00:00
leo 13af15620a Show FPU_EMULATE exists 1995-06-09 19:49:27 +00:00
leo f8c615afc9 Make hardware locations u_char instead of char 1995-06-09 19:47:30 +00:00
leo 2644faf340 Fix thinko 1995-06-09 19:45:42 +00:00
leo 80bf490a56 Support & require MACHINE_NONCONTIG 1995-06-09 19:42:22 +00:00
jonathan 8e556dece3 Change default optimization level from -O to -O2. 1995-06-09 06:44:41 +00:00
phil 9999c610fb Updated To.Do 1995-06-09 06:03:45 +00:00
phil 36c6fc31be Various updates for the new NCR scsi driver and tweeks to the interrupt
code. (From Matthias Pfaller)
1995-06-09 05:59:56 +00:00
phil a8674363a7 Replacement of the NCR driver by the Leo Weppelman NCR driver as
ported by Matthias Pfaller (Thanks to both!) and a RCS id.
1995-06-09 04:36:14 +00:00
briggs d37674426a "Always compile before you commit." 1995-06-09 02:19:47 +00:00
briggs 90caf013ba In the interrupt routine, bail out if we've not been initialized, yet. 1995-06-08 12:52:02 +00:00
cgd e58dfa2a1a make match/attach routines and cfdriver struct mi 1995-06-07 07:06:16 +00:00
cgd d4f62dcb69 update from Ignatios Souvatzis 1995-06-07 00:13:52 +00:00
pk a47021162b Prototype sysarch(2) (Thorsten Lockert, PR#1096) 1995-06-05 19:36:23 +00:00
ragge 215feb7abb New file pcb.h. USRTEXT changed to 0x400. 1995-06-05 17:17:57 +00:00
ragge 3c6303e76b Enabled auto reboot. Fixed bug in conf.c. Started use of rpb.
Detecting kernel stack overflow. Removed local mapping of
sigtramp code. Frob kernel stack pages in cpu_swapin().
Cleaned up some code and changed to KNF.
1995-06-05 16:26:23 +00:00
pk bf834e228d Add UNION option. 1995-06-05 12:46:31 +00:00
mycroft ee9e2e35fa Increase the delay after pulsing the keyboard reset line. 1995-06-05 03:47:51 +00:00
mycroft 1922f9e648 Use the memory mapping set up by the BIOS. 1995-06-05 03:07:34 +00:00
mycroft 4ea6427a03 Increase size of imask[]. Sigh. 1995-06-04 20:22:50 +00:00
mycroft bd99191320 IPL_IMP includes IPL_NET, IPL_BIO, and possibly IPL_TTY. 1995-06-04 08:32:24 +00:00
mycroft 8bb190daa3 Add a separate IPL_IMP, used by splimp(). 1995-06-04 08:29:41 +00:00
mycroft d4e9fde6e5 Handle most of the address fixups during bootstrap with a macro. 1995-06-02 18:14:04 +00:00
pk c86cba88fe Update SCSI decls. 1995-06-02 17:53:51 +00:00
mycroft 3126edd708 Arrest the KNF policeman. 1995-06-02 17:51:21 +00:00
gwr 788562b9ed Use the exec header left by the boot program to validate the
symbol table size, and then preserve symbols for ddb.
1995-06-02 16:46:18 +00:00
gwr 3fda1f293a Keep the exec header so the kernel can find it. 1995-06-02 16:44:20 +00:00
pk c0c45bba22 Try to recover from multi-byte messages sent by a target for which we
get an "Illegal command" (why is this?) when we try to pull it in.
On detection of this condition, we reset the SCSI bus and simply stop asking
this target for an identify messages, for now.
1995-06-02 15:46:47 +00:00
pk 4770e5e7c5 Try to recover from multi-byte messages sent by a target for which we
get an "Illegal command" (why is this?) when we try to pull it in.
On detection of this condition, we reset the SCSI bus and simply stop asking
this target for an identify messages, for now.
1995-06-02 13:43:30 +00:00
brezak cfe5401c83 Integrate patch from Lon Willett that is part of release 3.20 1995-06-02 02:48:41 +00:00
gwr 73a128e326 Add a man page. 1995-06-02 00:22:47 +00:00
gwr f38968b1dd boot --> ufsboot 1995-06-01 21:15:20 +00:00
gwr 7f6fe50cb7 clean up import conflicts 1995-06-01 21:03:07 +00:00