Commit Graph

3028 Commits

Author SHA1 Message Date
cgd 93a78af882 no DDB 1995-11-25 01:32:34 +00:00
cgd e6dc5f55db update for am7990var.h, am7990.c changes 1995-11-25 01:31:09 +00:00
cgd deb4082f80 wholesale update from my NetBSD/Alpha source tree. Includes:
Support for AXPpci CPUs,
	Support for AlphaStation 600 CPUs,
	new boot block structure, which requires an 'installboot'
	    program and works a lot like the NetBSD/sparc boot blocks.
1995-11-23 02:33:17 +00:00
mycroft 245f292fed Prefix names of system call implementation functions with `sys_'. 1995-10-07 06:25:19 +00:00
thorpej 03c87b6ebc Use `files.osf1' 1995-09-20 00:20:18 +00:00
thorpej a7417b3ca6 Compile the kernel with -fno-builtin. 1995-09-19 23:28:06 +00:00
thorpej 7d7396c414 Make system calls conform to a standard prototype and bring those
prototypes into scope.
1995-09-19 22:53:47 +00:00
cgd 0f14e95f52 replace bogus tcl with tch, thanks to briggs 1995-09-05 15:07:05 +00:00
mycroft 29053c58b2 SA_ONSTACK --> SS_ONSTACK 1995-09-01 20:05:59 +00:00
thorpej 66dcd8fd69 Add entries for the ccd. 1995-08-17 17:40:42 +00:00
mycroft c5ec5c3003 Add splsoftnet(). 1995-08-13 00:03:11 +00:00
cgd 9c8d63d05b oops; trim some bogus 1994's from copyrights 1995-08-03 01:23:08 +00:00
cgd 60d53ca3d9 oops; trim some bogus 1994's from copyrights 1995-08-03 01:12:15 +00:00
cgd bedee1822d simplify various configuration code by setting function pointers and
calling the functions they point to.  do real console initialization.
always include ecoff code (it's the "native" format, for now).
simplify kernel argument gathering.
1995-08-03 01:04:03 +00:00
cgd cde26bf293 kill MD #ifdefs, pull primary bus name from global 1995-08-03 01:01:26 +00:00
cgd 44b967e45f kill alpha_mb(); it's now inlined. make copy functions' frame sizes
more easily adjustable.
1995-08-03 01:00:11 +00:00
cgd 196db616cf kill bogus comments, unnecessary functions 1995-08-03 00:58:33 +00:00
cgd d55a404ae1 cpu-specific functions which could be split out of various parts of
machdep.c.  There probably is a better way to this this code up, but
i picked this one for simplicity, for now...
1995-08-03 00:57:05 +00:00
cgd f300c21d2e entries for wsc, com 1995-08-03 00:55:27 +00:00
cgd 49ee71b3c5 MB -> wbflush 1995-08-03 00:54:28 +00:00
cgd 0b0dea1a70 resettodr returns void 1995-08-03 00:53:34 +00:00
cgd 207c4ddca2 MB -> wbflush 1995-08-03 00:52:29 +00:00
cgd 8aa6759ac6 console printf twiddling warning not really necessary now 1995-08-03 00:52:24 +00:00
cgd ffb2012cee MB -> wbflush 1995-08-03 00:52:00 +00:00
cgd 67e0ffcf73 bump NKMEMCLUSTERS up to 4M (increase of 4x) 1995-08-03 00:51:00 +00:00
cgd d0fd75a461 pc keyboard driver, largely snarfed from i386. should be MI, but
until the i386 is capable of using a 'split' version, no point.
1995-08-03 00:48:25 +00:00
cgd 0e899183c9 MB -> wbflush 1995-08-03 00:46:52 +00:00
cgd c296ddcd85 move some of the most important configuration code into a seperate
function, so that it can be called from early bus config code.
1995-08-03 00:44:57 +00:00
cgd 99dd0b8fc8 i/o mapping, kill some trash, map cacheable mem in dense PCI mem space 1995-08-03 00:42:25 +00:00
cgd 14388e344a Brooktree bt485 register definitions. should be MI, but didn't want
to shove my names down others' throats (yet).
1995-08-03 00:40:49 +00:00
cgd 132ad46ef5 "Workstation Console" glue code. Badly "needs chainsawed."
Should be better integrated into autoconfig.  Also, interface should
be designed rather than cobbled together...  Nasty, but it Works.
needs things like ability to pass ioctl()s down to components, ability
to mmap() things, etc.
1995-08-03 00:39:58 +00:00
cgd 9a0323c873 PCI VGA support. should be MI, but not yet 1995-08-03 00:35:55 +00:00
cgd 5413c73bec support for DEC 21030 (TGA) boards -- at this time, only the ZLXp-E1 works 1995-08-03 00:34:25 +00:00
cgd beeaf64fd6 i/o map function dispatch, console picker function 1995-08-03 00:33:58 +00:00
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
cgd 830a91b2e9 update SCSI minphys routines' definitions to match standard minphys()
definition and usage.
1995-07-24 07:16:44 +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
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
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
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
cgd e0f9279f31 update for current configuration descriptions 1995-06-27 00:54:55 +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 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 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
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
cgd b86de4fbbd invoke shutdown hooks 1995-05-31 20:45:14 +00:00
jtc f90f8d10aa Removing -DKERNEL, transition to _KERNEL has been completed 1995-05-16 22:24:17 +00:00
cgd 3ada5aac65 ignore the kernel compile dirs for which we provide config files. 1995-05-07 22:26:16 +00:00
cgd 8703076975 define BROKEN_SWAP and/or cpu_swapout as appropriate. 1995-05-05 03:41:51 +00:00
cgd 66927585fc make an __indr_references macro, that expands to nothing... 1995-05-03 00:13:55 +00:00
cgd 7cc5a0ed42 make FLT_ROUNDS call __flt_rounds, so dynamic rounding mode is grabbed. 1995-04-29 05:45:44 +00:00
cgd 18d9d7e5ef first cut of the alpha version. 1995-04-29 01:09:17 +00:00
cgd 0e59975fac rename files files for new config/config.old naming 1995-04-28 08:19:12 +00:00
cgd 7c7142b1cf status report 1995-04-25 18:59:14 +00:00
cgd 4061570286 Add 'users to-do list' 1995-04-25 18:16:15 +00:00
christos de42a28a1b - added sunos_machdep.c for sun3, atari, amiga and mac68k.
- changed machdep.c and trap.c to use struct emul.
- remove ep_setup references.
- added struct emul to all emulations.
1995-04-22 20:24:40 +00:00
cgd b439a787bc kill a host of null dereference bugs... tracking down a _different_ bug,
i was getting "KSP INVALID" death.  It was being cause by never-ending
MM faults, caused by null derefs (of curproc) in the MM fault trap
handler.  the original MM fault was caused by a null deref (of
curproc, again) in the unaligned access handler!
1995-04-22 16:59:47 +00:00
cgd a67f72b7d6 kernel config files for jura.pdl.cs.cmu.edu and scapa.pdl.cs.cmu.edu,
the DECpc AXP 150 and the AlphaStation 400 4/233 in my office.
NEITHER TYPE OF MACHINE WORKS YET, and i'm not even going to be
working on the DECpc AXP 150 support any more.
1995-04-22 12:47:54 +00:00
cgd de324e173a clean up, change drive -> lun for mi scsi files description. 1995-04-22 12:46:06 +00:00
cgd 7a43f1fdc7 clean up a bit, use MI files lists. add a bunch of comments.
Also, include the EISA, ISA, and PCI files lists.
1995-04-22 12:45:08 +00:00
cgd 387a2d7ee1 kill some non-gnu-tools cruft, allow rest of programs to be parameterized 1995-04-22 12:44:08 +00:00
cgd 82315c022a get rid of bogus header inclusions 1995-04-22 12:43:22 +00:00
cgd 993d5501b3 promcnputc now returns void 1995-04-22 12:42:51 +00:00
cgd 12dae0a656 add option HALTLOOP to loop in boot() instead of halting/rebooting 1995-04-22 12:42:01 +00:00
cgd 71fa065268 deal with renamed header file. 1995-04-22 12:41:05 +00:00
cgd 97cd254342 console putc returns void 1995-04-22 12:35:17 +00:00
cgd 610d597217 adjust for networking code changes 1995-04-22 12:34:15 +00:00
cgd 72632df1e2 they've moved. 1995-04-19 09:00:29 +00:00
cgd f807d6ea6d fix function name in comment. 1995-04-11 05:30:22 +00:00
mycroft c9a66fce20 Use global 8530 defs. Needs more work. 1995-04-11 03:41:04 +00:00
mycroft 22cefc03bc Bring back pmap_kernel(), for now always inlined as a pointer to
kernel_pmap_store.
1995-04-10 12:41:29 +00:00
mycroft 127e0761c9 Add mmopen(), mmclose(), and mmmmap() where appropriate. Lock vmmap when
needed.  Make types consistent.
1995-04-10 11:54:47 +00:00
mycroft d751b03236 Minor consistency nits. 1995-04-10 10:01:40 +00:00
mycroft 21993f8246 Add dummy mmopen() and mmclose(); change mmmap() to mmmmap(). 1995-04-10 01:55:57 +00:00
mycroft 3d4e73333d Update to match conf.h. 1995-04-10 01:54:00 +00:00
jtc 71ab4ed9dc KERNEL -> _KERNEL 1995-03-28 18:13:48 +00:00
cgd e2f551312e make alpha GENERIC kernel have 'options INSECURE' by default 1995-03-26 01:48:21 +00:00
cgd 765d6cba46 kill a couple of debugging printfs 1995-03-24 15:15:45 +00:00
cgd a7b2a08bc6 remove support for double-mapping the user area and kernel stack. 1995-03-24 15:07:10 +00:00
cgd 6203812f8d better 3000/300-series systype recognition.
remove a while (1); that i added for debugging a while back.
remove support for double-mapping the user area and kernel stack.
1995-03-24 15:04:14 +00:00
cgd 2a6f9d0165 allow user to halt system at boot device prompt 1995-03-24 15:03:02 +00:00
cgd 804b49ae1f remove support for double-mapping the user area/kernel stack 1995-03-24 15:01:31 +00:00
cgd f2682e8576 fill in sysnames for the 300 family 1995-03-24 15:00:51 +00:00
cgd 93d789f4a5 cleanup, add some comments, and (oh yeah!) look at interrupt bits 1995-03-24 14:59:37 +00:00
cgd 0d22f2407b make bpf work, by appending ether header before mtap, then discarding it. 1995-03-24 14:57:12 +00:00
cgd f2619698ac deal reasonably with the 3000/300's console (annoying engineers!) 1995-03-24 14:52:24 +00:00
cgd 91a475f398 print out mode (slow vs. fast) 1995-03-24 14:49:28 +00:00
jtc d57fb977bb Added -D_KERNEL to CFLAGS alongside each -DKERNEL. 1995-03-23 19:46:18 +00:00
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
mycroft 2f805fa51b copy*str() should use size_t. 1995-03-09 12:05:21 +00:00
cgd 4df31d916c fix cd major number 1995-03-08 02:41:37 +00:00
cgd 95aec707ad fix major number for swap device 1995-03-08 02:40:34 +00:00
cgd dd5a5290f2 update from my local tree; better CPU configuration, support for 3000/300. 1995-03-08 00:38:44 +00:00
cgd c9c62fc738 Follow suggestions put forth by Roger Ivie, and be a bit more careful
about setting and clearing bits in the CIR.
1995-03-03 01:38:56 +00:00
cgd e6e80015b0 use charles's cleaner message input code 1995-03-03 01:37:22 +00:00
cgd f877346baf don't reset the chip when setting paramters 1995-03-03 01:36:38 +00:00
cgd 940e25932e add support for more clock frequencies; use 1024 Hz. 1995-03-03 01:35:21 +00:00
cgd a3d2d64576 add config file for my 3000/400, macallan. 1995-03-03 01:35:03 +00:00
cgd 2ec5ed98e2 kill redundant 'cd' major number definition 1995-03-03 01:33:44 +00:00
cgd 03d9e9356e clean up machine type description comment. 1995-03-03 01:33:03 +00:00
cgd 504990e332 fill up device switches, clean up a couple of mistakes. 1995-02-27 16:36:07 +00:00
cgd 8976ed6a4b add an entry to the 'thanks' section. 1995-02-23 02:21:32 +00:00
cgd 715c38c819 clean up a bit... 1995-02-21 09:52:58 +00:00
cgd 22fafded22 hyphenation foo. 1995-02-21 09:18:48 +00:00
cgd d56a14b9ae updated version of the readme 1995-02-21 08:24:52 +00:00
cgd d5300f2692 update for NetBSD's header standards, kill OSF/1 cc hacks. 1995-02-16 03:08:04 +00:00
cgd 9ea87ea125 Id -> NetBSD 1995-02-16 02:37:34 +00:00
cgd 4594aa0317 and with 0x1fff, rather than 0x1000 1995-02-16 02:36:35 +00:00
cgd b2c99bfbc2 RCS ids, some missing copyrights. 1995-02-16 02:32:50 +00:00
cgd 7b53f28cfb just a quick blurb 1995-02-14 01:30:40 +00:00
cgd 85854cb4ad preliminary Alpha support. note that NOT ALL OF THE MODIFICATIONS TO
THE REST OF THE KERNEL ARE IN THE TREE YET.  Also, some of this is
_incredibly_ hack-ish, etc., but it works.
1995-02-13 23:06:39 +00:00