Commit Graph

104700 Commits

Author SHA1 Message Date
nyan
c6183ca7fa MFi386: revision 1.16. 2004-07-08 13:48:49 +00:00
nyan
8ada288b80 Remove obsolete defines. 2004-07-08 13:47:56 +00:00
nyan
02dfc72e71 MFi386: revision 1.1164. 2004-07-08 13:47:01 +00:00
brian
2821a50eaa Change the following kernel options to environment variables:
BOOTP -> bootp
    BOOTP_NFSROOT -> bootp.nfsroot
    BOOTP_NFSV3 -> bootp.nfsv3
    BOOTP_COMPAT -> bootp.compat
    BOOTP_WIRED_TO -> bootp.wired_to

This lets you PXE boot with a GENERIC kernel by putting this sort of thing
in loader.conf:

    bootp="YES"
    bootp.nfsroot="YES"
    bootp.nfsv3="YES"
    bootp.wired_to="bge1"

or even setting the variables manually from the OK prompt.
2004-07-08 13:40:33 +00:00
ru
7c245468ef Markup overhaul. 2004-07-08 13:24:58 +00:00
ru
23e116c2ae Markup nits. 2004-07-08 12:55:24 +00:00
grehan
e445d539ba Use a linker script for the loader. This avoids issues with
command-line options, such as misaligning the data segment.
Exposed by the limited PearPC OFW ELF loader, but a good thing in
general.
2004-07-08 12:52:35 +00:00
ru
efc0fe87b2 Markup laundry. 2004-07-08 12:52:33 +00:00
ru
5b532478c2 Use the commonly used list type to enumerate supported devices. 2004-07-08 12:48:16 +00:00
grehan
ac03732d3c G4 requires isync after 256Mb ibat/dbat update, G3 requires
isync after each bat update. Otherwise, pmap_bootstrap causes
an ISI exception. A fall-out of loader BAT removal.
2004-07-08 12:47:36 +00:00
ru
9285db0e84 Slight markup fixes. 2004-07-08 12:45:46 +00:00
ru
e4769a7f49 Make the list type match the common type used to enumerate supported devices. 2004-07-08 12:40:42 +00:00
ru
94b4a8fa25 Added missing markup bits. 2004-07-08 12:37:18 +00:00
ru
b5ca87c075 Protect "e.g." from being interpreted as end of sentence. 2004-07-08 12:36:20 +00:00
ru
a802702e7f Markup fixes. 2004-07-08 12:33:39 +00:00
ru
a4468886ea Fixed markup. 2004-07-08 12:29:37 +00:00
ru
f439c3fcb0 Slight markup fixes. 2004-07-08 12:21:51 +00:00
hmp
a32114504e Correct a couple of language nits and a spelling.
PR:             	docs/68799
Submitted by:   	Chris Pepper <pepper@reppep.com>
MFC after:      	3 days
2004-07-08 11:02:19 +00:00
ru
4ac33425c4 Revise markup. 2004-07-08 10:47:13 +00:00
phk
a0a0195602 Fail normally rather than KASSERT if attempt to open a spoiled consumer. 2004-07-08 10:34:09 +00:00
ru
54adde43e3 Markup fixes. 2004-07-08 10:31:12 +00:00
phk
64c32415ce Use a couple of regular kernel entry points, rather than COMPAT_43
entry points.
2004-07-08 10:18:07 +00:00
harti
e04ea3134c Get rid of the THISHOST variable when building on sparc64. The problem
with it is that it is set by calling hostname and hostname isn't normally
in the path at that point.
2004-07-08 09:08:09 +00:00
harti
051df492b2 Add the missing copyright.
Spotted by: ru
2004-07-08 08:14:28 +00:00
alc
66bf3365a7 Add pmap locking to pmap_emulate_reference(). Remove unused and once-used
variables.

