thorpej
477d46784e
Use allocsys(), mips_init_msgbuf(), and mips_init_proc0(), plus small
...
changes for MACHINE_NEW_NONCONTIG.
1998-02-25 23:28:25 +00:00
thorpej
d184112bd5
NEWS has one physical memory segment.
1998-02-25 23:27:20 +00:00
thorpej
da6458bfb4
Implement and switch to MACHINE_NEW_NONCONTIG.
1998-02-25 23:26:41 +00:00
thorpej
4673e0c339
Prototype allocsys(), mips_init_msgbuf(), and mips_init_proc0().
1998-02-25 23:25:16 +00:00
thorpej
469520ccd4
Pull some code out of N mach_init() functions, and place it in a
...
common place:
- allocsys(), which computes space for and assigns addresses
to kernel data structures at boot time.
- mips_init_msgbuf(), which initializes the error message
buffer at the end of core.
- mips_init_proc0(), which initializes the U-area for proc0
and nullproc.
1998-02-25 23:24:35 +00:00
perry
e7d07334f4
Coerce -1 to a (uid_t) to shut up lint.
1998-02-25 22:57:22 +00:00
perry
869a8fb13e
parameters to setreuid are uid_t, not int.
1998-02-25 22:56:00 +00:00
perry
35219be440
explicitly coerce a -1 to gid_t to quiet lint.
1998-02-25 22:53:03 +00:00
perry
a70b79d19e
The parameters of setregid are gid_t, not int.
1998-02-25 22:51:29 +00:00
perry
398e0f8c64
add /* LINTLIBRARY */ to supress lots of "unused function" warnings
...
from lint.
1998-02-25 22:36:45 +00:00
perry
1ed8ea9966
note second parm of sysarch() is now void *, + trivial KNF, etc.
1998-02-25 21:41:55 +00:00
perry
a5385186b1
regen
1998-02-25 21:30:36 +00:00
perry
56c01cbd82
change second parm of sysarch() from char * to void *
1998-02-25 21:24:56 +00:00
perry
5e2ed85c88
set NONOLINT on i386. Other ports on which building with lint is okay should
...
be added to this list until we get all ports okay.
1998-02-25 18:30:11 +00:00
mellon
c8ddea2651
Names have no underscores both on Alpha and on mips (from Jonathan)
1998-02-25 18:06:24 +00:00
drochner
c0f9ff25e7
Use the new NetBSD partition ID for first time setup of an MBR.
1998-02-25 14:19:12 +00:00
christos
66f05f52ec
Add another 56K modem.
1998-02-25 13:18:50 +00:00
drochner
80a45158ac
add some xrefs, from PR port-i386/5063 (haszlaki@UAccess.NET)
1998-02-25 12:30:13 +00:00
drochner
3ee0e26f7d
document 3c900 TPO support, add comments
1998-02-25 12:19:12 +00:00
drochner
41bbe0c360
3c900 TPO works too, as reported by Feico Dillema <dillema@acm.org>.
1998-02-25 12:15:49 +00:00
ross
081231b1ad
Add dummy }} after comsoft() to keep ctags(1) bashing on.
1998-02-25 08:32:35 +00:00
phil
84c669fc44
Make the CDROM default path be .../NetBSD-<rel>/<machine>/binary/sets
...
as specified in release(7) for the ftp site. This is because I'm
assuming that the CDROM would just be a copy of the ftp site minus
duplication.
1998-02-25 05:26:37 +00:00
pk
278a44a644
Need to use PIC_PROLOGUE() since `__ffstab' is now a global.
1998-02-24 22:06:10 +00:00
chuck
e308ffd825
compute st_map size properly
1998-02-24 19:01:59 +00:00
hubertf
51dc9a9405
Fix typos from PR 5055 by NAKAJIMA Yoshihiro <nakayosh@kcn.or.jp>.
1998-02-24 18:34:31 +00:00
chuck
cbd05b1537
be consistent about offsets in kernel objects. vm_map_min(kernel_map)
...
should always be the base [fixes problem on m68k detected by jason thorpe]
add comments to uvm_km.c explaining kernel memory management in more detail
1998-02-24 15:58:09 +00:00
leo
25811c51ea
Declare 'fd_cd'.
1998-02-24 13:02:54 +00:00
leo
e4b379c7c1
Only try to initialize the PCI-bus when NPCI > 0.
1998-02-24 13:02:06 +00:00
thorpej
89d112dd92
Switch this kernel to UVM.
1998-02-24 11:05:37 +00:00
thorpej
7027d87a18
Duh! Use uvm_km_valloc_wait(), NOT uvm_km_zalloc() to allocate user page
...
tables. (Thanks for pointing that out, Chuck!)
1998-02-24 07:42:05 +00:00
thorpej
58509e699f
Add support for UVM.
1998-02-24 07:38:01 +00:00
mycroft
d36067b120
Forcibly NUL-terminate the path name, just to be sure.
1998-02-24 07:14:17 +00:00
mycroft
64d86b5934
Minor style change.
1998-02-24 07:10:39 +00:00
scottr
a316576397
A change ripped out of i386/machdep.c:
...
--
When allocating bus space in bus_space_alloc(), use EX_FAST to find
the first fit in the map. The previous behavior violated the principle
of least surprise (especially annoying when you're debugging space allocation
problems). Suggested by Chris Demetriou.
1998-02-24 07:06:39 +00:00
scottr
15b125de34
ROM vectors and related information needed to support the Performa 588
...
(and quite probably all LC/Performa 580/588 models). Thanks to
Yasuhiro Endoh for providing the necessary data.
1998-02-24 07:00:14 +00:00
scottr
6f382db074
The code compiled in by the MADHATTER option is now standard issue. While
...
here, do a bunch of KNF, particularly whitespace issues.
1998-02-24 05:59:34 +00:00
mycroft
78875d069d
ofd -> ofdisk
1998-02-24 05:49:28 +00:00
mycroft
6bab18f8f1
Catch up with changes in dev/ofw. Add mainbus.
1998-02-24 05:45:51 +00:00
mycroft
310f6fefc3
Several things:
...
Clean up the name space here a bit.
Add a `busname' element to struct ofprobe (now struct ofbus_attach_args), and
check against it.
Nuke `ofroot'.
Rename the `openfirm' attribute to `ofbus'.
1998-02-24 05:44:39 +00:00
jonathan
1483395dbe
Move DOS BIOS-geometry and MBR-handling code to MI code for powerpc, arc:
...
* Split bios geometry and MBR partition editing code formerly in
arch/i386/{md,fdisk}.c to mbr.c in mi directory.
* Leave /sbin/fdisk parsing/handling code in separate file,
we may want to change it later. move to mi directory.
* Create mbr.h with declarations for MBR/BIOS-geomotry code.
#include "mbr.h" in i386 md.h.
* Use symbolic names for 386bsd and new NetBSD partition IDs.
Handle MBRs with both 386bsd and NetBSD partitions less stupidly.
1998-02-24 05:36:03 +00:00
jonathan
1cfa173f7c
Add symbolic names for new NetBSD MBR partition ID and for Linux.
1998-02-24 04:32:22 +00:00
cgd
ccfe537e97
don't include <machine/pio.h>. It's unneeded here now (this code
...
uses the bus_space_* interfaces), and therefore unwanted.
1998-02-24 02:12:09 +00:00
lukem
cb545a7ee4
send ntpdate output to syslog rather than stdout (with -s).
...
suggested by "Soren S. Jorvang" <soren@t.dk>
1998-02-24 00:24:45 +00:00
cjs
39926e4051
Send back an error message rather than dumping core when an invalid
...
username is entered. The latter, while effective, does not appear to
me to be an appropriate response.
1998-02-23 23:10:34 +00:00
jonathan
0ed9642fe0
Add menu entries to md_distcustom for installing X11 sets
...
in menus.md.{eng,fr}, lifted verbatim from Alpha and pmax.
Give last split-floppy for each X11 set, for 1.3.
FIXME: if the number of floppies in any split set changes for 1.3.1,
syinst is hosed for 1.3.1. Same is true for any release: we can't
install from split sets if the count of floppies doesn't match
the precompiled version.
The number of floppies in a split set should be computed dynamically
from a directory listing, or read from a config file in the split
directory.
1998-02-23 22:55:09 +00:00
thorpej
7198bb7811
Set the VM page size after clearing the BSS segment.
1998-02-23 20:05:09 +00:00
jonathan
4c9de2fb64
Fix typo in dz11/dc speed botch: 19200 is actually 19800, not 19600.
...
Explain more fully why DZ/dc devices lose as PPP/slip interfaces.
1998-02-23 19:46:24 +00:00
chuck
5ad9218203
fix uvm-related protection error: we can't write protect the
...
vmcmd_map_readvn() area until after we do vn_rdwr(). should fix
problem reported by sean doran.
1998-02-23 18:53:22 +00:00
thorpej
a3a297cc40
Two purely cosmetic whitespace changes.
1998-02-23 18:45:44 +00:00
drochner
4f80f2803f
Add a diagnostic panic() to catch attempts to call vm_page_unwire() with
...
an unmanaged page argument. This can lead to unpredictable results,
depending on the pmap interface (ie, MACHINE_[NEW_]NONCONTIG).
1998-02-23 14:37:00 +00:00