Commit Graph

293 Commits

Author SHA1 Message Date
mycroft fa887628d8 Stylistic changes. 1995-12-25 23:15:31 +00:00
mycroft d1de691efb Stylistic changes. 1995-12-25 22:22:02 +00:00
mycroft 0199e002ad Update for GCC 2.7, and fix bugs. 1995-12-25 21:41:08 +00:00
mycroft 3da4b2a160 The IST_* and IPL_* constants are not bus-specific; don't treat them as such.
Change splimp -> splnet in Ethernet, ARCnet, and FDDI drivers.
1995-12-24 02:29:35 +00:00
ragge 341c12ff46 Generation of old config structs for de/qe cards removed. 1995-12-16 15:05:03 +00:00
ragge e7aba578d3 MicroVAX III support added.
Dummy match/attach routines for tmscp.
Conversion of uda.c towards new config.
1995-12-13 19:02:47 +00:00
ragge 56ad9078eb MicroVAX III support added. 1995-12-13 18:57:57 +00:00
ragge cf6e6c6ed4 waitabit() macro removed. 1995-12-13 18:56:01 +00:00
ragge 6ab4fc540f Prevent against multiple includes. 1995-12-13 18:55:27 +00:00
ragge dc9996e83e A complete SCB struct included. 1995-12-13 18:54:56 +00:00
ragge 4f22cd5a71 Type change: u_int hoppaddr to void (*hoppaddr)(); 1995-12-13 18:54:03 +00:00
ragge 902fd4cddf PG_SHIFT -> PGSHIFT. 1995-12-13 18:53:15 +00:00
ragge 3307a6f67a CPU dependent code moved out of cpu independent modules. 1995-12-13 18:50:11 +00:00
ragge b7d05bc287 u_int -> pt_entry_t. 1995-12-13 18:47:59 +00:00
ragge 2962c5f6d6 MicroVAX III support added; now runs on VAX 3600/3800/3900 platforms. 1995-12-13 18:45:52 +00:00
ragge a5c9872c60 Unneccessary. 1995-12-12 15:40:04 +00:00
mycroft 292120bf63 Define __FORK_BRAINDAMAGE. 1995-12-09 04:41:41 +00:00
ragge 31f199d4e6 Added earlier forgotten MACHINE_ARCH, pointed out by Arne Henrik Juul.
Cleaned up a bit.
1995-12-04 22:32:53 +00:00
ragge 45d824de05 DELUA/DENUA & DELQA/DEQNA Ethernet adapters converted to new config. 1995-12-01 19:37:55 +00:00
ragge 2e654caa73 UBA converted to new config. (uba's now can be *'ed). Bug causing
DMA writes to nonexistent memory pages fixed. Code for old config
of non-mass-storage devices removed. (they now must use new config).
1995-12-01 19:22:56 +00:00
jtc 0cd793449e merge in changes from 1.1 release branch 1995-11-30 00:56:23 +00:00
ragge 826b97635f No longer needed; interrupt vectors now dynamic allocated. 1995-11-12 15:19:49 +00:00
ragge bfc2ca40b8 Function call definition on stack. (calls frame) 1995-11-12 15:07:30 +00:00
ragge 763fd0a011 Macros for locore mapping added. 1995-11-12 14:41:41 +00:00
ragge d96cac4b8e pt_entry_t now struct pte. cleanup. 1995-11-12 14:40:26 +00:00
ragge e6db353726 extern struct scb *scb; added. 1995-11-12 14:38:31 +00:00
ragge 7aac03e745 11/750 specific things moved to ka750.h 1995-11-12 14:37:18 +00:00
ragge 2a23f39e82 struct ivec_dsp for interrupt vector allocation added. 1995-11-12 14:33:11 +00:00
ragge f51faf62ac Dynamic allocate uba_softc and interrupt vectors.
Allow for more that one uba.
1995-11-10 19:25:46 +00:00
ragge d16c357ab9 A couple of CPU specific defines moved away. 1995-11-10 19:14:43 +00:00
ragge c9be4b2e09 Removed some warnings. 1995-11-10 19:09:56 +00:00
ragge 42edf9d2b4 _idsptch added, _physcopypage removed. 1995-11-10 19:08:59 +00:00
ragge eca544e6fc sysarch() -> sys_sysarch. 1995-11-10 19:07:16 +00:00
ragge ae0f1d45d8 Allow for dynamic allocation of interrupt vectors.
COMPAT_RENO removed.
Handle memory errors.
uap->sigcntxp -> SCARG(uap, sigcntxp)
1995-11-10 19:05:46 +00:00
ragge 33bd27fa3c Major rewriting of pmap_bootstrap; CPU dependent allocations moved
to related file.
1995-11-10 18:52:54 +00:00
ragge 3095b6514c No need anymore. 1995-11-03 14:34:52 +00:00
ragge 46e32a9703 No need for this file anymore; it's defines moved to other places. 1995-11-03 14:29:23 +00:00
ragge 8010d89785 Must use PAGE_SIZE family instead of NBPG family.
(phys page size != virt page size)
1995-10-30 16:27:56 +00:00
ragge 440b596a77 Added M_OP_POS (positioning tape). 1995-10-20 13:51:56 +00:00
ragge b57ff30a87 Added #ifdef _KERNEL around definition of struct rpb. 1995-10-20 13:47:27 +00:00
ragge ad3443e06c Additions to be able to write to massbuss disks standalone. 1995-10-20 13:43:43 +00:00
ragge fbc5d6e054 SA_LIB -> SALIB
Include rpb.h. Typeclash fixes.
Removed #include of non-existing file.
1995-10-20 13:35:41 +00:00
ragge 5d49d3ac8f Use macros.h when STANDALONE is defined. 1995-10-20 12:55:06 +00:00
mycroft 245f292fed Prefix names of system call implementation functions with `sys_'. 1995-10-07 06:25:19 +00:00
ragge e3e007e87c #include "sys/mount.h" added. 1995-10-02 12:33:32 +00:00
ragge 0b4e25a2c1 Arg to printf forgot. 1995-09-29 16:35:00 +00:00
ragge 24d550bffb Some typos. 1995-09-29 16:33:38 +00:00
ragge 2572267bae relocation_info added. 1995-09-23 14:57:40 +00:00
thorpej a11f0c987e Compile kernel with -Werror and -fno-builtin. 1995-09-19 23:57:55 +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
ragge 3579b04cac Obsolete when not using Microvax rom anymore. 1995-09-16 16:21:56 +00:00
ragge c378250058 Calls to MicroVAX rom routines removed. 1995-09-16 16:20:18 +00:00
ragge 67abd74816 struct rpb -> include/rpb.h 1995-09-16 15:58:57 +00:00
ragge 01c7626f80 Load microcode file on 11/750. 1995-09-16 15:54:20 +00:00
ragge 64a23e9a8b Take care of xon/xoff (== discard them). 1995-09-16 15:48:49 +00:00
ragge 7bffdf561e Removed bug to prevent division-by-zero when accessing unlabelled disks. 1995-09-16 15:43:25 +00:00
ragge 395e73a5d7 ka650 added. Converted to KNF. 1995-09-16 13:34:20 +00:00
ragge ed3a9bf3b0 TMSCP support added. 1995-09-16 13:18:27 +00:00
ragge eefa8685a2 Bootblock support for tmscp added, used on MicroVAX.
MicroVAX rom routines not used anymore, too inconsistent when
not using FILES-11 filesystem.
1995-09-16 13:01:06 +00:00
ragge b5733df6fb Standalone support for TMSCP tapes, based on ra disk driver. 1995-09-16 12:57:35 +00:00
ragge 7e902b634e Foolish and easy standalone prog to edit disklabels. 1995-09-16 12:56:03 +00:00
ragge 8feecb9503 Rick Macklem's copy hack that can do standalone (multi-)volume
copies from anything to anything.
1995-09-16 12:53:49 +00:00
ragge 007a539df5 Readme & install files added and updated. 1995-09-16 12:00:19 +00:00
mycroft 29053c58b2 SA_ONSTACK --> SS_ONSTACK 1995-09-01 20:05:59 +00:00
ragge 2c7359091d Patches from Ken Wellsch/Ken Lalonde to support some Dilog MSCP cards
(DQ256 SMD card, SQ706A and SU726A SCSI card).
1995-08-31 22:24:39 +00:00
ragge 90a621b682 Fixed USRPTSIZE trouble. Cleaned up. 1995-08-22 04:34:17 +00:00
ragge 4ff0530b57 Changed way to calculate USRPTSIZE. 1995-08-22 04:28:20 +00:00
ragge ce63fbf5f1 Bug fix in byte_swap_word(); didn't always make it. 1995-08-21 16:36:32 +00:00
ragge e7749341ad Added PG_URKW: World readable, kernel writable. 1995-08-21 03:28:50 +00:00
ragge 172fd72aab Bug fix: Must have user readability of kernel text on Microvax
even when using DDB.
1995-08-21 03:27:05 +00:00
ragge ed3c38b4cd Added gencntty(); 1995-08-21 03:24:46 +00:00
thorpej 66dcd8fd69 Add entries for the ccd. 1995-08-17 17:40:42 +00:00
mycroft 6deb1a5816 Fix comment on splnet(). 1995-08-13 00:45:21 +00:00
mycroft 0e29cb31fa Replace splnet() with splsoftnet(). Add splnet(). 1995-08-13 00:32:47 +00:00
ragge dde1e61099 maxpartitions added. Kernel now loaded with -Z flag. 1995-07-24 18:58:32 +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
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
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 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 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
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
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
ragge ae74b4ebab Changed *_MIN to be correct. 1995-05-28 18:38:30 +00:00
jtc f90f8d10aa Removing -DKERNEL, transition to _KERNEL has been completed 1995-05-16 22:24:17 +00:00
jtc 8aa6c376b6 KERNEL -> _KERNEL 1995-05-11 16:52:54 +00:00
ragge 7d8ace7679 Typo 1995-05-08 19:10:53 +00:00
ragge 197ff756b0 Machine dependent core dump struct added. 1995-05-07 16:43:34 +00:00
ragge 9bdf9bed5e Changed core dump style to generic netbsd format. 1995-05-07 16:41:28 +00:00
ragge 372dd89e62 Kernel message buffer implemented. 1995-05-06 00:08:28 +00:00
ragge 29a5673f41 BROKEN_SWAP removed, swapping verified OK.
pmap_collect(pmap) added as null define.
1995-05-05 14:13:01 +00:00
ragge bd890814cf Removed cpu_set_init_frame() use.
Increased default limits of memory use, ridiculously small before.
1995-05-05 10:53:53 +00:00
ragge f58eb36f82 Removed kernel stack relocation and double-mapping.
Speeded up fork() significantly.
1995-05-05 10:47:35 +00:00
cgd 8703076975 define BROKEN_SWAP and/or cpu_swapout as appropriate. 1995-05-05 03:41:51 +00:00
ragge a412d4803c mtpr support for 11/780 added. DELAY added. mcount() corrected.
trapframe fixed to support all registers.
1995-05-03 19:53:40 +00:00
ragge 35d394d7e4 Changed conf.c to new style. Took away double saving of regs in traps.
Changed boot() to use vfs_shutdown(). Updated setregs.
1995-05-03 19:20:09 +00:00
cgd 0e59975fac rename files files for new config/config.old naming 1995-04-28 08:19:12 +00:00
ragge 589f248bad Cleanup and fixes for uVAX boot. 1995-04-25 14:14:19 +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
ragge b7b88b1ba8 Typo. 1995-04-18 22:08:25 +00:00
ragge 52ecef9b87 Added missing #ifdef VAX750 1995-04-18 22:02:35 +00:00
ragge 172d108798 Added SSIZE_MAX, SIZE_T_MAX, UQUAD_MAX, QUAD_MAX and QUAD_MIN. 1995-04-16 20:10:33 +00:00
ragge bf15373974 Fixes to conf.c
Cleaning of code.
1995-04-12 15:34:44 +00:00
ragge 4807c769ca Added regs for trace. 1995-04-12 15:26:49 +00:00
mellon df78dbb096 Reference cninit.c as well as cons.c 1995-04-11 09:52:11 +00:00
mycroft 6cfb93ffdd GC old comment about trailers. 1995-04-11 06:19:09 +00:00
mycroft 5f5d8e19d0 Sync with the rest of the world. Say goodbye to Mr. Trailer. 1995-04-11 06:16:33 +00:00
mycroft 68c8c80929 kernel_pmap --> pmap_kernel() 1995-04-10 16:48:27 +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 0f894dcdc4 Update to match hp300 port. 1995-04-10 04:02:53 +00:00
mycroft 28978ed078 v_cmap --> vmmap 1995-04-10 03:54:27 +00:00
mycroft ea5470b091 Partially update to match conf.h. 1995-04-10 03:36:17 +00:00
ragge e1bbd102d9 Bug log... 1995-03-30 21:36:44 +00:00
ragge 80b5aa7c05 Speed-up of pmap and trap.
Fixes due to uVAX support.
1995-03-30 21:25:14 +00:00
ragge a95842832d Bug fixes of interrupt handlers. 1995-03-30 20:55:23 +00:00
ragge c362495157 Some bug fixes & update of pcb. 1995-03-30 20:42:55 +00:00
ragge 543b832ee3 Support for DEQNA/DELQA added. 1995-03-30 20:26:32 +00:00
ragge b94cd499ab All supported devices. 1995-03-29 22:54:02 +00:00
ragge db6fbd3bf2 Support for tmscp tapes. 1995-03-29 22:50:47 +00:00
ragge 887089b1c2 uVAX II support. 1995-03-29 21:35:16 +00:00
ragge 9dbb11b582 Added support for uVAX boot. 1995-03-29 21:23:59 +00:00
jtc 71ab4ed9dc KERNEL -> _KERNEL 1995-03-28 18:13:48 +00:00
jtc f86410093b Changed name of __weak_reference() to __indr_reference(). They really
are indirect references, and I want to add a real __weak_reference()
macro to <machine/cdefs.h> soon.
1995-03-23 19:58:48 +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 a84fe027a2 make sysarch() look more like it should 1995-03-08 00:50:13 +00:00
ragge 09a91fa841 *** empty log message *** 1995-02-24 01:35:08 +00:00
ragge 389584724a Support for uVAXII, new tmscp driver added. 1995-02-23 17:53:16 +00:00