thorpej
26bc8b27f4
- pmap_remove(): unmap the PTEs *after* we have finished with the
...
page tables.
- pmap_enter(): if making a mapping for the same PA rw->ro, write-back
the cache before doing so.
- pmap_clearbit(): if revoking REF on a page, make sure to wbinv the
cache if the page has write permission, else inv the cache if the page's
PTE is valid (XXX we actually wbinv in this case, as well, due to lack
of idcache_inv_range()). Only flush the TLB if the PTE changed.
2002-08-06 21:43:51 +00:00
kim
462f87e7fd
Missing comma in aenfmt array initialization.
2002-08-06 20:47:44 +00:00
jwise
ad8bd5db78
Fix mandoc glitch in description of `eui64' command.
2002-08-06 19:29:35 +00:00
thorpej
0886c8cc0f
Rearrange the exit path so that we don't do a idcache_wbinv_all *twice*
...
when a process exits.
2002-08-06 19:20:29 +00:00
thorpej
62d83d05b1
* Pass proc0 to switch_exit(), to make this a little more like the
...
nathanw_sa branch.
* In switch_exit(), set the outgoing-proc register to NULL (rather than
proc0) so that we actually use the "exiting process" optimization in
cpu_switch().
2002-08-06 17:44:35 +00:00
drochner
b4bf2c6df9
add manpage for the PC87366 superI/O chip, temperature monitor part,
...
driver
2002-08-06 16:44:50 +00:00
soren
69e08c5b46
Make SYNOPSIS accurate about required headers.
...
Fixes PR lib/11021 from wiz.
2002-08-06 16:08:47 +00:00
soren
f734289f1c
Typo, PR misc/17629 from HAMAJIMA Katsuomi.
2002-08-06 15:42:55 +00:00
soren
4d83b9e44b
Fix mistake in algorithm description.
...
PR misc/17796 by Stefan Meinlschmidt.
2002-08-06 15:26:04 +00:00
hannken
80fb19da39
Convert to new device buffer queue interface.
...
Approved by: Paul Kranenburg <pk@netbsd.org>
2002-08-06 14:44:15 +00:00
pooka
a463a940f5
document FORK_CLEANFILES
2002-08-06 14:00:03 +00:00
soren
4ef5847406
Update for etc/skel removals.
2002-08-06 13:58:44 +00:00
pooka
2bc5807797
Add FORK_CLEANFILES flag to fork1(), which makes the new process start out
...
with a clean descriptor set (ie. not copied or shared from parent).
for rfork()
2002-08-06 13:58:08 +00:00
soren
4b843a85e4
dot.mailrc hasn't ever actually been maintained, unlike /etc/mail.rc .
2002-08-06 13:55:03 +00:00
soren
f3893ccbed
It's been a long time since it was nice to have this installed by default.
2002-08-06 13:45:08 +00:00
wiz
1715ae66f5
Fix .Fn arguments.
2002-08-06 13:02:52 +00:00
wiz
05981609c2
Add a missing brace.
2002-08-06 13:01:04 +00:00
wiz
4068c80842
Fix Fn argument.
2002-08-06 12:58:45 +00:00
wiz
0161d54450
Fix Fn (separate arguments).
2002-08-06 12:54:18 +00:00
wiz
6bce40bcab
The argument of .Fn should look like this:
...
.Fn function_name "int first" "char *second"
not like this:
.Fn function_name "int first, char *second".
2002-08-06 12:44:34 +00:00
wiz
af9ce6b208
Fix mdoc. Closes lib/17855.
2002-08-06 12:35:39 +00:00
grant
3273a7757a
add X note comment for INSECURE option.
...
addresses port-i386/17853 from hclsmith@yahoo.ca .
2002-08-06 12:09:42 +00:00
agc
b35288ab0c
Add a function is_local_user(), and use it in moduser(), to check that
...
the user is not found through NIS.
Completes fix of PR 17849, from Grant Beattie (grant@netbsd.org ).
Also, don't cast return type of pw_abort(3) to void, as it already is void.
2002-08-06 11:56:26 +00:00
tron
08e919d1e0
Remove unused variable "err".
2002-08-06 11:39:53 +00:00
agc
569d79bd84
Remove the /etc/ptmp file via pw_abort(3) if the pw_mkdb(3) call fails.
...
Addresses part of PR 17849 from Grant Beattie, grant@netbsd.org .
2002-08-06 09:03:55 +00:00
shin
b0d22e8404
fix CPU_ROOT_DEVICE implementation.
2002-08-06 06:54:36 +00:00
shin
d4552e01aa
compilation fix.
2002-08-06 06:52:49 +00:00
chs
d3c3fef89b
add code from tsubai to handle the second CPU on openpic machines.
...
the second CPU on dual G4 boxes works now.
while I'm here, use mfmsr() and mtmsr() instead of inline asms.
2002-08-06 06:26:19 +00:00
chs
f7fb853264
be sure to re-enable interrupts before calling trap() a second time
...
due to an AST. the rule is that we must always have interrupts
enabled when acquiring kernel_lock, so that we can process blocking IPIs
from another CPU which is already holding kernel_lock.
reduce differences between the MP and non-MP versions of this file.
2002-08-06 06:21:58 +00:00
chs
f73abf90fb
on MP systems, if the firmware didn't configure the L2 cache
...
on the non-boot CPUs, copy the L2CR configuration from the boot CPU.
also, fix the code that configures the L2 cache so that it works at all.
while I'm here, use mfspr() and mtspr() instead of inline asms.
2002-08-06 06:20:08 +00:00
chs
2928d8ba05
actually we shouldn't hold kernel_lock while calling postsig().
2002-08-06 06:18:24 +00:00
chs
0924752f24
add the MSSCR0 register and some more L2CR fields.
2002-08-06 06:17:50 +00:00
chs
461184c6b6
fix the calculation of the address of the IPI dispatch register.
2002-08-06 06:16:42 +00:00
chs
ef0d8145a7
avoid races in mp_save_{fpu,vec}_proc() where the other CPU
...
dumps the state out from under us.
2002-08-06 06:16:04 +00:00
chs
301f1ebf31
move more inlines to cpu.h: mftb(), mftbl() and mfpvr().
...
(the mftb() in pmap.c only wanted the lower 32 bits, so that's now mftbl()).
2002-08-06 06:14:33 +00:00
itojun
cf8807954f
backout previous. i was looking at the wrong RFC.
2002-08-06 04:58:57 +00:00
dbj
a7d4c58694
fix regular expression matcher.
...
the string "xc" was failing to match "x[[a|b]|c]"
2002-08-06 03:39:44 +00:00
soren
1cbfe6af00
Print symbolic names for SMART STATUS attributes.
2002-08-06 01:16:56 +00:00
wiz
7553d4030f
Ispell. Drop .Pp before .Sh.
2002-08-06 00:44:36 +00:00
soren
1cc6ec32e5
s/smart info/smart status/ to better fit in with the standard's feature set.
2002-08-06 00:00:21 +00:00
itojun
fa5ffb82e4
based on RFC2529, stf(4) should have 1480 as MTU, not 1280.
...
tron found it, sync w/kame
2002-08-05 23:37:48 +00:00
bjh21
a69295fb3b
Enable csc(4), since it's reported as working.
2002-08-05 23:30:44 +00:00
bjh21
ed8346a525
Rather than forcing on XS_POLL in SCSI transfers ourselves, set
...
SCSIPI_ADAPT_POLL_ONLY to tell the MI scsipi layer to do it for us. This,
plus G/Cing some debugging code, removes the card-specific scsi_request
wrappers.
2002-08-05 23:30:04 +00:00
soren
9e129fde67
Add ATA SMART reporting support from Ben Collver in kern/12787.
2002-08-05 23:29:27 +00:00
fredette
16cf89e5a5
Made changes in where/how the kernel is linked, and how the pmap
...
maps it with BTLB entries, to minimize the number of BTLB entries
needed.
Because the CPU type was often guessed incorrectly, the mapping of
HP board number to system name now includes information about the
expected CPU type.
2002-08-05 20:58:35 +00:00
fredette
190541e99d
Poll the PDC console less frequently.
2002-08-05 20:38:35 +00:00
fredette
3295720e1a
Don't use ldcw, since netisr might not be 16-byte aligned.
...
Instead, disable interrupts and do a load and a store.
2002-08-05 20:23:56 +00:00
jmcneill
00a0bebf72
Include string.h so this application compiles.
2002-08-05 15:36:51 +00:00
shin
a59d490375
* add CPU_MIPS_NO_LLSC to Toshiba TX3912, TX3922, TX3927.
...
* fix mips_has_llsc calculation logic.
2002-08-05 13:02:40 +00:00
shin
2f33f11745
++CPU_MAXID for CPU_LLSC.
2002-08-05 13:00:47 +00:00