gwr
0228ba8d86
Make the messages printed by _nodb_trap() more helpful.
1998-02-26 20:31:13 +00:00
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
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
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
christos
66f05f52ec
Add another 56K modem.
1998-02-25 13:18:50 +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
chuck
e308ffd825
compute st_map size properly
1998-02-24 19:01:59 +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
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
thorpej
7198bb7811
Set the VM page size after clearing the BSS segment.
1998-02-23 20:05:09 +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
drochner
49c1580874
-make compile without BROKEN_INDIRECT_CONFIG
...
-don't include <machine/pio.h>
1998-02-23 14:12:18 +00:00
scottr
c285c9fbfa
Remove the limit on bufpages we picked up from i386 in 1993
...
(which was removed from that port not long after), as it's not
an especially meaningful test.
Also, bump the number of swap buffers allocated to 3/4 the amount
of file i/o buffers (taken from the Amiga port).
1998-02-23 07:24:44 +00:00
mycroft
ee0b9799e7
Fix layout of powerpc_saved_state; copy in saved MSR.
1998-02-23 03:23:05 +00:00
mycroft
79f597383e
Fix layout of powerpc_saved_state.
1998-02-23 03:22:16 +00:00
mycroft
d387a356c8
Clean up, add physadr.
1998-02-23 03:21:40 +00:00
scottr
c1a185be97
Mostly KNF. There's still a bunch of ugly comments and some problems
...
with long lines, but this is at least a big step in the right direction.
1998-02-23 03:11:26 +00:00
scottr
e50238f77a
Rewritten II-series ADB code from John Wittkoski. Also, a whole
...
lotta KNF.
1998-02-23 03:09:40 +00:00
mycroft
d56d21012f
Slight rearrangement.
1998-02-23 01:54:26 +00:00