30786 Commits

Author SHA1 Message Date
drochner
80a5032beb Make new memory detection default.
Introduce a new option, "CONSERVATIVE_MEMDETECT", which disables the
new BIOS calls.
1997-08-14 17:00:18 +00:00
drochner
8aa62d76fc Regen with new RCS ID. (thanks, Bernd) 1997-08-14 16:31:13 +00:00
drochner
e3045dd1ce Add prototype definitions for serial console and KGDB. 1997-08-14 16:23:41 +00:00
drochner
473b4f1222 Initialize system console from a central place (don't use cninit()
anymore). This makes the code cleaner (no more bus tag guessing in the
serial console driver) and it allows to share code with KGDB port
initialization.
The console device is now given as string ("pc", "com0".."com3").
Modelled after alpha port.
1997-08-14 16:21:49 +00:00
drochner
b426bd9be3 -Export variables needed for system console initialization.
-Enable line break interrupt for DDB on a serial console.
-Share initialization code between DDB and KGDB.
1997-08-14 16:15:15 +00:00
drochner
3bbb2f7b18 Export variables needed for system console initialization.
Do this in a separate file because pcvt_hdr.h contains too many definitions
which can cause namespace trouble. (eg, a structure element "m_len")
1997-08-14 16:07:12 +00:00
gwr
7739ce58e3 Add _kvm_mdopen() 1997-08-14 16:05:21 +00:00
drochner
5a32b608a0 -Export variables needed for system console initialization.
-Because *cnputc()'s second argument is an "int" in cons.h, correct
  pccnputc() accordingly.
1997-08-14 16:02:14 +00:00
gwr
c094e45b13 Add _kvm_mdopen() 1997-08-14 15:59:45 +00:00
gwr
f7e570b6de Call _kvm_mdopen(kd) to do machine-dependent initialization. 1997-08-14 15:57:42 +00:00
gwr
22a1d6ba8b Declare _kvm_mdopen() 1997-08-14 15:56:48 +00:00
drochner
8ed7d60a6f Avoid inclusion of user-level stuff for standalone code. 1997-08-14 15:53:43 +00:00
drochner
40db8a98f5 1. Allow to set a netmask (option NFS_BOOT_NETMASK) for the booting
interface. Without this, NFS_BOOT_NETMASK could be useless in
   subnetting envirinment.
2. Comment out unneeded NFS swap related stuff.
   Closes PR kern/3918.
