30796 Commits

Author SHA1 Message Date
mikel
73c3bd6bd3 set WARNS?=1 for the i386 only 1997-08-15 02:39:13 +00:00
mikel
b4119f6b37 use <sys/cdefs.h> __RCSID() macro 1997-08-15 02:21:56 +00:00
mikel
38e3895a32 use <sys/cdefs.h> __RCSID() macro
GC unused variables and fix error message typo in kvm_deadfiles()
1997-08-15 02:18:02 +00:00
mikel
09d28fdbb7 use <sys/cdefs.h> __RCSID() macro 1997-08-15 02:07:39 +00:00
cgd
efecf08fef Sync with bus_space(9):
* make map and alloc take 'flags' rather than 'cacheable,' for
  more flexibility.
* rename BUS_BARRIER_* to BUS_SPACE_BARRIER_*, for consistency.
* rename bus_space_copy_* to bus_space_copy_region_* and make their
  defns match the updated spec.
Backward compatibility is provided by defining __BUS_SPACE_COMPAT_OLDDEFS,
which is currently defined by default.
1997-08-15 00:45:16 +00:00
briggs
2a83a9363a Add interrupt handler for SuperMac GFX.
Tested by Kai-Yew Lum <kaiyewl@engin.umich.edu> back in May.
1997-08-15 00:15:32 +00:00
explorer
f1947d6a44 add SDEV_NOLUNS for my scanner (UMAX S-6E) 1997-08-14 22:17:32 +00:00
perry
00b2cf3301 some minor proofreading and cleanup, per request by matthias drochner 1997-08-14 19:40:12 +00:00
drochner
3d46e78fc6 Manual page for i386/stand/dosboot. 1997-08-14 18:31:46 +00:00
scottr
c7079260e5 More machine support:
- Add entries for the LC520, Color Classic, and PB150 to intvid_info[].
 - Make the PB150 a Duo-class machine, as it seems to work better this way.

Now that we're doing the latter, it points out something I missed a long
time ago when I added Duo support:  CLASSDUO was being ignored in
mac68k_set_io_offsets().

PowerBook 150 changes and bug fix provided by Dave Huang <khym@bga.com>
in PR 3970.
1997-08-14 18:23:20 +00:00
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