Commit Graph

36909 Commits

Author SHA1 Message Date
enami
ef09ae656f Fix or add protection for mutiple inclusion. 1998-02-13 04:19:13 +00:00
mrg
7d9acb9bb6 add a commented out PMAP_NEW. 1998-02-13 04:12:33 +00:00
cgd
25d056473c Clean up kernel initialization. Use the bootinfo structure (or innate
knowledge) earlier, and gather all information needed earlier.  Mark the
init code carefully re: when it can print stuff out, when it can expect
the firmware to stop working, etc.  Be more careful about using the PROM
console and other PROM facilities, and hint that in the future all use
of firmware/boot program callbacks by the kernel should go away (since
the world may not be mapped the way the firmware/boot program wants!).
1998-02-13 02:09:03 +00:00
thorpej
b22ad9fe1a Define a lookup table for Alpha platform variation names. 1998-02-13 01:29:09 +00:00
thorpej
bdc328cb13 Use the platform family name in alpha_unknown_sysname(). 1998-02-13 00:27:37 +00:00
thorpej
bd60d9c62d Rewrite the way the platform model string is determined:
- Attempt to find the model string in the HWRPB's DSR area.  Failing that
  (if the HWRPB version is too old)...
- Look up the system variation in a variation/string table.  Failing that
  (unknown variation)...
- Create a default model string using the variation number.

