11-12-2010
spurious, i.e. unexpected, unprovoked, or shouldn't have happened in general.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
where can i find the i/o and irq's in mandrake 8
help lost :D (2 Replies)
Discussion started by: RYRY46D9
2 Replies
2. UNIX for Dummies Questions & Answers
ENV: linux Version: Mandrake 8.1, PCMCIA card: longshine lcs-8534TB.
(supported according the PCMCIA docs)
laptop is P-II lifetec
/etc/sysconfig/pcmcia:
PCMCIA=yes
PCIC=i82365 ( found via probe -m )
PCIC_OPTS="cs_irq=11 pci_irq_list=11,11 do_scan=0" ( you see i want to force irq 11 )... (3 Replies)
Discussion started by: progressdll
3 Replies
3. UNIX for Dummies Questions & Answers
FreeBSD 4.5
i installed my sound drivers (which are onboard) with the following lines in my kernel
device pcm
options PNPBIOS
then cd /dev
sh MAKEDEV snd0
output from cat /dev/sndstat show the devicedriver (correct one)
ok this works nice
untill i enter my kde and want to play a... (1 Reply)
Discussion started by: termiEEE
1 Replies
4. UNIX for Dummies Questions & Answers
hi,
i looked around already and had no luck finding anything.
Im trying ot install a wpc11v3 linksys wireless card, and i have been for about a week now. :mad: Im near certain i have figured out my problem. When i plug in my card while knoppix is running, it crashes. When i plug it into... (0 Replies)
Discussion started by: jestra
0 Replies
5. UNIX for Advanced & Expert Users
Hi,
I want to increase IRQ4 priority to maximum in Fedora core 9 (kernel version 2.6.25.11-97).If anybody knows plz help me....
I will be very thankful ..
regards,
Raj (0 Replies)
Discussion started by: rajuprade
0 Replies
6. Linux
Hi all,
I am a Linux newbie in kernel development. In class I was asked a question about IRQ distribution as followed.
IRQs can be distributed among the available CPUs (in a multiple-CPU system) in two ways:
(1) Static distribution
The IRQ signal is delivered to the local APICs listed... (2 Replies)
Discussion started by: sunnyhay
2 Replies
7. UNIX for Dummies Questions & Answers
Hello,
I have develop a driver for my hardware and now, I need to handle a IRQ but I does not work.
As I can understand, to handle a irq, it is necessary to make a request_irq(). If the return value is zero, ok, no problem to handle irq.
Here is a easy example of my driver:
#include... (8 Replies)
Discussion started by: webquinty
8 Replies
8. Shell Programming and Scripting
hi all,
i am writing a wrapping script to burn subtitle into video file using transcode. I got this very weird error:
code:
inFile="movie.avi"
subFile="sub.srt"
outFile="movie_sub.avi"
strExc="-i $inFile -x 'mplayer=-sub $subFile' -w $vidBR -o $outFile -y xvid"
echo "transcode $strExc"... (2 Replies)
Discussion started by: tduccuong
2 Replies
9. Hardware
Hello everyone. I feel that I'm about to answer my own question, but I just want to be sure that I'm right. I know computers all use, at a very low level, the IRQ system of interrupting the CPU when it needs something. My questions are as follows:
1. Does the device in question, say.. a mouse,... (1 Reply)
Discussion started by: Lost in Cyberia
1 Replies
10. Programming
Hello,
I'm writing some serial(UART) handler but have stuck on few issues, maybe anyone can help to show me what I'm doing wrong.
Basically I'm intending to write serial RX signal handler.
Application receives defined packages of data over serial which contains header and payload. Handler... (3 Replies)
Discussion started by: Lauris_k
3 Replies
LEARN ABOUT OPENSOLARIS
feupdateenv
feupdateenv(3M) Mathematical Library Functions feupdateenv(3M)
NAME
feupdateenv - update floating-point environment
SYNOPSIS
c99 [ flag... ] file... -lm [ library... ]
#include <fenv.h>
int feupdateenv(const fenv_t *envp);
DESCRIPTION
The feupdateenv() function attempts to save the currently raised floating-point exceptions in its automatic storage, attempts to install
the floating-point environment represented by the object pointed to by envp, and then attempts to raise the saved floating-point excep-
tions. The envp argument points to an object set by a call to fegetenv(3M) or feholdexcept(3M), or equals a floating-point environment
macro.
RETURN VALUES
The feupdateenv() function returns 0 if and only if all the required actions were successfully carried out.
ERRORS
No errors are defined.
EXAMPLES
The following example demonstrates sample code to hide spurious underflow floating-point exceptions:
Example 1 Hide spurious underflow floating-point exceptions.
#include <fenv.h>
double f(double x)
{
# pragma STDC FENV_ACCESS ON
double result;
fenv_t save_env;
feholdexcept(&save_env);
// compute result
if (/* test spurious underflow */)
feclearexcept(FE_UNDERFLOW);
feupdateenv(&save_env);
return result;
}
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
fegetenv(3M), feholdexcept(3M), fenv.h(3HEAD), attributes(5), standards(5)
NOTES
In a multithreaded program, the feupdateenv() function affects the floating point environment only for the calling thread.
When the FEX_CUSTOM handling mode is in effect for an exception, raising that exception using feupdateenv() causes the handling function to
be invoked. The handling function can then modify the exception flags to be set as described in fex_set_handling(3M). Any result value the
handler supplies will be ignored.
The feupdateenv() function automatically installs and deinstalls SIGFPE handlers and sets and clears the trap enable mode bits in the
floating point status register as needed. If a program uses these functions and attempts to install a SIGFPE handler or control the trap
enable mode bits independently, the resulting behavior is not defined.
As described in fex_set_handling(3M), when a handling function installed in FEX_CUSTOM mode is invoked, all exception traps are disabled
(and will not be reenabled while SIGFPE is blocked). Thus, attempting to change the environment from within a handler by calling fes-
etenv(3M) or feupdateenv might not produce the expected results.
SunOS 5.11 12 Jul 2006 feupdateenv(3M)