37512 Commits

Author SHA1 Message Date
gwr
eeb690065b Use trap 14 as PROM abort 1998-02-26 19:30:59 +00:00
gwr
23b16936e8 Fix build with NFB=0 1998-02-26 16:01:18 +00:00
lukem
a771a1c39a change default ownership from bin:bin to root:wheel 1998-02-26 08:46:09 +00:00
perry
301e5f4bfe trivial changes to reduce lint complaints 1998-02-26 03:13:18 +00:00
perry
1f95191dfb trivial changes to reduce lint complaints 1998-02-26 03:01:12 +00:00
perry
1ea84adf39 trivial changes to reduce lint complaints 1998-02-26 02:40:11 +00:00
jonathan
12986acb08 Mips uses ELF. Add !defined(__mips) to the toolchain-dependent
``#ifndef __alpha''s in  _G_config.h and to the source in libg++2netbsd.
1998-02-26 02:26:27 +00:00
perry
597e2701ac trivial changes to reduce lint complaints 1998-02-26 02:26:12 +00:00
perry
edac6b7ff2 define kernel only inline static functions only #ifdef _KERNEL 1998-02-26 01:57:30 +00:00
thorpej
8d0d59284b Use allocsys(), mips_init_msgbuf(), and mips_init_proc0(), plus small
changes for MACHINE_NEW_NONCONTIG.
1998-02-25 23:31:29 +00:00
thorpej
d6085102e9 DECstations have one physical memory segment. 1998-02-25 23:31:03 +00:00
thorpej
b3c5864223 Use allocsys(), mips_init_msgbuf(), and mips_init_proc0(), plus small
changes for MACHINE_NEW_NONCONTIG.
1998-02-25 23:30:33 +00:00
thorpej
c2e692ff93 PICA has one physical memory segment. 1998-02-25 23:30:11 +00:00
thorpej
330e4f8d24 Fix a few screwups that made it impossible to config these kernels. 1998-02-25 23:29:49 +00:00
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