Commit Graph

125949 Commits

Author SHA1 Message Date
matt
481d181cd4 In cpu_getmcontext, make sure the returned MSR has the FP exception mode
(PSL_FE0|PSL_FE1) saved in the PSL.  In cpu_setmcontext, copy the FP
exception bits to the PCB where they live.
2004-04-04 17:26:10 +00:00
matt
847bed9428 Fix the way cpu_setmcontext was restoring FPSCR. Make the opposite of the
way that cpu_getmcontext was saving it.  (FPSCR was being saved incorrectly
before and thus obliterated when a signal happened).
2004-04-04 17:20:15 +00:00
perry
9b863e179d make this man page explain what the calls do somewhat better. 2004-04-04 17:10:48 +00:00
matt
7681ce429d Make sure that the SRR1 we pass to userland reflects PSL_FE0|PSL_FE1 even
if the lwp doesn't currently own the FPU.  When returning, copy those bits
back to the PCB.  (In case the user decided to the FP exception mode in the
signal handler).
2004-04-04 17:10:32 +00:00
uwe
d1001802a5 This manual page is hpcsh-specific. Say so in .Dt macro. 2004-04-04 17:06:45 +00:00
matt
4dc0aa3dee Don't add PSL_FE_FDLT to srr1, but put in pcb_flags. It will be added to
the SRR1 only when the lwp owns the FPU.
2004-04-04 17:05:31 +00:00
uwe
b40990679f First cut at intro(4) for the NetBSD/hpcsh port.
PR port-hpcsh/24158.
2004-04-04 17:03:39 +00:00
matt
44003b5fca The FP exception mode bits from the MSR will be stored in pcb_flags. From
there, they will copied to MSR as needed (when FP is enabled).  They will be
cleared from the MSR when the lwp loses the FPU.  Hence they need to be stored
someplace else.
2004-04-04 17:01:44 +00:00
matt
aed3d18029 On FPU'ed systems, initialize the default FP exception mode. 2004-04-04 16:57:00 +00:00
matt
c0dce2fdd9 Be a lot more explicit about the MSR bits a user process can change. 2004-04-04 16:49:12 +00:00
matt
0d6bda4d21 When returning back to user mode, if the lwp has lost the FPU, not only
clear PSL_FP bit (to force a FPU Unavailable exception) but clear
PSL_FE0 and PSL_FE1 so that the FP execption mode is changes to ignore.
This will prevent spurious FP exceptions being made when the running lwp
doesn't own the FPU.
2004-04-04 16:47:02 +00:00
kochi
ee2683e797 Support for PIRQ[E-H], found in recent intel south bridges
(ICH2 and later), which fixes PR/23700.
The changes are from Hiroyuki Bessho and Masanori Kanaoka in PR/23700
with a little modification of interrupt router lookup from mine.
2004-04-04 16:06:09 +00:00
mrg
625248bde9 install ippool(5) manual as well. from peter postma in PR#25053. 2004-04-04 15:59:44 +00:00
kochi
41ea3c2a77 add one more PCI ID (ICH4-M). 2004-04-04 15:16:38 +00:00
lha
6f880d33f3 bump minor version on libkrb5 2004-04-04 14:01:05 +00:00
mrg
f79db8d04e move ipmon's "-D" argument from "command_args" to "ipmon_flags" so that
passing an (optional) filename argument (that must come last) works fine
from $ipmon_flags.  from PR#25006.
2004-04-04 13:59:36 +00:00
mrg
a2dc58e139 add 587 tcp/udp for submission "Message Submission" protocol; from PR#25028 2004-04-04 12:53:03 +00:00
nakayama
cf7c3ba713 s/__sparc_v9__/__sparc64__/
"gcc -m32 -mcpu=ultrasparc" defines __sparc_v9__, so __sparc64__ is
more appropriate to indicate a 64-bit environment.
2004-04-04 11:59:51 +00:00
nakayama
1de145799e Revert a part of rev. 1.44.
OF_getprop can get only the first "reg" property with a statically
allocated buffer, but prom_getprop cannot.
This should fix a "kernel trap 30: data access exception" when you
invoke a pcictl(8).
2004-04-04 11:53:40 +00:00
wiz
522d70a8d4 Remove apostrophe that should not be there. 2004-04-04 10:31:33 +00:00
wiz
2be3546ee6 Use setprogname(); sort options in usage. 2004-04-04 10:29:20 +00:00
mrg
32a2d102bd redo previous slightly; move the "int unode;" decl inside the
if (CPU_ISSUN4D) code block, reducing #ifdef/#endif count by one.
2004-04-04 10:09:41 +00:00
mrg
b32cb935ed evbsh3 builds Xvfb. 2004-04-04 10:06:24 +00:00
gson
f92c1b091a Unused variable "unode" caused compiler warning when !defined(SUN4D). 2004-04-04 08:54:29 +00:00
jdc
8510001c69 Add termcap entry for Olivetti M10 and compatibles. From Christian Biere
in PR misc/17739.
2004-04-04 07:49:53 +00:00
simonb
374ed5ae2b Fix bogus gcc -Wuninitialised warning when SYSCALL_DEBUG is enabled. 2004-04-04 05:32:20 +00:00
uwe
81b1f93220 Verbs has to agree in number with their subjects. 2004-04-04 03:46:13 +00:00
uwe
f292fa7af0 Describe GUI elements. 2004-04-04 03:41:03 +00:00
mrg
8808c7e901 create the dhclient.leases file mode 600 for now as it may contain
"media" lines that contain wireless network keys, that eg, ifconfig(8)
carefully hides.

