Commit Graph

17883 Commits

Author SHA1 Message Date
drochner
6fb323453d add a definition to pass the "memory map", ie the outcome of INT15/0xe820,
to the kernel
1999-03-08 21:42:48 +00:00
drochner
0cb921e61e change the interface for getmementry() to hold the iterator in an
argument and to return success or error explicitely.
Now we can "error" and "end of list" cleanly; this should fix the
problem where the last list element was ignored.
1999-03-08 21:38:28 +00:00
tsubai
6662cda7a2 Use mips/ecoff_machdep.h. 1999-03-08 06:38:06 +00:00
tsubai
8b3054fb87 Add big-endian definitions. 1999-03-08 06:36:59 +00:00
tsubai
8b5452906b Use objcopy to convert ELF kernel to ECOFF. 1999-03-08 06:33:26 +00:00
fvdl
1cd0b43e81 bios disk matching needs more work for a few cases. Disable until
I have time to look at it further.
1999-03-08 01:26:00 +00:00
fvdl
eed16d934a Match BIOS <-> NetBSD devices after autoconf. Match by a checksum
and a partition table compare. Define a sysctl to get the info
out.
1999-03-08 00:12:28 +00:00
fvdl
5db52a7a6b Add some fields to the already defined, but unused, bootinfo structure
for BIOS geometry. Define CPU_BIOS_GEOM sysctl value in cpu.h.
1999-03-08 00:10:42 +00:00
fvdl
f8e221511b * query BIOS geometry information, possibly using the int 13 extensions.
* pass them on to the kernel
* print a message if the 2nd stage bootloader returns (i.e. fails)
  instead of just hanging.
