matt
71364ebea6
Workaround problem with le driver forgetting its address
1998-10-09 06:14:22 +00:00
matt
3d8c929799
Remove define for SUPPORT_BOOTPARAMS and put in the Makefile instead.
...
Fix DHCP code so it works.
1998-10-09 06:13:30 +00:00
matt
7d79b82d33
include <bsd.prog.mk> and make changes so that "make obj" works.
...
Make it easy to build an boot which uses BOOTP/DHCP instead
RARP/BOOTPARAMS.
1998-10-09 06:12:31 +00:00
matt
bbf29cff44
Add strncpy (needed for bootp/dhcp). Tighten up some of the assembly.
1998-10-09 06:09:48 +00:00
thorpej
d681cf055a
configure() prototype is in <sys/device.h>
1998-10-06 20:50:15 +00:00
thorpej
fedd39b57d
Provide configure(), rather than open-coding it in cpu_startup().
1998-10-06 20:46:01 +00:00
matt
75f5ffdf21
Change backplace0 to mainbus0 (for consistency with other ports).
...
Remove unused function protocols from ka410.h and ka43.h
Fix some ka46 missing references
1998-10-06 04:04:30 +00:00
matt
af8a94ec80
Code references should use movab, not moval. Fix gas-2.9.1 complaints
...
with intvec.s
1998-10-06 02:07:30 +00:00
thorpej
5006dbf868
cpu_set_kpc() prototype is already in <sys/systm.h>.
1998-10-05 22:11:15 +00:00
drochner
41c0179c3c
use old sigmask in sigcontext and old sigreturn syscall in Ultrix
...
emulation mode
1998-10-02 19:25:33 +00:00
christos
cfd3302aa1
Need more room for signal mask
1998-10-01 19:00:06 +00:00
ragge
6530a14556
Typo.
1998-09-30 18:40:04 +00:00
ragge
c0b9fc5616
Make kernel compile after recent signal changes.
1998-09-30 14:09:59 +00:00
thorpej
b9a131261c
Define the new sigcontext structure.
1998-09-17 04:54:51 +00:00
thorpej
70e641047c
In cpu_coredump(), use MID_MACHINE rather than MID_* (whatever it expands
...
to).
1998-09-09 11:17:24 +00:00
thorpej
8abe0d6b1c
Adjust for the new "reaper" kernel thread: do not free the vmspace and
...
u-area in machine-dependent code. Instead, call exit2() to schedule
the reaper to free them for us, once it is safe to do so (i.e. we are
no longer running on the dead proc's vmspace and stack).
1998-09-09 00:07:48 +00:00
lukem
c9db84ecc9
distclean is a synonym for cleandir
1998-09-05 15:15:14 +00:00
ragge
58831dae59
Bug fixes and improvements. By Roar Thronæs and myself.
1998-08-31 19:20:24 +00:00
ragge
25f04a8abb
Support for all 4 console lines on KA820. Support for this written
...
by Sergey Svishchev (svs@ropnet.ru ).
1998-08-31 18:43:28 +00:00
cgd
5fa7eee1ff
don't define __BUS_SPACE_COMPAT_OLDDEFS by default. As stated in
...
bus_space(9), if drivers want it (they shouldn't; easy to convert) they
can define it right before including bus.h. There's been a release since
the interfaces were (slightly) changed, and no code in the source tree
uses the old interfaces as far as I can tell.
1998-08-30 23:40:14 +00:00
ragge
218681f3e5
Kernel stach should be 4K, not 32K. Increase MCLSHIFT to 11.
...
Remove ovbcopy().
1998-08-25 17:35:23 +00:00
ragge
e727d1e031
Must #define __warn_references if not GNUC.
1998-08-22 12:12:38 +00:00
ragge
00475fbb1f
New times, new pagesize, use magic number in exec header.
1998-08-22 09:16:45 +00:00
ragge
6aba9c11ff
VAX logical page size increased to 4k.
1998-08-21 13:46:38 +00:00
ragge
b3574d3923
VAX logical page size increased to 4k.
1998-08-21 13:41:09 +00:00
matt
f1a6a0936f
The VAX46 (VS4000) needs the clock stuff the VAX43 does...
1998-08-20 23:52:42 +00:00
ragge
fb9171df3d
Fix write/read of memory.
1998-08-20 16:47:11 +00:00
matt
5232b66bd5
Initial steps to getting the VAX to use the MI driver framework.
1998-08-18 23:55:00 +00:00
mycroft
62b1bf3e2e
Assign my copyrights to TNF.
1998-08-15 10:51:16 +00:00
mycroft
6dc903202f
Assign my copyrights to TNF.
1998-08-15 10:10:47 +00:00
eeh
a2dd74ed79
Merge paddr_t changes into the main branch.
1998-08-13 02:10:37 +00:00
ragge
2c639fb882
Cache and microsecond clock resolution on KA46.
1998-08-11 17:52:57 +00:00
ragge
9f13823e62
Support for VS4000/60. Some needs-count -> needs-flag.
1998-08-10 14:48:53 +00:00
ragge
c355f4a0ed
Support for VS4000/60.
1998-08-10 14:47:16 +00:00
ragge
2ff84b0fe4
Kickoff xmit interrupts, needed on chip DC7201.
1998-08-10 14:41:16 +00:00
ragge
972b94efc4
Basic support for VS4000/60.
1998-08-10 14:31:07 +00:00
ragge
e9534620b0
Netboot support for KA46 (VS4000/60).
1998-08-08 16:10:41 +00:00
ragge
8fdb1c8ebe
Lots of kernlib functions rewritten as inline macros.
1998-08-08 11:18:32 +00:00
kleink
546365a27e
_POSIX_SOURCE -> _POSIX_C_SOURCE
1998-08-06 11:25:04 +00:00
kleink
e2a897639d
KNF (only include one of <sys/{param,types}.h>).
1998-08-05 16:50:39 +00:00
thorpej
3ff8e6493a
Don't cast the null residual pointer passed to vn_rdwr().
1998-07-28 18:34:52 +00:00
mycroft
da2e61d160
Delint.
1998-07-27 13:55:32 +00:00
ragge
a799083fba
Fix netboot support for 3100/m76 which uses diagmem for its lance buffers.
1998-07-26 09:01:23 +00:00
drochner
49bb9d8214
adapt to LANCE driver split
1998-07-21 17:36:01 +00:00
ragge
50d1442817
Fix PMAP_NEW and make it the default.
1998-07-18 20:35:14 +00:00
thorpej
d47ea67c1f
Define one page free list, and put all pages on it.
1998-07-08 04:43:18 +00:00
jonathan
011f2bda08
defopt NS, NSIP.
1998-07-05 06:49:00 +00:00
jonathan
5c0c5dd0b4
defopt ISO TPIP.
1998-07-05 04:37:35 +00:00
jonathan
fe484937cf
defopt LLC
1998-07-05 03:14:41 +00:00
jonathan
8db0fcdbf7
defopt CCITT.
1998-07-05 02:12:22 +00:00
jonathan
3751946b97
defopt INET, NETATALK.
1998-07-05 00:51:04 +00:00
jonathan
466e784ee1
defopt DDB.
1998-07-04 22:18:13 +00:00
jonathan
f31b504207
Change not-in-tree drier stubs to use needs-flag, not needs-count,
...
and use needs-count only where acutally used (qvss, qdss, ts-11)
1998-07-02 07:55:29 +00:00
ragge
1aab7e8c23
Added boot program support for the SGEC Ethernet controller, present on
...
some VAX 4000 maachines. Written by Jay Maynard. (jmaynard@phoenix.net )
1998-07-01 10:52:10 +00:00
ragge
7b2ca7e1ba
RPB number for SGEC Ethernet controller (ze).
1998-07-01 09:37:11 +00:00
ragge
518a9a5b6a
Enable use of reversed and underlined text. The DEC Isolatin character
...
set now also work correctly. Add blinking cursor.
1998-06-30 11:29:37 +00:00
drochner
26e2c08399
add a dummy "mapchar" function (1:1 mapping, hope the font is isolatin)
1998-06-26 21:28:57 +00:00
lukem
bd8d501f7e
remove options FIFO; it's now the default
1998-06-26 01:53:43 +00:00
thorpej
21592147a1
defopt COMPAT_ULTRIX
1998-06-25 23:27:56 +00:00
thorpej
971b8956ef
defopt KTRACE
1998-06-25 21:18:11 +00:00
ragge
77a5ddd69a
Fix more compile errors. Pointed out by David Brownlee.
1998-06-21 21:45:07 +00:00
drochner
4c45f96d05
adapt to wscons changes (character output call)
1998-06-20 21:56:40 +00:00
ragge
35e3b6dd86
Fix some compile-time warnings. Pointed out by David Brownlee.
1998-06-20 21:01:43 +00:00
ragge
a38dba55a5
Remove since long unused files.
1998-06-20 18:53:01 +00:00
ragge
abab40ee1c
Don't try to configure QDSS console on KA650 until it's fixed.
1998-06-20 18:49:27 +00:00
ragge
fecd3f54fc
Expand kmem map.
1998-06-20 18:47:33 +00:00
ragge
8458a9bd23
Support for glass tty on /m76.
1998-06-20 18:46:19 +00:00
ragge
05c6737a7e
Fix after current DDB changes.
1998-06-20 18:45:40 +00:00
ragge
3b6ba87592
These files have never been used; remove them.
1998-06-20 18:44:16 +00:00
ragge
ec35b60cdb
Fast fix to make VS keyboard work again after wscons changes.
...
XXX - This will be done in a better way in the future.
1998-06-20 18:42:50 +00:00
kleink
1fbd0b3749
GC the unused `physadr' type, which was not able to hold a complete physical
...
address on 2 architectures anyhow. Also, move the definition of the `label_t'
type inside _KERNEL protection, since it is specific to the in-kernel
setjmp()/longjmp() implementations.
1998-06-14 20:09:22 +00:00
ragge
a4d0eae36b
Add catch function for keyboard.
1998-06-14 11:52:35 +00:00
cgd
651b44e211
Rework the way kernel include files are installed. In the new method,
...
as with user-land programs, include files are installed by each directory
in the tree that has includes to install. (This allows more flexibility
as to what gets installed, makes 'partial installs' easier, and gives us
more options as to which machines' includes get installed at any given
time.) The old SYS_INCLUDES={symlinks,copies} behaviours are _both_
still supported, though at least one bug in the 'symlinks' case is
fixed by this change. Include files can't be build before installation,
so directories that have includes as targets (e.g. dev/pci) have to move
those targets into a different Makefile.
1998-06-12 23:22:30 +00:00
ragge
b25b5bddd1
#ifdef _KERNEL whole this file.
1998-06-09 14:03:24 +00:00
ragge
f6a6201ac7
Bugfix; now VS3100/m76 also works.
1998-06-09 14:02:01 +00:00
ragge
8260bcaff5
Wall fixes.
1998-06-08 18:42:40 +00:00
ragge
3c3c83f7ad
Bugfix: use of uninitialised variable that gcc didn't notice.
1998-06-08 15:04:26 +00:00
ragge
74b990a7b4
Identify 3100/m38 + /m48
1998-06-07 20:20:05 +00:00
ragge
d360348f52
DDB support on glass tty. Also smarter keyboard decoding.
1998-06-07 20:19:12 +00:00
ragge
2f1d0864fe
UVM default on vax for now.
1998-06-07 18:39:15 +00:00
ragge
60530637e4
Enable use of secondary cache, if present.
1998-06-07 18:34:09 +00:00
ragge
1a900c4abc
Init some variables to not get trash on the screen.
1998-06-07 18:32:04 +00:00
ragge
08079a8f21
Don't compile in any rasterconsole code.
1998-06-05 22:17:02 +00:00
ragge
88d55c928c
Add virtual console support.
1998-06-05 22:02:56 +00:00
ragge
57ce421691
Clean upp system detect code. Enable primary cache on VS3100.
1998-06-04 19:42:14 +00:00
ragge
78ebccfc2d
Rudimentary support for the VS3100 builtin graphics console.
1998-06-04 15:51:12 +00:00
thorpej
a7f360c6c9
Specify a non-profiling C rule.
1998-05-31 23:25:41 +00:00
kleink
a97fc2f180
If any of _ANSI_SOURCE, _POSIX_C_SOURCE or _XOPEN_SOURCE are defined, don't
...
provide any identifiers other than sig_atomic_t.
1998-05-25 20:59:01 +00:00
ragge
5fc912ddc9
Remove a forgotten debug printout.
1998-05-23 19:18:59 +00:00
ragge
b28c99b245
Fixed bug with lost characters in DDB output.
1998-05-23 12:49:30 +00:00
ragge
464d197e67
Remove unneccessary file. Remove stale dependency. Disable not-working
...
devices by default.
1998-05-22 09:59:55 +00:00
ragge
9251293f18
Remove unnecessary code for interrupt vector handling.
1998-05-22 09:49:07 +00:00
ragge
f4f1fcf563
Remove unnecessary code for interrupt vector handling.
1998-05-22 09:26:33 +00:00
ragge
d31979884b
Unused file for now - no more runtime decisions!
1998-05-21 14:33:14 +00:00
ragge
6568bc224e
Wall fix.
1998-05-21 13:16:14 +00:00
ragge
ce7c143e6c
Rewrite the autoconf code for VS3000's.
...
XXX - no support for any disks at all yet.
1998-05-21 13:10:59 +00:00
ragge
dda2be85ff
Small Wall fixes.
1998-05-21 13:06:24 +00:00
ragge
cd17c11c60
Support for DDB on DZ console.
1998-05-21 13:02:20 +00:00
thorpej
6626878e7b
It is no longer necessary for pmap_pinit() and pmap_release() to be
...
pmap interface functions, as NetBSD no longer uses statically allocated
pmaps (except for the kernel pmap, which is special-cased anyhow).
1998-05-19 19:00:11 +00:00
ragge
3ebb9bfd11
Not used anymore when now using the dz11 driver.
1998-05-17 19:02:03 +00:00
ragge
baec63333c
Mod~ify for new changes to lance/dz drivers.
1998-05-17 19:00:56 +00:00
ragge
4c217a5bcb
Change to use newly committed ln- and dz-drivers.
1998-05-17 18:58:07 +00:00
ragge
25d68ddcde
Add vax-hacked lance device driver for vaxstations.
...
XXX - This is temporary; will go away when the troubles with the
MI driver is fixed.
1998-05-17 18:55:30 +00:00
ragge
4a469a9149
Split the DZ11 driver into two parts; can now use the same driver on
...
both unibus/qbus devices and vaxstations.
1998-05-17 18:51:13 +00:00
kleink
687ea7404c
Fix some arithmetics lossage on typeless pointers.
1998-05-08 16:55:15 +00:00
kleink
aa36ad1f55
Fix some arithmetics lossage on typeless pointers.
1998-05-07 21:01:41 +00:00
ragge
c085b89d78
Wall cleaning + a little better fault checking.
1998-05-03 13:22:01 +00:00
ragge
9aea445d54
Remove the ancient kernel-stack area at top of P1 region. Make PMAP_NEW
...
almost work. Also Wall cleaning.
1998-05-03 13:02:22 +00:00
ragge
9d5413a315
Enable -Wall -Wmissing-prototypes -Wstrict-prototypes.
1998-05-03 12:59:56 +00:00
thorpej
1686aca01d
Pull in opt_gateway.h as appropriate.
1998-04-29 23:11:00 +00:00
kleink
a53c1863fe
Provide definitions for intptr_t and uintptr_t, signed resp. unsigned integral
...
types large enough to hold any pointer.
1998-04-27 17:39:10 +00:00
ragge
470ec523f2
Wall cleaning.
1998-04-13 12:15:56 +00:00
ragge
4bcd8130fe
t_wopen fixes.
1998-04-13 12:14:42 +00:00
ragge
eaeee62af2
Wall cleaning.
1998-04-13 12:10:26 +00:00
tv
b21bfbde11
Add -Wno-main conditional on compiler being gcc 2.8 or egcs. (This adds
...
a HAVE_GCC28 check-variable that can now be used to add other gcc-2.8
flags in cases where they may be useful, or to remove gcc 2.7.2 "bug
workaround" flags.)
1998-04-12 23:47:41 +00:00
jonathan
70f1f1a099
use dev/dec/lk201.h, fold back DELAY() changes from pmax lk201.c rev 1.7.
1998-03-22 09:37:47 +00:00
mycroft
0dae91d9af
Eliminate uses of TS_WOPEN in hard-wired devices.
1998-03-21 22:52:59 +00:00
ragge
cad3cb3894
ubasetup() must be non-static. (used by QDSS)
1998-03-21 10:24:29 +00:00
ragge
cf02ad2bc9
Add support for QDSS graphic console. Code originated from 4.4BSD,
...
ported to NetBSD by Boris Gjenero <bgjenero@undergrad.math.uwaterloo.ca>
1998-03-21 10:02:39 +00:00
ragge
52defbf438
Use rom routines on MicroVAX II, so that the QDSS/QVSS display will
...
be used if present. Fix provided by Boris Gjenero.
1998-03-20 16:36:20 +00:00
bouyer
9f50fca1fd
Add commented out "options FFS_EI"
1998-03-18 16:34:41 +00:00
ragge
52fbd35380
Add support for "root on qe".
1998-03-13 11:40:19 +00:00
ragge
51964fa1e8
Standalone routine for DEQNA, written by Roar Thronaes.
1998-03-11 22:13:55 +00:00
ragge
8e2874bf64
Support for UVM on VAXen.
1998-03-02 17:00:00 +00:00
ragge
ad1f451760
Move the boot program higher up in memory; to allow loading of bigger kernels.
1998-02-28 12:10:13 +00:00
ragge
1e3fb9012d
Type fix so that time get read correct on VS2000, from Ken Wellsch.
1998-02-22 14:19:39 +00:00
mycroft
533de19431
Remove random.s.
1998-02-22 08:51:04 +00:00
mycroft
dcfb8695ab
Move to libkern.
1998-02-22 08:50:17 +00:00
thorpej
772da350d4
Disable the message buffer during crash dumps by clearing msgbufenabled,
...
not msgbufmapped.
1998-02-19 04:18:30 +00:00
mycroft
5197bf8085
Minor changes.
1998-02-18 10:55:48 +00:00
mycroft
f0a5dd43ce
Multiple-inclusion crap, correct precision of DBL_*, etc.
1998-02-18 10:54:10 +00:00
cgd
3bbb7f7d45
Move pmap_map() function definition to MD headers, as appropriate. It's
...
an internal function, and the VM system shouldn't try to prototype it.
(Note that some ports _don't_ prototype it.)
1998-02-18 02:05:32 +00:00
thorpej
8354e68508
Remove "class" declarations, and add "devclass" declarations where
...
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.
1998-02-16 22:12:45 +00:00
ragge
c5b2acd27f
Split out MSCP floppies as a separate device (rx) instead of handling
...
them as disk drives. It is now also allowed to change floppies without
the system complaining :-)
1998-02-08 14:03:45 +00:00
ragge
a355d0bc1b
Re-implement page reference bit emulation by using the (otherwise unused)
...
valid bit. This is faster than the "unmap all" solution that were described
in that Mach paper _and_ it eliminates the need for checking the wired bit.
As a result of this; swapping started working again on vax :-)
1998-01-31 12:17:34 +00:00
ragge
fe52d237fd
Fix to make vfork work on machines with separated PCB/mtpr PTE registers.
1998-01-27 17:35:03 +00:00
mycroft
15ae963bea
When dumping, print out the device number as major,minor.
1998-01-24 16:46:23 +00:00
ragge
eda1eecede
Remove __BROKEN_INDIRECT_CONFIG and change all drivers to use
...
config_search instead.
1998-01-24 14:16:11 +00:00
ragge
01eb1bb746
Make kernel compile & run again after latest config changes.
1998-01-18 22:09:13 +00:00
ragge
afb1a37379
Fix page size initialisation.
1998-01-18 22:07:50 +00:00
ragge
37f6125fdd
Garbage-collect unnecessary functions. Don't have blkcpy/blkclr
...
as inline.
1998-01-18 22:06:01 +00:00
thorpej
f32f947061
Update for changes to config.
1998-01-12 20:52:29 +00:00
perry
6f57e5c573
multiple include protect machine/limits.h, fixes pr 4473 (from Mika Nystrom)
1998-01-09 22:23:44 +00:00
perry
b46484bb8a
RCSID Police.
1998-01-05 20:51:25 +00:00
perry
015e898c02
RCSID Police.
1998-01-05 07:02:46 +00:00
thorpej
b9f1b716f3
Now that all ports have pmap_activate(), and it has an identical interface,
...
prototype it in <vm/pmap.h>
1998-01-03 01:12:59 +00:00
thorpej
b73f9750f6
Don't allocate PTEs in cpu_fork(); they were allocated when the new
...
process's pmap was created. Instead, use pmap_activate() to load the
page {0,1} base and length registers into the PCB for the hardware's use.
1998-01-03 00:37:31 +00:00
thorpej
aa58d4ac6b
Adjust for the fact that the page {0,1} base and length registers are now
...
stored in the pmap structure.
1998-01-03 00:35:28 +00:00
thorpej
f267fe868d
- Adjust so that access to the PCB is not required in most pmap functions.
...
Store the page {0,1} base and length registers in the pmap structure,
and implement pmap_activate(), which stores them in the PCB (for the
hardware's use).
- Re-implement pmap_pinit(); allocate the PTEs here, not in cpu_fork().
1998-01-03 00:34:02 +00:00
thorpej
172a9381b6
- Remove the PCB pointer from the pmap structure. Instead, store the
...
page {0,1} base and length registers in the pmap structure. They will
be loaded in to the PCB when the process's address space is activated
by way of pmap_activate().
- Remove pmap_pinit() macro; it's now a real function.
- Prototypes for pmap_pinit(), pmap_activate(), pmap_deactivate().
1998-01-03 00:28:43 +00:00