Commit Graph

291 Commits

Author SHA1 Message Date
ragge 183d234ae4 Add prototypes. 1996-02-11 13:47:55 +00:00
ragge 4cafd3d7d2 PAGE_SIZE should be PAGE_SHIFT. Really ugly bug! 1996-02-11 13:46:23 +00:00
ragge 26d151d2bb Prototype for delay(). 1996-02-11 13:45:37 +00:00
ragge dfecf19e9f Fix cpu_sysctl() arguments to be like prototype. 1996-02-11 13:43:37 +00:00
ragge 550f120337 Fix things that -O2 broke. Cleanup. 1996-02-11 13:41:35 +00:00
ragge bb75a13fbb Cleanup & convert to KNF. 1996-02-11 13:39:54 +00:00
ragge 998626f339 Add VAX650, mba, hp, ts. Change uba to be *'ed. 1996-02-11 13:28:25 +00:00
ragge 29719357a6 Remove csralloc(), not usable anymore.
Add ubasetvec() to steal interrupt vectors for device drivers that
need more than one vector. Add prototype for it.
1996-02-11 13:24:50 +00:00
ragge d2dadd65df register -> volatile in some places, to make it work OK with -O2. 1996-02-11 13:22:30 +00:00
ragge 435182d4bb Device drivers for massbus adapters and massbus disks.
Works with RP04/05/06/07 disks.
1996-02-11 13:19:33 +00:00
ragge d24ffd421f Support for ka650, tailored in_cksum and removal of a couple needs-count. 1996-02-09 15:24:18 +00:00
mycroft 753fe3a25a Fix mkdep problems due to missing flags. 1996-02-09 02:21:13 +00:00
mycroft d5b078f3e6 Clean this up a little, and make it compile with `traditional' cpp. 1996-02-03 01:43:41 +00:00
mycroft 5bc076e17e Use `-traditional-cpp' when building .s and .S files. 1996-02-03 00:43:50 +00:00
mycroft 4f952cf1e7 #ifdef a call to kdb_trap() on DDB. 1996-02-02 23:19:43 +00:00
mycroft cfefb732a0 Fix type errors. 1996-02-02 22:57:43 +00:00
mycroft dcd66e9f4d Clone these, and fix many bugs. 1996-02-02 20:08:17 +00:00
mycroft 5d668ff961 ASSEMBLER -> _LOCORE 1996-02-02 19:08:33 +00:00
mycroft 0103e26fd8 Fix #includes. 1996-02-02 18:59:16 +00:00
mycroft 9d9a70a5a2 Fix #includes. 1996-02-02 18:05:36 +00:00
mycroft cec913603e Don't special-case conf.c. 1996-02-02 13:38:05 +00:00
mycroft 88e512b693 LOCORE -> _LOCORE 1996-02-01 22:28:24 +00:00
ragge 348b7f3d87 Remove PSL_ALLCC definition. Was commented out anyway. 1996-01-28 12:32:21 +00:00
ragge 1bc66055fb Add uvtopte() macro, to get user pte address easy. 1996-01-28 12:31:24 +00:00
ragge 7a489b8529 Change struct trapframe to also contain stackpointer. 1996-01-28 12:30:13 +00:00
ragge 84c675c572 Change void* to struct pcb* for page table pointers. 1996-01-28 12:27:19 +00:00
ragge 2c8ca06774 Be able to handle debugger traps from kernel. 1996-01-28 12:24:33 +00:00
ragge 27a6a01b3a Save USP when trapping from userspace.
Change register save structs according to this.
Be compatible with the way old init passes flags (in registers).
1996-01-28 12:22:49 +00:00
ragge d8e53d2958 Fix bug causing the kernel symbol table not to be loaded.
Save all registers on panic().
1996-01-28 12:18:06 +00:00
ragge 2b9d8d6e77 Take away unneccessary code from i386? port. 1996-01-28 12:14:48 +00:00
ragge 57d63d564f Fix bug causing ^[ to be sent when returning from DDB. 1996-01-28 12:11:57 +00:00
ragge 8cf6ff80bd Make use of the new disk struct when attaching disks.
Don't rely on UBA's; we do not always want them.
1996-01-28 12:09:34 +00:00
ragge f13a276ec8 Handle DDB traps different when we get a panic.
It's more interesting to know the CPU state when panic was called
than in the Debugger() function.
1996-01-28 12:05:55 +00:00
ragge 21ddc94849 bpf, vnd & tun added. 1996-01-28 11:46:54 +00:00
ragge a48ecd6750 A 'printf' describing CPU type was forgotten. 1996-01-28 11:45:07 +00:00
ragge 9a83d85375 DDB disassembly is fixed and now works good. Code written and
contributed to Ludd by Bertram Barth.
1996-01-28 11:31:25 +00:00
ragge 0c5975cdd3 Changed to work correctly with both K&R and ANSI cpp. 1996-01-06 18:37:35 +00:00
ragge 2defb2f857 Much improved in_cksum, VAX dependency written by Bertram Barth. 1996-01-06 16:50:55 +00:00
ragge 782e22bb8b Device driver for TS11/TSV05 tape devices.
Written by Bertram Barth, based on TMSCP device driver.
1996-01-06 16:43:46 +00:00
jtc 2fce159ff8 Changed name of sigaltstack's ss_base field to ss_sp to match XPG4.2 and
traditional usage.
1996-01-04 22:21:33 +00:00
ragge 1dab4709a3 Changes requested by Charles Hannum. 1995-12-31 15:05:19 +00:00
ragge d9c6db08da Don't declare _mcount as static, gcc will optimize it away then. 1995-12-31 12:15:58 +00:00
ragge d987547daf An '&' missing in splx macro; causing that sometimes didn't
the interrupt level get set.
1995-12-30 21:37:31 +00:00
ragge d714597971 Don't include de.h; it doesn't exist anymore. 1995-12-30 19:42:16 +00:00
thorpej 17eb6e2bc1 Move the old-style disk instrumentation "structures" to a central location
(sys/kern/subr_disk.c) and note that they should/will be deperecated.
1995-12-28 19:16:31 +00:00
ragge 7c65ab14a0 Create libkern as a .a instead of a .o file. 1995-12-28 15:27:21 +00:00
mycroft cd8fe86bcb Make the type of __builtin_va_list a long. 1995-12-26 01:16:24 +00:00
mycroft 0c00214737 Use __builtin_va_alist. 1995-12-26 00:19:09 +00:00
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