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
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
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
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
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
gwr
948e07a5ec
remove ifdef sun3x
1998-02-11 19:42:29 +00:00
thorpej
c26f962957
Use kernel_map in bus_dmamem_{map,free}().
1998-02-11 03:08:31 +00:00
thorpej
cb9500aac0
Fix for defopt'd UVM and PMAP_NEW.
1998-02-11 03:05:35 +00:00
thorpej
e9017a5ab3
Use kernel_map in bus_dmamem_{map,free}().
1998-02-11 03:03:52 +00:00
thorpej
bdecbe552b
Use M_DMAMAP where appropriate.
1998-02-11 01:50:36 +00:00
thorpej
30aa56fc66
Use M_DMAMAP where appropriate.
1998-02-11 01:37:51 +00:00
cgd
e21b7a5995
leave space for bootstrap stack when calculating kernstart
1998-02-11 00:05:33 +00:00
mrg
d90485202c
- add defopt's for UVM, UVMHIST and PMAP_NEW.
...
- remove unnecessary UVMHIST_DECL's.
1998-02-10 14:08:44 +00:00
leo
301a4b3f87
Build the library before using it.... (Thomas Gerner).
1998-02-10 10:28:34 +00:00
leo
dda805c3d4
Accept an 68060 as cpu-type. (Thomas Gerner).
1998-02-10 10:25:08 +00:00
thorpej
1951c4b19b
Bump KNMEMCLUSTERS slightly, and make it more obvious how to tune it
...
(lifted from i386 port).
1998-02-10 03:53:01 +00:00
thorpej
68d3b764ce
Make it easier to keep the scaled VM_*_SIZE values in sync w/ the
...
constants.
1998-02-10 03:52:05 +00:00
thorpej
5887833ac7
Kernel for babylon.netbsd.org.
1998-02-10 00:48:14 +00:00
is
cb1085870c
Add the LIMITMEM workaround for the kernel address space size problem.
...
Will be removed as soon as the kernel can auto-adapt to its address space.
1998-02-09 22:14:43 +00:00
jeremy
a1efa84a4d
Modified the comments for the recentlty implemented pmap_map() function.
1998-02-09 19:56:37 +00:00
scottb
2ee5fa7f17
iBCS2 code cleanup
...
added support for ELF binaries
added support for ELF shared libs via mmap code borrowed from svr4_misc.c
incorporated a few XENIX patches from Andreas Wrede <andreas@planix.com>
1998-02-09 02:30:42 +00:00
thorpej
da21f06eb5
Remove the pager options; they're in std.sparc, and will stay there
...
until UVM is no longer optional.
1998-02-08 19:24:28 +00:00
thorpej
93b0450b6a
Back out previous change (again, grrrr).
1998-02-08 19:23:20 +00:00
thorpej
223caea788
pmap_page_index() is not used in the MACHINE_NEW_NONCONTIG case.
1998-02-08 18:47:06 +00:00
thorpej
2f55a48f5c
Implement MACHINE_NEW_NONCONTIG and switch the hp300 port to use it.
1998-02-08 18:37:55 +00:00
tv
40f13df5bc
the *PAGER options were moved to the generic config files, but not moved
...
out of here (causes duplicate opeion errors) -- fix.
1998-02-08 17:46:47 +00:00
ragge
c5b2acd27f
Split out MSCP floppies as a separate device (rx) instead of handling
...
them as disk drives. It is now also allowed to change floppies without
the system complaining :-)
1998-02-08 14:03:45 +00:00
thorpej
54aa7dfae0
Correct a think'o I made some time ago, and note that the dump routines
...
here are broken if VME memory cards exist in the system.
1998-02-08 09:33:14 +00:00
thorpej
1305ecbe62
Allow callers of uvm_km_suballoc() to specify where the base of the
...
submap _must_ begin, by adding a "fixed" boolean argument.
1998-02-08 06:15:53 +00:00
gwr
22c20779d0
Rewrite the match/attch routines to use the P4 register
...
(when it exists). Also get the size right; other fixes.
1998-02-08 05:22:08 +00:00
gwr
0378cb2ff6
Define the CG4B_OFF_* values to be relative to the location of
...
the P4 register so the probe routine finds the P4 at off=0.
1998-02-08 05:20:08 +00:00
gwr
99fd045ec0
Add fb_eeprom_setsize() for setting the FB size based on the EEPROM
...
value (to be used only if unit=0). Add P4 helper functions:
fb_pfour_id, fb_pfour_setsize, fb_pfour_{get,set}_video
1998-02-08 05:15:35 +00:00
gwr
ab8340e9da
cosmetic
1998-02-08 05:13:17 +00:00
gwr
0bc9d95f95
Move the sun3-vs-sun3x stuff into std.sun3 and std.sun3x
...
Configure P4 frame buffers at the address of their P4 reg.
Move messy Sun3 bw2 and cg4 configs to included files.
1998-02-08 05:10:45 +00:00
gwr
e3400ad779
Improve some diagnostics.
1998-02-08 05:07:06 +00:00
gwr
5b69e41858
Default the interrupt priority in match functions.
1998-02-08 05:05:54 +00:00
gwr
5193e1e30e
Factor *peek out of bus_subr.c and move it to autoconf.c
...
(to reduce duplication). Add bus_tmapin and bus_tmapout
for use in probe functions (gets a temporary mapping).
Add bus_mapout() to undo bus_mapin() if needed.
1998-02-08 05:02:50 +00:00
gwr
e387ffba22
Add pmap_map
1998-02-08 04:57:58 +00:00