1999-03-08 00:09:24 +00:00
pk
e951781842 _C_LABEL() is not implied by _ENTRY(). 1999-03-07 22:36:04 +00:00
is
6505010dab Added very preliminary version of Symbios 53c7[27]0c driver and Cyberstorm
Mk. III SCSI backend, by Michael Hitch.
XXX No wide transfers supported at the moment.
1999-03-07 22:16:19 +00:00
he
e9f9c1625e Add handling of OMAGIC files, where exec header isn't part of the
text segment.  Needed for woring installboot, since biosboot.sym is OMAGIC.
1999-03-07 20:03:44 +00:00
ragge
e1305e82d9 New boot program for vax. Appearance similar to the i386 boot blocks. 1999-03-06 16:36:04 +00:00
ragge
816acbe3ac pmap_physseg must be visible. 1999-03-06 11:11:11 +00:00
mycroft
e7f1ddf4a1 Update for psm -> pms conversion. 1999-03-06 06:12:49 +00:00
jonathan
0086af45ef DDB command `mach kvotop' to map kernel-virtual addreses to physical addresses. 1999-03-06 02:45:54 +00:00
mycroft
8a90f14119 Brace ourselves for egcs... 1999-03-06 01:29:53 +00:00
mhitch
263d2c47a5 Read-only unnmanaged pages on MIPS3 need the RO attribute bit, otherwise the
tlbmod exception panics.  This appears to have been incorrect even in the pica
pmap.c, which I pulled in for the pmax.  Fixes Xcfbpmax crashes on R40x0
systems with sfb framebuffer.

Fix resident_count tracking so it doesn't go negative.  UVM will change a
page mapping without removing the original mapping.  That was causing a
problem early on when getting UVM working on the mips, and the explicit
pmap_remove() done by pmap_enter() was decrementing the resident_count.
Do the pmap_remove() first, then check if the current mapping is not valid
and increment the resident_count.
1999-03-05 22:25:07 +00:00
mhitch
12ec406bcf Remove a couple of 'XXX MIPS3?' comments in the tlbmod exeception handling -
I now know what it's doing, and it is correct for MIPS3.
1999-03-05 22:18:07 +00:00
fvdl
5a32d4bb8b Make bootblocks really work this time. From Christos. 1999-03-05 20:33:08 +00:00
pk
3846cac1e1 Use `-Ttext' switch & collect ld options in LINKFLAGS. 1999-03-05 11:13:39 +00:00
pk
da1407c412 Use <machine/asm.h> to construct C identifiers. 1999-03-05 11:12:16 +00:00
pk
994c338f0a Apply C_LABEL() to `esym' too. 1999-03-05 11:07:03 +00:00
pk
ebd1f5abc9 Have pseudo function return a value. 1999-03-05 10:55:55 +00:00
pk
29db4ce692 Use macros from <machine/asm.h> to construct C labels. 1999-03-05 10:45:25 +00:00
pk
a1aa41e201 consinit: cover all cases. 1999-03-05 08:30:33 +00:00
tsubai
61fbe51007 First-cut of profiling support.
XXX userland only, for now.
1999-03-05 07:59:13 +00:00
mycroft
69d7e3bcdc Nuke wdc at isapnp. 1999-03-05 07:33:42 +00:00
mycroft
0d847118f6 XXX Disable PnP until pcic_isapnp works on this port. 1999-03-05 07:33:19 +00:00
scottr
2ea6ea5db5 Add the PowerBook 170 to what appears to be the correct
class of systems, based on the Apple dev notes for this system.
1999-03-05 06:45:41 +00:00
scottr
44a3f70740 Remove ADB_DEBUG; it's not fatal, but it adds a bunch of code that's
disabled by default.
1999-03-05 06:33:18 +00:00
tsubai
5023765f61 Adapt Open Firmware 3.x. 1.x and 3.x are not bug-compatible... 1999-03-05 06:21:17 +00:00
tsubai
4bdf0d9244 Modify parseargs() so that device names can contain '-'. 1999-03-05 06:18:38 +00:00
tsubai
c6a8ff5d24 RSS accounting. 1999-03-05 06:11:18 +00:00
tsubai
96f0fb14a1 Add RSS accounting. 1999-03-05 06:10:48 +00:00
lukem
6bf077c969 support BUFCACHE (a la the work i did for the i386, etc)
XXX: this worked a while ago when i last tested, but i haven't
compiled it recently. the code looks sane, however
1999-03-05 03:26:36 +00:00
kleink
9fe70fa4aa Need to include DDB headers only if DDB is defined. 1999-03-04 23:18:28 +00:00
christos
4b494ca224 Fix the symbol reading problem... 1999-03-04 20:46:23 +00:00
is
946db35c9b Modifications to aucc.c for more input formats and 14bit stereo output.
By Bernardo Innocenti, submitted as PR 6787.
Some KNF-ifying done by myself, so you might want to blame me instead
if the original patch worked for you.
	-is
1999-03-04 20:45:01 +00:00
drochner
66f3455141 make the mipse[lb]->mips translation really work
(the S/// doesn't work as I'm now telling the 3rd time),
put the translation onto a separate line to make it more understandable
1999-03-04 19:46:09 +00:00
dbj
bb8f1300ce moved declaration of nextdma_intr into correct header file. 1999-03-04 14:18:25 +00:00
gwr
3828f3a600 Add idprom.c and libsa files that are now separate
(sprintf.c subr_prf.c ...)
1999-03-04 08:19:38 +00:00
gwr
8cf14656b3 On Sun3X machines, use the PROM sif_macaddr function,
but only on PROM 3.0 or later.  With older PROMs, ask
the idprom module to find it (just like on the Sun3).
1999-03-04 08:13:42 +00:00
gwr
631e2be71e Separate checksum function from the fetch/copy functions.
Compute the checksum on only IDPROM_CKSUM_SIZE bytes.
1999-03-04 08:06:59 +00:00
gwr
78eab1b1b9 Replace sun3_etheraddr with sun3_getidprom (used by idprom.c) 1999-03-04 07:56:41 +00:00
chs
ae4890afdf fix printf format types and other stale DEBUG code. 1999-03-04 06:47:21 +00:00
chs
6b8f2e95a4 fix printf format types. 1999-03-04 06:46:23 +00:00
gwr
69dc3a4695 Add IDPROM_CKSUM_SIZE 1999-03-04 05:57:18 +00:00
mjacob
7c785b8a35 Well, sizeof needs to be printed with a %lu- I guess not many people build
debug kernels!
1999-03-04 02:16:56 +00:00
nisimura
7c40ddedec - Nuke old leftover. This has no useful information and not used by any
other files.
1999-03-04 01:48:09 +00:00