1997-08-14 15:50:05 +00:00
drochner
e588696c8e Include some more stuff. 1997-08-14 15:41:49 +00:00
drochner
c4af2e3042 Build the new memory detection stuff. 1997-08-14 15:40:28 +00:00
drochner
26f8c5bd65 Prepare definition for EXTENDED_MEMDETECT.
Not yet default.
1997-08-14 15:38:30 +00:00
drochner
a6d6ef3a20 Use traditional memory detect function (int15/88) as indication for
a XMS driver.
From Martin Husemann.
1997-08-14 15:28:47 +00:00
drochner
2092d92ef2 New, optional, method to get size of extended memory.
It will be used for getextmem() if EXTENDED_MEMDETECT is defined.
Worked on all tested machines.
Thanks to all testers, especially Martin Husemann!
1997-08-14 15:22:00 +00:00
fair
80b4ae52e8 fix PR#3278, add some other dates taken from historical sources available on the web 1997-08-14 11:28:07 +00:00
mycroft
e76ba36231 Make sure we install the route returned by the upcall before trying to
forward any queued packets.  From Bill Fenner, via Brad Karp.
1997-08-14 06:42:33 +00:00
scottr
f9904b191f Recognize the Sigma Designs ColorMax card, and handle the interrupt. Code
provided by Brian Foley <bfoley@gpo.iol.ie> via Allen Briggs, updated for
bus.h by me.
1997-08-14 06:16:46 +00:00
lukem
0bba8ce38d * don't depend upon buffer returned by fgetln() to remain. fix mainly
from Tatoku Ogaito <tacha@tera.fukui-med.ac.jp> in [bin/3967]
* fgetln() doesn't \0 terminate its string. look for the \n and replace
  it with \0 (if no \n, ignore the line - it's most likely corrupt)
* more intensive checks on strdup() returns (not a current mem leak,
  but depended upon code elsewhere to cleanup - not good)
* cleanup some syslog error messages
1997-08-14 02:06:15 +00:00
jonathan
b327731e26 Add MHLEN + MLEN extra space to LOMTU for IP and transport headers. 1997-08-14 01:12:35 +00:00
cgd
a06b0fec3a clean up the copy_region text slightly 1997-08-14 00:57:40 +00:00
jonathan
bf61f3291a Add checks for DS 3100, 2100. Use more generous delay values, these
systems may be memory-bound.
1997-08-14 00:15:37 +00:00
jtk
0076beb284 fix multi-port serial drivers to reflect recent changes to com driver for console/kgdb 1997-08-13 21:26:52 +00:00
cgd
9d532f482c don't forget to set hwrpbsize to zero explicitly 1997-08-13 20:49:56 +00:00
kleink
d655ff9c15 Sync with libkvm changes: add members usrstack, min_uva and max_uva to
struct __kvm.
1997-08-13 20:10:30 +00:00
cgd
e523849a5b enable bus_space(9) xref 1997-08-13 17:39:19 +00:00
christos
84368d11ca Rename busdma -> bus_dma 1997-08-13 15:24:58 +00:00
christos
ae37531550 Rename to bus_dma.9 1997-08-13 15:08:23 +00:00
bouyer
2d20417591 Add MOUNT_EXT2FS to the list of filesystem which need to be deleted from
the export list in the kernel when re-reading /etc/exports.
1997-08-13 12:36:04 +00:00
fair
e42359c2f6 remove self-reference 1997-08-13 08:48:02 +00:00
cgd
3cdaeafbdc bus_space_*() function manual page. Written by me (as plain text),
converted to use the doc macros by Christos, then severely cleaned,
hacked, and improved by me.
1997-08-13 08:34:34 +00:00
fair
a7ef581d0c intro(4) for sparc - closes PR#1586 1997-08-13 07:44:35 +00:00
explorer
000490be57 reorder files in Makefile, nothing major 1997-08-13 05:46:57 +00:00
explorer
945beb8d63 Move procfs_checkioperm() from procvs_subr.c to procfs_mem.c, since _subr is
not included in a kernel without procfs, and it seems wrong to pull
all of procfs_subr.c in for just that one function.  Perhaps this
should go into a new file instead?
1997-08-13 04:01:22 +00:00
cgd
bf596ddb89 don't define __BUS_SPACE_COMPAT_OLDDEFS if it's already been defined 1997-08-13 02:53:03 +00:00
perry
03c3f2c28f fix spelling error, pr-3974 from Dave Huang 1997-08-12 23:53:54 +00:00
thorpej
f9777e4a1c Fix the procfs hole described on current-users, similar to a fix for
FreeBSD by Sean Eric Fagan, but a bit different.  This makes the checks
in the same places as sef's FreeBSD patch, but does not hardcode the
"kmem" group into the kernel, and also does a check identical to the
(3) and (4) checks in the NetBSD ptrace(2):

	(1) it's not owned by you, or is set-id on exec (unless
	    you're root), or

	(2) it's init, which controls the security level of the
	    entire system, and the system was not compiled with
	    permanently insecure mode turned on.
1997-08-12 22:47:18 +00:00
drochner
7427d7b340 Attach KGDB in early system startup. 1997-08-12 17:28:12 +00:00
drochner
e553e8219f Enable single stepping with KGDB. 1997-08-12 17:26:57 +00:00
drochner
d5998780c0 KGDB improvements:
-Separate KGDB port initialization and softc related stuff to allow
 KGDB to be attached in early system startup, before autoconfiguration.
-Export the variables needed by md code to hand-craft bus tag/handle.
-Fix initialization to enable interrupt by line break.
-Call DDB/KGDB at line break (move DDB call from the softirq handler
 to the hard handler because it should work without a tty attached too).
1997-08-12 17:25:43 +00:00
gwr
6b93a0192b cosmetic 1997-08-12 16:52:11 +00:00
gwr
f638574915 Add _kvm_mdopen() 1997-08-12 16:34:07 +00:00
gwr
99694d7c30 Instead of: USRSTACK, VM_MIN_ADDRESS, VM_MAXUSER_ADDRESS
Use these:  kd->usrstack, kd->min_uva, kd->max_uva
1997-08-12 16:30:15 +00:00
gwr
ab2c3b0106 Call _kvm_mdopen(kd) to do machine-dependent initialization. 1997-08-12 16:28:32 +00:00
gwr
c3d6f42b55 Add the members: usrstack, min_uva, max_uva to struct __kvm
and declare the function _kvm_mdopen() that initializes them.
1997-08-12 16:27:01 +00:00
gwr
5c339e9f73 Resolve conflict with <m68k/cpu.h> 1997-08-12 15:47:00 +00:00
christos
0e10f76c04 Correct 8 spelling mistakes. 1997-08-12 13:21:52 +00:00