Problem with rtems directive

Soumyadeb Mitra csd97407 at
Thu May 17 07:43:15 UTC 2001

	I am using RTEMS for an academic project invloving porting
a linux driver to rtems.

	I am having a problem with the following piece of code.


This is the only thread running(apart from the idle thread).The assignment
statement fpga[0]=0 immediately triggers a hardware interrupt.But since
the current thread has interrupts disabled the ISR is not called.
	However once the current thread is suspended ,the ISR should be
	For somme strange reason the above code generates an exception.The
thread id  printed by the exception handler is that of the idle-thread.

Has anyone faced similar problems or has a solution?



More information about the users mailing list