thorpej
de5110f41e
Use <m68k/exec.h>.
1996-09-08 01:00:35 +00:00
mycroft
e6dd44f034
Use SIGBUS iff we get a legitimate bus fault. Use SIGSEGV for page protection
...
violations (per Solaris, SVR4, AIX, Linux, Irix, and SunOS).
1996-09-07 22:26:41 +00:00
mycroft
2bc736661a
Implement poll(2).
1996-09-07 12:40:22 +00:00
thorpej
e0775c12c8
Don't `config-dependent' machdep.c; we already depend on the Makefile,
...
which accomplishes the same thing.
1996-09-07 06:52:21 +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
thorpej
a90c2638f0
Add the United Kingdom and Swedish HIL keyboard maps to the kernels
...
used in the binary snapshots.
1996-08-25 01:22:13 +00:00
thorpej
9221f4ecc6
Add COMPAT_12 to all kernels, and COMPAT_11 to a few as well.
1996-08-22 21:02:49 +00:00
hpeyerl
f5f1393c35
Get rid of dkn stuff. It's deprecated.
1996-08-18 17:01: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
thorpej
180c16eff6
Oops, forgot this required change in previous commit.
1996-06-26 18:11:24 +00:00
thorpej
fc699e8440
Major revamp of the boot code.
...
- Good bye SYS_PBOOT and SYS_NBOOT, hello SYS_UBOOT (unified boot)
Currently supports booting from SCSI and HP-IB disk and network
from a single boot block. Infrastructure for booting from
HP-IB tape is there, but it doesn't quite work yet.
- Add a slightly modified version of Gordon Ross's "rawfs",
which provides a filesystem-like interface to tape devices.
Still needs debugging (see above).
- Rename sys_inst.c to inst.c, so that the LIF directory entry
turns out right (used to look like SYS_SYS_I if loaded from
tape).
- Add a "netio_ask" hint to netio.c, so that a special instnetio.o
doesn't have to be compiled for SYS_INST. Defaults to using
bootparams, but if set, will prompt user for information
usually obtained from bootparams.
- General cleanup.
1996-06-26 17:44:21 +00:00
thorpej
5253727570
From Ignatios Souvatzis <is@NetBSD.ORG>:
...
- handle fpfault properly on the 68040
- properly distinguish between a bus error and an MMU fault
on systems with 68030 or 68851 MMUs
1996-06-23 05:48:12 +00:00
cgd
352d972c94
locc() is unused. Remove it from the machine-independent kernel interface.
1996-06-10 15:33:33 +00:00
thorpej
156eaa5f84
Add "needs-count" to the `ac' driver so an ac.h file gets generated.
1996-06-10 06:48:44 +00:00
thorpej
a323ce7b09
Add the "Python 28849" to the list of `supported' tape drives as a PYTHON
...
type.
1996-06-10 06:39:31 +00:00
thorpej
bcab59cd3c
Remove the old-style disk instrumentation support. Nothing uses it
...
anymore.
1996-06-06 16:17:41 +00:00
thorpej
e9e80a6043
Add calls to tty_attach() and tty_detach() where appropriate.
1996-06-06 15:36:06 +00:00
hpeyerl
3e834c5e86
Update to reflect reality (such as it is).
1996-05-26 23:45:42 +00:00
mrg
1af2be6068
document PORTAL
1996-05-20 18:15:11 +00:00
thorpej
f969979dea
Back most (not all) of the previous delay-related changes now that
...
delay is calibrated properly.
1996-05-18 23:56:59 +00:00
thorpej
62f7f3ad57
Implement a real delay calibration routine, adapted from Chuck Cranor's
...
mvme68k delay calibration algorithm.
1996-05-18 23:30:09 +00:00
christos
52d3532adb
- remove cpu_exec_aout_prep_oldzmagic and use exec_aout_prep_oldzmagic
1996-05-18 15:58:07 +00:00
thorpej
a8c7148dd2
XXX set up alldevs and allevents so that vmstat -i will work.
1996-05-18 01:39:57 +00:00
thorpej
63f4ec3e41
Put the vector table back in the text segment; putting it in the data
...
segment breaks doboot() on my 319 (but worked on my 380...bleh!)
1996-05-18 00:52:53 +00:00
thorpej
03fc26050d
Put the vector table _after_ the temp stack.
1996-05-17 16:32:28 +00:00
thorpej
503413590e
Changes for the new delay() function.
1996-05-17 15:38:08 +00:00
thorpej
91cb72e7ea
remove the now unused MHz constants, add a declaration for vectab[],
...
and document some globals.
1996-05-17 15:37:07 +00:00
thorpej
a5d6cd3a32
Move the vector table to the data segment.
1996-05-17 15:33:52 +00:00
thorpej
d845719070
Add a new function, hp300_calibrate_delay(), which sets the delay constant
...
based on a model's known CPU speed. cpuspeed value is now in MHz
instead of (MHz / 8).
1996-05-17 15:32:26 +00:00
thorpej
33e1caaf99
Couple of changes:
...
- New delay() function, modeled after sun3/mvme68k delay,
calibrated with a model's known cpu speed.
- Use the defined constants for machineid and ectype
when determining what kind of machine we have, rather
than their expanded equivalents, for clarity.
- Move the vector table to the data segment so that it
can be patched at run-time.
1996-05-17 15:27:26 +00:00
thorpej
bbc04e2011
Define the machineid and ectype constants.
1996-05-17 15:20:55 +00:00
thorpej
b20981c51d
Remove cpuspeed from here.
1996-05-17 15:19:02 +00:00
thorpej
3ad552e74b
Adjust for new DELAY() ... s/DELAY(1)/DELAY(5)/ and lengthen some
...
timeouts.
1996-05-17 15:15:29 +00:00
thorpej
c3fc839395
Change "DELAY(1)" to "DELAY(5)". This is basically equivalent to how
...
the old implementation of DELAY() behaved with small values.
1996-05-17 15:12:30 +00:00
thorpej
f708ced3a3
Adjust for the new values of cpuspeed.
1996-05-17 15:09:39 +00:00
thorpej
be71c11843
Add 2 missing ";"s ... they weren't noticed before because of the
...
old implementation of DELAY().
1996-05-17 15:08:13 +00:00
thorpej
7d279a797f
Add a "_kernel_text" symbol, for libkvm. From Gordon Ross.
1996-05-16 23:53:10 +00:00
thorpej
31526bc8e8
These haven't been kept up to date...
1996-05-15 23:50:30 +00:00
mycroft
540f9550c0
Make `make depend' work for libraries.
1996-05-11 16:11:30 +00:00
scottr
6bd0d2c7eb
Prototyping-related changes I missed the last time, from Thorsten
...
Frueauf. Closes PR 2378.
1996-05-09 21:26:08 +00:00
scottr
a7b314774d
doboot() takes no arguments (from Thorsten Frueauf)
1996-05-09 21:17:04 +00:00
thorpej
2de85463e2
Correct typos, PR #2382 .
1996-05-09 21:11:47 +00:00
thorpej
7ebfa3c7fc
Make the MI LANCE driver standalone, and use cfattach to resolve
...
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.
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 00:57:58 +00:00
thorpej
090191b3aa
Make the MI LANCE driver standalone, and use cfattach to resolve
...
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.
1996-05-07 00:56:51 +00:00
scottr
d84817d322
Fix prototypes of cpu_set_kpc() and pagemove(); closes PR 2367.
1996-05-02 20:49:20 +00:00