niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » SGI/IRIX » hardware
vme user level interrupt registration problem
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
Author Message
Guest






PostPosted: Tue May 24, 2005 6:30 pm    Post subject: vme user level interrupt registration problem Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
The time now is Fri Jan 09, 2009 6:19 am | All times are GMT
navigation Forum index » *nix » SGI/IRIX » hardware
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts postfix smtp authentication using mysql stored user/pass rtresidd Postfix 0 Fri Oct 03, 2008 5:58 am
No new posts Unknown in header problem -SOLVED- Light Speed Postfix 0 Thu Jul 03, 2008 10:40 am
No new posts problem with sending mail nuxia Postfix 0 Mon Apr 21, 2008 3:58 am
No new posts Postfix 2.3.8 Virtual problem Blotto Postfix 0 Fri Apr 04, 2008 6:11 am
No new posts Postfix sending problem for local domain remote email monkey_magix Postfix 0 Mon Sep 10, 2007 10:17 am

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
[ Time: 0.2259s ][ Queries: 16 (0.1652s) ][ GZIP on - Debug on ]