|
|
|
|
|
|
| Author |
Message |
Guest
|
Posted: Tue May 24, 2005 6:30 pm Post subject:
vme user level interrupt registration problem
|
|
|
Hi,
I am trying to setup user level interrupts (ULI) for my vme device on
Irix 6.2. Before I decided to use ULI, the device was working, but I
was using polling instead of interrupts.
The file irix.sm system configuration file has the following line
"USE: xiovme vmeio universe usrvme ude" which sets up the VME bus.
According to the ULI man page, I added the following line to the
irix.sm file:
"VECTOR: bustype=VME module=vmeuli ipl=7 adapter=2" leaving out ctlr
and vector (since the vector is programmable).
In the driver code, I tried to register a ULI interrupt handler by
calling the function ULI_register_vme(int fd, void (*func) (void*),
void*arg, int nsemas, char *stack, int stacksize, int ipl, int *vec)
When I run the code, I get a bus error caused by calling the
ULI_register_vme function.
Any suggestions on how I can approach to figuring this problem out?
Thanks.
Sincerely,
Richard Lin |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Fri Jan 09, 2009 6:19 am | All times are GMT
|
|
Mortgages | Fashion Jewelry | Brazilian Property | Debt Consolidation | Loans
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|