this is not a complete solution, but it's OK until one arrives.

approved by mellon@.  fixes the problem described in PR#22271.
2004-04-04 02:35:21 +00:00
tsutsui
0e9036c16a Add ALTENTRY(kernel_text) for pmap(1). 2004-04-04 02:09:34 +00:00
christos
ea764b2823 - add debugging flag
- use getprogname everywhere
- fix bug where if no .vacation.db existed, and the first message was not
  suitable for reply, vacation would create a 0 length db file, and from
  then on it would fail to process.
- handle e-mail address parsing better.
2004-04-04 01:19:35 +00:00
christos
4dae1e8533 document debugging flag. 2004-04-04 01:17:29 +00:00
jonathan
e05bba34d6 Fix mistaken arguments to bge_set_thresh(); the prior revision would
pass the bge_softc * to a function expecting the struct ifnet*,
triggering a panic every time the Rx-mitigation value is changed via sysctl.
(Testing via kernel debugger before Andrew's recent sysctl(9) changes
was done with the exact same mistaken argument.)
2004-04-04 00:43:25 +00:00
lukem
9e2ca4378e Add -I${X11SRCDIR.xc}/extras/expat/lib to CPPFLAGS.
Should fix problem Hubert Feyrer was experiencing.
2004-04-04 00:20:45 +00:00
christos
911c325c50 reverse logic in from test; from wiz 2004-04-03 23:57:32 +00:00
christos
103578edc3 fix date and wording; suggested by wiz 2004-04-03 23:56:49 +00:00
pk
af0db768b1 Maintain pmap resident count as pages are mapped and unmapped instead
of traversing the page tables each time it's needed.
2004-04-03 23:11:14 +00:00
he
bf8f08004d Move kvm library spec to Makefile.inc, so that it gets specified
after the ipf library, since the ipf library depends on some functions
from the kvm library.

Fixes a build problem observed when building for sun2 (though I
won't claim understanding why this doesn't show up elsewhere).
2004-04-03 22:16:27 +00:00
christos
58fa7a1588 - Fix bug in the determination of apparently-to and delivered-to.
- Add -f flag to look in Sender:, From:, and Return-Path: for the sender.
2004-04-03 20:55:13 +00:00
perry
def0fefbb4 I don't do bootblocks any more 2004-04-03 19:51:14 +00:00
matt
4dfb2be423 When a process is being traced (debugged) and a catchable signal arrives,
make sure to save its ksiginfo_t for eventual delivery.  This makes debugging
SA_SIGINFO signal handlers work.
2004-04-03 19:46:10 +00:00
matt
dfe066e777 Add the notion of an "empty" ksiginfo_t (one where on signo is filled in).
Add an initializer for them: KSI_INIT_EMPTY
Add a predicate for them: KSI_EMPTY_P
Don't bother storing empty ksiginfo_t's since they have no information.
Change uses of KSI_INIT to KSI_INIT_EMPTY where no other information other
than the signo is being filled in.
2004-04-03 19:43:08 +00:00
matt
11d24b6c29 Replace memset's of ksiginfo_t with KSI_INIT (which is the proper way to
initialize ksiginfo_t structures).
2004-04-03 19:38:04 +00:00
groo
f2d334068a Let's try that again... one comes from .CURDIR, another set of files
comes from .OBJDIR.
2004-04-03 18:18:21 +00:00
groo
291203c667 Don't cd ${.CURDIR}, it's not where the uudecoded objects are. 2004-04-03 17:45:19 +00:00
chs
ec48121fb7 add some SUN4D stuff.
zs and zstty no longer need "needs-count" or "needs-flag",
so get rid of those and wild-card the extra zs devices on SUN4D.
2004-04-03 17:43:50 +00:00
chs
89e7b5360f don't complain about mid == 0 on SUN4D, it's normal there. 2004-04-03 17:42:27 +00:00
chs
8e5882e190 add a bootbus (SUN4D) attachment. from Stephen Sukovich in PR 24199. 2004-04-03 17:42:07 +00:00
chs
81f3e5aec7 fix find_cpus() for SUN4D. from Stephen Sukovich in PR 24198. 2004-04-03 17:41:54 +00:00
christos
46937c5008 Avoid infinite recursion on:
echo "foo foo bar bar bar baz" | sed 's/\([^ ]*\)\( *\1\)*/\1/g'

From OpenBSD.
2004-04-03 17:00:00 +00:00