matt
15fc41dbb0
When trying to figure out which code to return, use the exception enable
...
bits to mask out the undesired exceptions. (Thanks to Todd Whitesel for
the idea).
2004-04-04 22:20:44 +00:00
matt
e5795ee03a
Add libraries needed for configure
2004-04-04 20:17:27 +00:00
matt
6aeab1d37b
Update FPSCR_FX consistently per the Programming Environment Manual. So
...
if any sticky bit is set, FPSCR_FX should be set. If no sticky bits are
set, then FPSCR_FX should be clear.
2004-04-04 19:54:05 +00:00
matt
6da9a37235
Deal with the way FP_X_INV works. That maps to FPSCR_VX. However FPSCR_VX
...
is not a sticky, it's actually an inclusive OR of 9 stick bits. So when
FP_X_INV is cleared, we need to clear all of those bits. When FP_X_INV is
set, we set all of them.
2004-04-04 19:31:19 +00:00
matt
47e6b704bb
Lint cleanup. s/u_int64_t/uint64_t
2004-04-04 19:28:13 +00:00
matt
fb0f2fdab6
Supress a few lint warnings. s/u_int64_t/uint64_t/
2004-04-04 19:27:19 +00:00
matt
acdea83164
Suppress a lint warning.
2004-04-04 19:26:21 +00:00
matt
e7c76e51e6
Add SIGFPE handling code. Report the proper SIGINFO ksi_code when a SIGFPE
...
happens. When a SIGFPE occurs, disable the exception enables in the FPSCR.
2004-04-04 19:21:36 +00:00
pk
12d5178857
For now, disable Hypersparc instruction cache on MP machines.
2004-04-04 18:54:01 +00:00
pk
8066aa3aa5
* Allow pv_link4_4c() to fail with ENOMEM on pool allocation failures
...
(catching up with pv_link4m()).
* Fix return code checking for pv_link4m() calls.
* Add low water setting to pv pool.
2004-04-04 18:34:35 +00:00
pk
486f4170eb
Remove private declarations of maxdmap and maxsmap.
2004-04-04 18:24:22 +00:00
pk
b3efee4b3b
We use maxdmap and maxsmap, so remove comment questioning that.
2004-04-04 18:22:44 +00:00
pk
daff668b49
Use maxdmap and maxsmap instead of MAXDSIZ and MAXSSIZ.
2004-04-04 18:21:48 +00:00
pk
30fdd39bf8
Declare maxdmap and maxsmap.
2004-04-04 18:18:27 +00:00
uwe
e548ab355a
Correct the comment about contrast control in HD64461 GPIO port B:
...
6th bit is the least significant, 3rd is the most significant.
2004-04-04 17:49:38 +00:00
matt
bc8d283982
Reformat the __asm a bit.
2004-04-04 17:35:15 +00:00
uwe
7b00555453
Add intro(4) and j6x0lcd(4) for hpcsh.
2004-04-04 17:34:43 +00:00
uwe
1226dc06a6
Document j6x0lcd driver.
2004-04-04 17:28:48 +00:00
matt
5bf797c2e1
Add int get_fpu_fault_code(void).
2004-04-04 17:26:58 +00:00
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