ragge
3774ec6c5c
Update due to prototype changes.
1997-01-11 11:23:09 +00:00
ragge
2b34ded4f8
Many minor bug fixes; mscp subsystem seems to work rather stable now.
1997-01-11 11:20:31 +00:00
ragge
59d5be04e9
Add EXEC_AOUT and EXEC_SCRIPT. std.vax not needed anymore; removed.
1997-01-11 11:15:38 +00:00
ragge
7bf599379e
Prototype change of scanc needs change here also.
1997-01-11 11:07:52 +00:00
ragge
f98e31628a
#define MAXBSIZE to some nice value.
1997-01-11 11:06:17 +00:00
mikel
aed485cdf2
add 'pseudo-device ccd' where necessary; PR kern/1830.
1997-01-11 09:11:37 +00:00
mrg
c71a371532
use pseudo-device ipfilter, not ipl.
1997-01-07 11:35:01 +00:00
ragge
3896082c5a
Add rd, sd, cd, md, st, ss, uk, ch and ipl device entries.
1997-01-05 18:49:12 +00:00
cgd
96acdadef7
First step inn removing config_scan() and the hacks that gave devices
...
on indirect-config busses a (permanent) softc that they could share
between 'match' and 'attach' routines:
Define __BROKEN_INDIRECT_CONFIG so that old autoconfiguration
interfaces are used, until drivers are converted to use the new
interfaces (actually, converted back to use the _older_ interfaces)
which prohibit indirect configuration devices from receiving a softc
in their match routine that they can share with their attach routine.
1996-12-05 00:13:47 +00:00
jonathan
4c1d96de78
* Replace explicit -O2 in CFLAGS with COPTS macro. Default COPTS?= -O2.
...
Lets users over-ride with makeoptions COPTS="..." in kernel config files.
Leave `mandatory' flags (like -msoft-float which on m68k enforces no
FP in kernel) in CFLAGS.
1996-12-01 06:12:25 +00:00
jtc
9da5f60715
PROF -> GPROF
1996-11-30 02:48:57 +00:00
jtc
16b48272c4
Define _BSD_CLOCKID_T_ and _BSD_TIMER_T_
1996-11-15 22:38:45 +00:00
thorpej
23ff20cd74
Use bitmask_snprintf().
1996-11-15 03:32:46 +00:00
thorpej
f6290552bf
Use bitmask_snprintf().
1996-11-15 03:11:19 +00:00
cgd
8a3333b2a9
Fix an inconsistency that came in with Lite: setrq() was renamed to
...
setrunqueue(), but remrq() was never renamed. Rename remrq() to
remrunqueue().
1996-11-06 20:19:19 +00:00
thorpej
150c33e60b
Use ${INSTALL}.
1996-10-18 05:55:26 +00:00
christos
e37692f04d
backout previous kprintf change
1996-10-13 03:29:05 +00:00
christos
16b74d2c00
use in_addr_t and in_port_t
1996-10-13 03:28:00 +00:00
christos
eb314d8358
printf -> kprintf, sprintf -> ksprintf
1996-10-11 01:50:21 +00:00
cgd
472889f8e4
moved to aout_machdep.h (via repository copy)
1996-10-08 12:57:37 +00:00
mycroft
b3ffba62a6
Move strip(1) flags into a separate variable, so that $STRIP can
...
be passed to subordinate make(1)s. Remove $TOUCH. Add HOSTED_CC,
HOSTED_CPPFLAGS, and HOSTED_CFLAGS, and use them when depending genassym.
1996-09-09 21:06:55 +00:00
mycroft
2bc736661a
Implement poll(2).
1996-09-07 12:40:22 +00:00
mycroft
fc3def4096
Remove duplicate declarations of LKM functions and macros.
1996-09-05 15:46:22 +00:00
mycroft
b3eac79b64
tty stop functions really should return void, not int, and certainly not both.
1996-09-02 06:43:16 +00:00
mycroft
30a617c634
Wrap the default definition of `S' in `.ifndef'.
1996-08-31 21:40:47 +00:00
cgd
71ad30d0e9
(1) set scsi_link channel to either the appropriate channel (if a
...
multi-channel driver), or to SCSI_CHANNEL_ONLY_ONE if a
single-channel driver.
(2) use scsiprint() rather than a locally-defined autoconfig print
function, and kill any locally-defined print function.
1996-08-28 18:59:15 +00:00
cgd
2a73ef60b7
change cfprint_t type definition to take a const char *, rather than
...
a char *, because that's what was really intended, and because
if the print function modifies the string, various things could become
unhappy (so the string should _not_ be modified).
1996-08-27 21:53:46 +00:00
ragge
1c367d4761
Modify bus code arguments. Cleanup.
1996-08-20 14:19:41 +00:00
ragge
2e489636e4
Use common routine to map in pages before DMA'ing.
1996-08-20 14:15:04 +00:00
ragge
c5db4b8756
Support for cmi bus on 11/750.
1996-08-20 14:13:50 +00:00
ragge
34d020edd2
Change uba* functions to take pointers, rather than uba unit numbers.
1996-08-20 14:07:33 +00:00
ragge
1be0c00cf0
Add another parent bus for 11/750 (cmi). remove mtc.c.
1996-08-20 14:05:16 +00:00
ragge
9f1148c9c4
Use the same device driver for both uda and mtc. Actually, the only
...
difference is vcid. The unit names must differ, so that it is possible
to distinguish them at autoconf time.
1996-08-20 13:49:15 +00:00
ragge
3a504ef134
Modified to get cleaner match/attach code for different parent buses.
...
Fix so that resource wait queueing works.
Changed all functions to take a pointer to uba_softc instead of unit
number, except for ubareset(). This must be done later.
1996-08-20 13:37:57 +00:00
jonathan
4a1279de25
Import framebuffer drivers from 4.4-Lite2 as the root for NetBSD drivers.
...
Only change from Lite (or lite2, qv.c and qd.c do not change) is adding
NetBSD RCS ids.
1996-08-18 21:28:53 +00:00
mycroft
558d72128e
Put into . Remove hooks for `config-dependent' and
...
`device-driver' flags.
1996-08-12 00:51:24 +00:00
mycroft
cf67f29afe
* Add a HOSTED_C_C variable, which strips `-p', `-pg', and
...
`-nostdinc', and use it when building genassym.
* Use `-nostdinc' just to be sure we're self-contained.
1996-08-10 06:07:57 +00:00
mycroft
f94052ed3a
* Define CWARNFLAGS and MKDEP in some moderately consistent fashion.
...
* Make S expand to an absolute path at compile time.
* Use `-S' rather than `-x' to remove debugging symbols.
* Garbage collect unused variables.
* Reverse a handful of port-specific changes that do not correspond to
the common build model and are not needed.
1996-08-10 05:29:24 +00:00
mrg
5abbf990f3
Change reboot(2) to take two arguments: bootopt like normal and also
...
a boot string for firmware that can do this, such as the SPARC and
the sun3 models. It is currently silently ignored on all other
hardware now, however. The MD function "boot()" has been changed to
also take a char *.
1996-08-09 10:30:23 +00:00
ragge
fdcabd43da
Do not use any emulated insn's in boot program. (in this case cmpc3).
...
Add strncmp to get around this.
1996-08-02 16:18:39 +00:00
ragge
5e04d04d68
Add support for booting Vaxstations; from MFM and SCSI. (PROM-based boot).
1996-08-02 11:21:41 +00:00
ragge
cbca944854
LANCE driver for vaxstations.
1996-07-20 19:01:55 +00:00
ragge
88a147e51b
CPU determine code. ts driver converted to new config. May work, untested.
1996-07-20 19:00:22 +00:00
ragge
15409eef53
Update config files for VAX8200 and VAXstations.
1996-07-20 18:56:58 +00:00
ragge
38b1264285
SCSI and ST506 support for the VAXstation architecture.
1996-07-20 18:55:09 +00:00
ragge
a8f6512e6d
VAXstation CPU and serial console support.
1996-07-20 18:29:49 +00:00
ragge
7707223bc4
Locore changes for VS and VAX8200.
1996-07-20 18:20:42 +00:00
ragge
1abb214901
Bugfix causing erroneous address displaying.
1996-07-20 18:17:29 +00:00
ragge
fd3f596fa3
Reflect the changes of CPU determination. Add support for VAXstations.
1996-07-20 18:14:41 +00:00
ragge
aab842833e
Put in rd (ST506 disk), sd and st.
1996-07-20 18:08:19 +00:00
ragge
a6c464a5f7
Add vmapbuf/vunmapbuf for VAXstations that need them.
1996-07-20 18:02:47 +00:00
ragge
caff7b03d4
Numerous changes to be able to put Bertram Barth's VAXstation support in.
...
(Some) Support for VAXstation 2000/MicroVAX 2000, VAXstation 3100/76.
1996-07-20 17:58:12 +00:00
ragge
7ac59ffe68
Reworked time handling; now also handles clock chip CPUs correctly.
1996-07-20 17:35:41 +00:00
ragge
5b0992267c
Support for VAX8200; the ka820/ka825 CPUs.
1996-07-20 17:33:06 +00:00
ragge
c828b7ce6d
Support for the VAXBI bus, and KDB50 device driver (MSCP disk).
...
Parts of this written by Chris Torek at the beginning of time.
1996-07-19 14:26:52 +00:00
ragge
ce30ddd46b
Obsoleted by now.
1996-07-15 11:50:40 +00:00
ragge
640bda0d46
Put in boot support for VAX 8200.
1996-07-15 11:11:01 +00:00
ragge
a5b04afcd8
Automatic changing of root device after boot now works.
1996-07-11 19:33:50 +00:00
ragge
e9d6f189c1
Add MSCP tape to this file.
1996-07-10 23:51:53 +00:00
ragge
02d0803c80
Add spl4 - spl7 macros, easy to use when playing with buses.
1996-07-10 23:51:08 +00:00
ragge
4d687fb39d
Slow down DELAY for 11/785.
1996-07-10 23:48:42 +00:00
ragge
9c24877b23
Remove tmscp protocol definition file; which was actually the same
...
as the mscp protocol.
1996-07-10 23:44:17 +00:00
ragge
5d6b8719b2
Remove old (tape-only) tmscp driver. Add new uba/qba driver
...
for common MSCP routines.
1996-07-10 23:42:05 +00:00
ragge
cb355cf8d5
Add support for tape drives. More extensive error checking.
1996-07-10 23:35:58 +00:00
ragge
1e3ab3cb1e
uda -> ra and tms -> mt (mscp changes).
1996-07-01 21:50:29 +00:00
ragge
d969a7e16e
Changed data structures due to removal of old config system.
1996-07-01 21:31:36 +00:00
ragge
f6fb3bf1ab
Change to new config and to support new MSCP system.
1996-07-01 21:24:48 +00:00
ragge
f85a693859
Update to match new MSCP device handling.
...
Remove support for old config system.
1996-07-01 21:07:25 +00:00
ragge
dfdb4e6863
Remove old config support code.
1996-07-01 20:48:58 +00:00
ragge
f19e0bacab
Rewritten and moved to vax/mscp.
1996-07-01 20:47:27 +00:00
ragge
60af617a5d
Totally new approach for MSCP devices; they are now handled more like SCSI.
...
All Unibus dependencies are removed.
Can support different controllers on different buses.
Allows cloning of devices.
TODO:
Write support for MSCP tapes.
1996-07-01 20:41:30 +00:00
ragge
97756165b8
Remove code that took care of old config devices. Don't support
...
old config anymore, all devices should use new config by now.
Add structures to handle DMA devices using new config.
Fixed bug that caused unwanted ubareset's on 11/780.
1996-07-01 20:17:56 +00:00
cgd
352d972c94
locc() is unused. Remove it from the machine-independent kernel interface.
1996-06-10 15:33:33 +00:00
ragge
7cbd855ad6
Fixed all (proto)type errors. Fixes PR 2377.
1996-05-19 16:43:02 +00:00
ragge
f4c525a623
Update from Ken Wellsch.
1996-05-19 16:27:02 +00:00
ragge
6bd144b812
Add DZ-11 to GENERIC & files.vax.
1996-05-19 16:25:23 +00:00
mycroft
540f9550c0
Make `make depend' work for libraries.
1996-05-11 16:11:30 +00:00
thorpej
69351e2be6
Changed struct ifnet to have a pointer to the softc of the underlying
...
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_start)()
to take a struct ifnet *, rather than a unit number.
1996-05-07 01:35:48 +00:00
ragge
a24af7a7c2
Added prototypes to everything. Made all files compile with -Wall.
1996-04-08 18:32:26 +00:00
ragge
86c328d230
Drivers for DZ11/DZV11/DZQ11 serial cards.
...
Written (mostly) by Ken Wellsch.
1996-04-08 17:22:20 +00:00
cgd
83f9bdc359
update for the fact that config_found() and config_rootfound() now
...
return pointers. (Check vs. NULL, rather than just boolean tests.)
1996-04-04 06:25:00 +00:00
ragge
da9fca44a5
CVS trouble.
1996-04-02 13:52:28 +00:00
ragge
8fa15eb73f
Ubareset are now possible, devices that wants it now set it up
...
during autoconfig. ifubareset (if_reset) no longer used, actually
it's just a normal ubareset and is now handled like that.
1996-03-18 16:47:24 +00:00
ragge
6275c70064
Convert all devices according to the changes to config.
1996-03-17 22:56:15 +00:00
ragge
dfaa8f2e96
Update from Ken Wellsch: The DHU driver can now handle DMA transfers.
1996-03-17 22:51:48 +00:00
ragge
3b5cb56887
Do not have debugging enabled by default.
1996-03-17 22:49:55 +00:00
ragge
b7cf2432a0
Fix type clashes.
1996-03-17 22:44:48 +00:00
ragge
f9ee92c45a
Support installation of /usr/mdec files.
1996-03-16 11:03:11 +00:00
ragge
33aad32f37
Accept adapter numbering in boot.
1996-03-16 11:02:28 +00:00
jtc
2ce5f1478b
Add _BSD_WINT_T_ definition so we can handle wint_t type added in NA1.
1996-03-16 01:31:45 +00:00
christos
25b31cbc91
fdopen -> filedescopen
1996-03-14 21:31:56 +00:00
ragge
f01a5dd8cc
We lost declaration of kernel_pmap_store somewhere, put it back.
1996-03-09 23:39:51 +00:00
ragge
3a07f941ba
Check on which SBI we are frobbing, not always 0.
1996-03-09 23:38:34 +00:00
ragge
24b2b310ae
Add support for ktracing syscalls.
1996-03-09 23:37:20 +00:00
ragge
4ee5419b8a
Panic on SBI fault.
1996-03-09 23:36:40 +00:00
ragge
c7282ed159
Change NTU to NHT.
1996-03-09 23:36:09 +00:00
ragge
ba7706dd3c
Files to generate usable console RL02 packs on 8600.
1996-03-08 12:41:33 +00:00
ragge
3ac9ff6af4
Support for the RL02 disk at the PDP11 frontend console added.
1996-03-08 12:32:47 +00:00
ragge
6e51b1e47e
Support for VAX 8600/8650 added. Works with lots of Unibus adapters,
...
and will probably work with Massbus adapters as well. (Not tested,
but it's the same code as for 11/780). Ubareset's may cause crashes
on 8600 also like 11/780, but they are more uncommon. No support
for console RL02 yet, but it's likely to come.
1996-03-07 23:22:34 +00:00
ragge
3f09ddf89f
Fix of MicroVAX clock chip code, so that time sets right after reboot.
...
Fix done by Ken Wellsch.
1996-03-07 23:03:03 +00:00
cgd
18ec26aa21
add _MACHINE and _MACHINE_ARCH, which are like MACHINE and MACHINE_ARCH,
...
execpt without quotes. meant to be __CONCAT()ted for easy #includes
of machine-dependent headers for MI code (e.g. for the MI ISA/EISA/PCI/TC
bus code).
1996-03-04 05:04:10 +00:00
ragge
c2ce0848e2
Added ns_cksum.c.
1996-03-03 11:56:33 +00:00
ragge
c76bb64058
Machine-optimized version of ns_cksum.c.
1996-03-03 11:54:37 +00:00
ragge
c22fc0bce4
Enable label_t.
1996-03-03 11:21:31 +00:00
ragge
e82da18ec2
Fix include file ordering.
1996-03-03 11:18:59 +00:00
ragge
f2bcddae7f
Fix fuswintr/suswintr arguments to match prototype.
1996-03-03 11:17:59 +00:00
ragge
7ade5ebd76
Files needed to create boot floppies for 11/780, most of them
...
taken directly from 4.4BSD.
1996-03-02 17:57:34 +00:00
ragge
ffc8953cd7
Change config delay's to more reasonable values.
1996-03-02 14:29:23 +00:00
ragge
5d89814116
Changes due to 11/780 support. Raise splimp() to BR7.
1996-03-02 14:27:52 +00:00
ragge
cef093b42e
Add VAX780 support to the boot program.
1996-03-02 14:22:57 +00:00
ragge
8fbcb8ce5a
Add VAX780 and DHU11 to the GENERIC file. Put the corresponding
...
file lines in files.vax.
1996-03-02 14:19:47 +00:00
ragge
10fe8f1971
All devices can now be in GENERIC.
1996-03-02 14:14:05 +00:00
ragge
827892239a
Add support for DW780. Note that ubareset's don't work properly.
...
This is not a problem on other Unibus adapters, but DW780's do
ubareset's more often. This needs to be fixed by someone someday.
1996-03-02 14:09:57 +00:00
ragge
89e32834cd
Fix some too long delays. Set some structs volatile that otherwise
...
caused hangs during autoconfig.
1996-03-02 14:06:03 +00:00
ragge
508f81daca
Support for VAX 11/780 - 11/785 system types added.
...
There are no support (yet) for the RX01 console floppy,
even if it is actually needed to create boot floppies.
(The arff utility is also missing, so...)
1996-03-02 13:45:34 +00:00
ragge
a14bb8a710
Add a #ifdef TUDEBUG around a printf statement.
1996-03-02 13:41:24 +00:00
ragge
c45af1134a
Unibus/Q22 bus device driver for DHU-11 serial card.
...
Written by Ken Wellsch. (kcwellsc@math.uwaterloo.ca )
1996-03-02 13:30:53 +00:00
cgd
1c5d7babe5
Clean up tabbing/spacing in defns of MACHINE, MACHINE_ARCH, and MID_MACHINE.
1996-03-01 23:30:08 +00:00
cgd
3d67685d36
Do not build vnode_if.[ch] for each kernel. Build them once, like the
...
various syscall sources/headers, and just compile them. From PR 2142, OK'd
by mycroft.
1996-02-29 20:54:58 +00:00
mycroft
2ce52ae489
Define build programs with `?=', so they can be overridden with `makeoptions'.
1996-02-26 02:53:20 +00:00
ragge
1376f92db9
Add routine to convert phys device number to kernel unit number.
...
Allow to set disklabel area writable.
1996-02-24 21:22:54 +00:00
ragge
f2aaea55c2
Make setroot() grok where we boot from even if it is hp disks.
1996-02-24 21:20:01 +00:00
ragge
df5a5e9485
Remove __FORK_BRAINDAMAGE, and the reason to why it was there.
1996-02-24 15:17:35 +00:00
ragge
2294cbd022
Fixed bug causing DMA to user stack from Massbus disks to give segfaults.
1996-02-23 17:54:33 +00:00
ragge
2aa22f8fbf
Allow rewriting of disk label after newfs.
1996-02-23 17:29:01 +00:00
ragge
aeaef139aa
Console TU58 device driver for 11/750 added.
...
It cannot write tapes yes, but reading works OK.
1996-02-17 18:48:53 +00:00
ragge
90b84d2da5
Add standalone driver for TU58 (DECtape II). Now initial installation
...
from TU58 on 11/750 is possible.
Change types on pte pointers, due to the change of pte's from
int to struct pte.
1996-02-17 18:23:18 +00:00
ragge
5025b0f9c9
Definition file for RSP (Radial Serial Protocol) used by DECtape II.
1996-02-17 18:14:50 +00:00
ragge
2395bee98d
Much faster copyin/copyout subroutines, written by Ken Wellsch.
...
Improved user-space network I/O (like ftp) with about 1.7 times!
1996-02-13 17:45:32 +00:00
mycroft
27a9f5bd9c
Fix #include syntax.
1996-02-13 06:56:58 +00:00
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
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
ragge
1e9d064a15
Def's for uVAXII added.
1995-02-23 17:51:41 +00:00
ragge
3841fa4dab
Support for new CPU type (KA630 == uVAXII) added, tape driver.
1995-02-23 17:50:56 +00:00
ragge
28e57c3d60
Zillions of bugfixes. Obsolete files taken away. New style config
...
fixed. Inline assembler commonly used.
1995-02-13 00:46:21 +00:00
mycroft
c4bc9b0b49
Clean up deleted files.
1995-02-13 00:46:20 +00:00
ragge
810d06dfa5
Zillions of bugfixes. Obsolete files taken away. New style config
...
fixed. Inline assembler commonly used.
1995-02-13 00:46:02 +00:00
ragge
431121d46f
Fixes for new config.
1995-02-13 00:44:21 +00:00
ragge
65c1cb9958
Beginning ov Massbuss support.
1995-02-13 00:43:59 +00:00
ragge
4fb1817e07
Lots of fixes...
1995-02-13 00:43:20 +00:00
ragge
32b23b0c6e
Bug fixes to get network function OK.
1995-02-13 00:42:29 +00:00
ragge
d6c874b4c0
Program to make a fast convert from new to old config (Ugly!)
1995-02-13 00:41:55 +00:00
ragge
3b634122a3
Boot program added.
1995-02-13 00:41:04 +00:00
ragge
d6f445aa69
*** empty log message ***
1995-02-13 00:40:36 +00:00
jtc
830a53e394
ANSI says that <stdarg.h>'s va_end macro must expand to a void expression.
...
For consistancy, I'm changing <varargs.h> too.
1995-01-28 01:51:46 +00:00
cgd
b56a5f27d4
add 'maxpartitions' keyword as first 'intesting' thing in the file, to
...
facilitate the solution of config.new's hardcoded partition number
problems.
1995-01-25 20:45:33 +00:00
jtc
9540190d45
This file, which will be included by <sys/cdefs.h>, will contain macros
...
such as __warn_references() and __weak_reference() which are actually
machine dependant. This will make it easier for ports that are being
bootstraped with ELF and ECOFF based toolchains.
This change also introduces a new macro, _C_LABEL(x). _C_LABEL expands
its argument, an identifier, to a character string of the identifier
name as it is represented in an object file.
For most ports, _C_LABEL(x) will expand to "_x", for ELF based ports
_C_LABEL(x) will expand to "x".
1995-01-19 01:38:36 +00:00
jtc
d7a8b2964f
Only define sig_atomic_t when _ANSI_SOURCE is defined.
1995-01-10 19:01:00 +00:00
cgd
e5049f4d59
make the definition of _JBLEN mach. dep. header-dependent.
1994-12-20 10:36:27 +00:00
ragge
265019bb40
Lots of fixes and updates.
1994-11-25 19:09:49 +00:00
ragge
299c14af0c
New handling of pte:s for physio.
1994-11-25 19:09:31 +00:00
ragge
ca49094181
Lots of updates & fixes.
1994-11-25 19:08:50 +00:00
ragge
eaed555111
Locore.c added.
1994-11-25 19:08:26 +00:00
ragge
be8ac345d1
*** empty log message ***
1994-11-25 19:08:04 +00:00