Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - SIGSEGV in InterruptUnlock / __inline_InterruptEnable : (1 Item)
   
SIGSEGV in InterruptUnlock / __inline_InterruptEnable  
Hi,

I am getting SIGSEGV during InterruptUnlock / __inline_InterruptEnable

The piece of code that causes this fault is as follows:

InterruptLock(&_intr_lock);
/* couple of pci config writes */
InterruptUnlock(&_intr_lock);


I/O privileges have been obtained for this thread with:

ThreadCtl(_NTO_TCTL_IO, 0);

Can a Threads I/O privileges be lost at runtime? If so, what can cause it?
Are there any other reasons for a SIGSEGV to be generated during Interrupt Enable/Disable?

The code is running on a BCM1250 (MIPS) based H/W running ONX 6.3

Regards
Chaitanya