Commit Graph

104785 Commits

Author SHA1 Message Date
Ruslan Ermilov
a618bed1b1 Markup laundry. 2004-07-08 12:52:33 +00:00
Ruslan Ermilov
f340d1a434 Use the commonly used list type to enumerate supported devices. 2004-07-08 12:48:16 +00:00
Peter Grehan
5d64cf91fb 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
Ruslan Ermilov
d6121456df Slight markup fixes. 2004-07-08 12:45:46 +00:00
Ruslan Ermilov
4172299717 Make the list type match the common type used to enumerate supported devices. 2004-07-08 12:40:42 +00:00
Ruslan Ermilov
fe43142b1e Added missing markup bits. 2004-07-08 12:37:18 +00:00
Ruslan Ermilov
7e80ee778a Protect "e.g." from being interpreted as end of sentence. 2004-07-08 12:36:20 +00:00
Ruslan Ermilov
b6cceb259a Markup fixes. 2004-07-08 12:33:39 +00:00
Ruslan Ermilov
115c7c0a94 Fixed markup. 2004-07-08 12:29:37 +00:00
Ruslan Ermilov
2898777be8 Slight markup fixes. 2004-07-08 12:21:51 +00:00
Hiten Pandya
a617613fd4 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
Ruslan Ermilov
092cc6b2ab Revise markup. 2004-07-08 10:47:13 +00:00
Poul-Henning Kamp
4fa0290fbf Fail normally rather than KASSERT if attempt to open a spoiled consumer. 2004-07-08 10:34:09 +00:00
Ruslan Ermilov
89b74d5cd5 Markup fixes. 2004-07-08 10:31:12 +00:00
Poul-Henning Kamp
87d72a8f27 Use a couple of regular kernel entry points, rather than COMPAT_43
entry points.
2004-07-08 10:18:07 +00:00
Hartmut Brandt
be628d2848 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
Hartmut Brandt
91a7f7c3f1 Add the missing copyright.
Spotted by: ru
2004-07-08 08:14:28 +00:00
Alan Cox
c9e95bb1cb Add pmap locking to pmap_emulate_reference(). Remove unused and once-used
variables.

Tested by:	kensmith@
2004-07-08 07:44:55 +00:00
Ruslan Ermilov
19ba8e3164 Kill trailing whitespace. 2004-07-08 07:27:26 +00:00
Ruslan Ermilov
d15cee16a4 Fixed markup. 2004-07-08 07:19:46 +00:00
Ruslan Ermilov
827be8c1e9 Slight markup fixes. 2004-07-08 07:11:24 +00:00
Ruslan Ermilov
877c6716d0 Markup fixes. 2004-07-08 07:09:57 +00:00
Ruslan Ermilov
f93c1ee9fb Slight markup fixes. 2004-07-08 06:56:30 +00:00
Tim J. Robbins
ee446de0b1 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
Ruslan Ermilov
72c94845c6 Slight markup fixes. 2004-07-08 06:38:59 +00:00
Peter Grehan
79c8d45fce 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 Perlstein
057589c485 fixup sysctl by fsid node 2004-07-08 06:11:36 +00:00
Peter Grehan
c727d17006 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
Peter Grehan
ff6e6584fc 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
Peter Grehan
4bb04ec4eb 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 Perlstein
2260fef1f4 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
Tim Kientzle
cbf4203db5 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 Wemm
d8ad50b704 MFi386: various io apic cleanups 2004-07-08 01:42:49 +00:00
Peter Wemm
335e282d3c MFi386: use rman access methods instead of groping around inside
struct resource
2004-07-08 01:34:24 +00:00
Peter Wemm
2e37b53aba MFi386: whitespace nit fix (spare blank line) 2004-07-08 01:32:25 +00:00
Peter Wemm
f08560a569 MFi386: fix up CR0 settings 2004-07-08 01:31:13 +00:00
Peter Wemm
6ad90df2e3 MFi386: 1.57: transparently respect alignment/boundary tags 2004-07-08 01:28:33 +00:00
Alfred Perlstein
c438d25d9e There is no VOP_TRUNCATE anymore.
style(9) (parenthesis around return values) the example.
2004-07-08 00:43:50 +00:00
Alfred Perlstein
ad5d91b7b1 s/proc/thread 2004-07-08 00:38:28 +00:00
Alfred Perlstein
f6bd5d1e6d Update comments in example as well. 2004-07-08 00:36:58 +00:00
Alfred Perlstein
dc7bf98cd1 Update because struct componentname now has a thread pointer instead
of a proc pointer.
2004-07-08 00:11:43 +00:00
Alfred Perlstein
7f67dadf9f 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
Maksim Yevmenkin
23d1e148af Make bluetooth compile on all platforms
Reviewed by:	imp, ru
2004-07-07 22:48:30 +00:00
Warner Losh
6d6fa4fdc9 Break out the isa and pccard front ends from fdc. This is the first
step in making this driver more attachment neutral.  Others plan on
adding acpi front ends.

Still need to cleanup the MI part of the driver because it isn't as
bus independent as it could be.
2004-07-07 22:35:27 +00:00
Warner Losh
8ade021a7c Break out the isa and pccard front ends to the fdc controller device.
This should allow us to more easily break out the acpi and 'legacy pc'
front ends as well (so only the bus front end would touch rtc, for
example).

This isn't a great separation, since isa dma routines are still called
from the MI code, but it is a start.
2004-07-07 22:29:33 +00:00
Giorgos Keramidas
ecc9d3aa01 Fix various grammar knits.
PR:		docs/66824
Submitted by:	Michel Lavondes <fox@vader.aacc.cc.md.us>
MFC after:	3 days
2004-07-07 21:37:30 +00:00
Giorgos Keramidas
dca30d0f35 Correct a minor syntax mistake.
PR:		docs/67458
Submitted by:	Michel Lavondes <fox@vader.aacc.cc.md.us>
MFC after:	3 days
2004-07-07 21:27:44 +00:00
Ruslan Ermilov
0e252c9a1a Slight markup and grammar fixes. 2004-07-07 21:00:57 +00:00
Alfred Perlstein
83f46f9e33 there's no such define as KERN_NAME_MAX, change to _POSIX_NAME_MAX. 2004-07-07 20:47:42 +00:00
Ruslan Ermilov
412dd67920 Fixed markup. 2004-07-07 20:32:33 +00:00