Also, factor out a bunch of common code.
1998-02-13 00:12:45 +00:00
thorpej
44df600994 Define the structure of the HWRPB's Dynamic System Recognition area. 1998-02-13 00:07:25 +00:00
gwr
b655b3e60a Merge sun3x into sun3 1998-02-12 21:45:09 +00:00
ross
f288e985a1 abs() numeric parameters to allow portable invocations in scripts. 1998-02-12 21:11:00 +00:00
gwr
6bee102283 See md.sun3 1998-02-12 20:47:40 +00:00
thorpej
7fbc685c06 Make it a little more clear that the "eb164" systype doens't necessarily
mean that a machine is a DEC EB164 (it may be an AlphaPC 164, which is
different, from the firmware's perspective).
1998-02-12 20:46:47 +00:00
thorpej
314f40f8d8 We can't count on the CIA revision register telling us if we're a 21171
or 21172, so make the chip/revsion output a little more sane.
1998-02-12 20:43:45 +00:00
kleink
0dc9b5452d Fix variable declarations: register -> register int. 1998-02-12 20:39:41 +00:00
thorpej
44ed0e5b79 Don't include option headers if building an LKM. 1998-02-12 20:38:45 +00:00
gwr
bb8c2b7155 New layout for the boot tape, with both sun3 and sun3x kernels. 1998-02-12 20:32:44 +00:00
kleink
80a22b46d4 Sync prototype with <unistd.h> (which DTRT all the time). 1998-02-12 20:18:23 +00:00
thorpej
bc8f46d457 defopt UVMHIST_PRINT, and put it in the already-existing opt_uvmhist.h
option header.
1998-02-12 20:12:03 +00:00
thorpej
90aee42d35 Provide a patchable knob (uvmhist_print_enabled) so that UVM history
buffer printing can be switched on and off at run-time.  Only exists
if the kernel is build with UVMHIST_PRINT, and defaults to `on'.
1998-02-12 20:10:15 +00:00
gwr
c0a778a235 Build two ramdisk kernels: netbsd-rd.sun3 and netbsd-rd.sun3x
(one for each machine architecture)
1998-02-12 19:56:25 +00:00
gwr
4a0868db44 Put both netbsd.sun3 and netbsd.sun3x kernels in the miniroot image
so it will boot on both kinds of machines.  (The boot program will
load the appropriate one).
1998-02-12 19:55:14 +00:00
gwr
0a28d6e8f2 See src/distrib/sun3 1998-02-12 18:26:37 +00:00
mrg
2f794bc82c make sshd startup less bogus, for now. 1998-02-12 14:37:57 +00:00
mrg
dec29037df make these compile. 1998-02-12 10:12:55 +00:00
mikel
f160a96172 fix typo; ryker@openbsd.org 1998-02-12 08:07:49 +00:00
chs
7f45dbdfae add copyright. 1998-02-12 07:36:43 +00:00
chs
a6f9c2eab5 add UVM support. 1998-02-12 06:55:29 +00:00
mrg
b788ab7665 use sysctl for "kern.boottime" over kvm_read 1998-02-12 05:27:51 +00:00
sakamoto
d053bf6ffe Eliminate unnecessary code.
The bebox has only one PCI-ISA bridge(82378ZB).
1998-02-12 05:19:04 +00:00
sakamoto
e6ebe3f36f Add avail_end for DMA (temporary). 1998-02-12 05:16:06 +00:00
lukem
d3fed48809 revert; we can't break the existing ABI and API 1998-02-12 03:52:12 +00:00
lukem
e8664c7183 revert; we can't break the existing ABI and API 1998-02-12 03:32:51 +00:00
cgd
5a1a26d325 set 'hwrpb' in a way that works exactly the same way as the previous
code, but looks significantly less gross.
1998-02-12 02:54:02 +00:00
cgd
c7ba12ab93 rename struct rob's "rpb" element to "rpb_phys" for clarity. also,
change its type from a pointer to a never-defined structure to a
u_int64_t.
1998-02-12 02:27:48 +00:00
lukem
ce147c1c1c revert; we can't break the existing ABI and API 1998-02-12 01:57:27 +00:00
cgd
92d17b5b50 clean up the way bootinfo information is passed and used: move the version
number passed by the boot block into a register, change the kernel's
bootinfo handing so that it always uses bootinfo to get bootinfo-ish values
(filling them in if the boot blocks didn't pass them), and make versioning
a small bit more sane.
1998-02-12 01:53:18 +00:00
sakamoto
eef219fd43 Sync with powerpc/include/endian.h 1998-02-12 01:28:48 +00:00
sakamoto
4a3839dbdd Sync with powerpc/include/ansi.h 1998-02-12 01:21:10 +00:00
sakamoto
fcfdcaa513 Sync with port-i386. 1998-02-12 01:19:04 +00:00
sakamoto
4429e5c5fe Import memory disk filesystem hook from port-i386. 1998-02-12 01:03:58 +00:00
lukem
423e29d2ec revert; we can't break the existing ABI and API 1998-02-11 23:01:22 +00:00
lukem
88a058d32b revert to 1.6; we can't break the existing ABI and API 1998-02-11 22:53:13 +00:00
lukem
27c585ce51 revert to 1.7; we can't break the existing ABI and API 1998-02-11 22:52:38 +00:00
lukem
6dabc120ba revert to 1.5; we can't break the existing ABI and API 1998-02-11 22:46:41 +00:00
lukem
c889fe8fd3 revert to 1.9; we can't break the existing ABI and API 1998-02-11 22:41:30 +00:00
gwr
948e07a5ec remove ifdef sun3x 1998-02-11 19:42:29 +00:00
gwr
a3e7f95941 Add fd0 1998-02-11 19:33:56 +00:00
gwr
1a78005b10 Build both sun3 and sun3x kernels 1998-02-11 19:19:53 +00:00
gwr
78a878423e see ../etc.sun3 1998-02-11 19:06:28 +00:00
bouyer
0435e7ea98 Correct a bogosity in the adapter->mii attach code pointed out by cgd:
in pci/if_tl.c, call config_found() with a print function, instead of
printing ourself a message in if_tl.c if no miibus was found. The print
function is in mii/mii.c (mii_adapter_print()) so that it can be used by any
adapter (idea from the scsi system).
1998-02-11 19:02:11 +00:00
perry
a4539d646c Add __NetBSD_Version__, add some comments. 1998-02-11 18:56:59 +00:00