Tested by:	kensmith@
2004-07-08 07:44:55 +00:00
ru
038b71d4b6 Kill trailing whitespace. 2004-07-08 07:27:26 +00:00
ru
bad28f8968 Fixed markup. 2004-07-08 07:19:46 +00:00
ru
e17ef698a7 Slight markup fixes. 2004-07-08 07:11:24 +00:00
ru
2e2f0c76a4 Markup fixes. 2004-07-08 07:09:57 +00:00
ru
eb70b901cb Slight markup fixes. 2004-07-08 06:56:30 +00:00
tjr
3a9d81b253 Add a function to iterate over all characters in a particular character
class. This is necessary in order to implement tr(1) efficiently in
multibyte locales, since the brute force method of finding all characters
in a class is infeasible with a 32-bit (or wider) wchar_t.
2004-07-08 06:43:37 +00:00
ru
9cdb603498 Slight markup fixes. 2004-07-08 06:38:59 +00:00
grehan
c22bebde69 Remove cache flush, 256Mb 1:1 BAT mapping, and BAT clearing. This doesn't
work on a G5 (no BAT registers) or on PearPC (dBAT3 used for mapping
the framebuffer and BATs not re-inited on OpenFirmware calls).

 It also hid a number of bugs.
2004-07-08 06:13:05 +00:00
alfred
b65386ecc3 fixup sysctl by fsid node 2004-07-08 06:11:36 +00:00
grehan
6001ea5291 All hell breaks loose if the loader image is released before
jumping to the kernel. Another bug exposed by removing the
1:1 BAT mapping. Sparc64 doesn't do this either.

Compile tested on: panther (sparc64). Code built, but not used, on sparc64.
2004-07-08 06:09:22 +00:00
grehan
9063ace8b4 Correctly calculate size of memory to be mapped when copying. Removal
of the 256Mb 1:1 BAT mapping exposed this as copying into memory that
hadn't been claimed from OpenFirmware.

compiled-tested on: panther (sparc64). Code built, but not used, on sparc64
2004-07-08 06:06:56 +00:00
grehan
ebf9bdd548 Extract entry point from elf header before releasing the heap.
This caused a data-miss trap when the BAT init code was removed
on PPC.

Compile tested on: panther (sparc64). Code built, but not used, on sparc64.
2004-07-08 06:04:45 +00:00
alfred
e34c156b1b struct mount->mnt_data has been a qaddr_t since '94 (rev 1.1),
It should be a void *, fix it.
2004-07-08 05:47:51 +00:00
kientzle
f068f4ab35 I think this is my fourth complete rewrite of the dir-creation
code. <whew!> This version handles all of the following edge cases:
  * Restoring explicit dirs with 000 permissions (star fails this test)
  * Restore of implicit or explicit dirs when umask=777
    (gtar and star both fail this test)
  * Restoring dir paths containing "." and ".." components
This version initially creates all dirs with permission 700 (ignoring
umask), then does a post-extract "fixup" pass to set the correct
permissions (which may or may not depend on umask, depending on the
restore flags and whether it's an explicit or implicit dir).
Permissions are restored depth-first so that permissions within
non-writable dirs can be correctly restored. (The depth-sorting does
correctly account for dirs with ".." components.)
2004-07-08 05:24:48 +00:00
peter
e3e493024d MFi386: various io apic cleanups 2004-07-08 01:42:49 +00:00
peter
dd3c90cb13 MFi386: use rman access methods instead of groping around inside
struct resource
2004-07-08 01:34:24 +00:00
peter
fc114e00d8 MFi386: whitespace nit fix (spare blank line) 2004-07-08 01:32:25 +00:00
peter
e5ce867c01 MFi386: fix up CR0 settings 2004-07-08 01:31:13 +00:00
peter
bb56fe721b MFi386: 1.57: transparently respect alignment/boundary tags 2004-07-08 01:28:33 +00:00
alfred
4dc964a3b8 There is no VOP_TRUNCATE anymore.
style(9) (parenthesis around return values) the example.
2004-07-08 00:43:50 +00:00
alfred
60a197bb10 s/proc/thread 2004-07-08 00:38:28 +00:00
alfred
c8d0f89ed2 Update comments in example as well. 2004-07-08 00:36:58 +00:00
alfred
18187ae75d Update because struct componentname now has a thread pointer instead
of a proc pointer.
2004-07-08 00:11:43 +00:00
alfred
11872a37e7 Update in the face of NDFREE.
Basically the advice on freeing the componentname buffers is no
longer correct.
Update the example code.
2004-07-08 00:08:18 +00:00
emax
3c9dfc9919 Make bluetooth compile on all platforms
Reviewed by:	imp, ru
2004-07-07 22:48:30 +00:00