RTEMS 6.1-rc6
Loading...
Searching...
No Matches
Modules
Time Test 27 Support

The Time Test 27 (TM27) support is used to measure the timing of the interrupt processing. More...

Modules

 Time Test 27 Default
 Stuff for Time Test 27.
 

Detailed Description

The Time Test 27 (TM27) support is used to measure the timing of the interrupt processing.

The TMS27 support should provide two software generated interrupt requests, one low priority request raised by Cause_tm27_intr() and one higher priority request raised by Lower_tm27_intr(). Both requests should be cleared by Clear_tm27_intr(). A handler provided by the test should be installed through Install_tm27_vector(). This function should initialize the system so that the software generated interrupt requests can be raised and cleared.

If the raise functions Cause_tm27_intr() and Lower_tm27_intr() do not trigger the interrupt immediately, then the TM27 support shall define MUST_WAIT_FOR_INTERRUPT to one, otherwise MUST_WAIT_FOR_INTERRUPT shall be defined to zero.

The TM27 support may define TM27_INTERRUPT_VECTOR_DEFAULT to indicate the interrupt vector of the interrupt request raised by Cause_tm27_intr().

The TM27 support may define TM27_INTERRUPT_VECTOR_ALTERNATIVE to provide an alternative software generated interrupt request which is raised by _TM27_Raise_alternative() and cleared by _TM27_Clear_alternative(). Both functions shall return an RTEMS status code. This interrupt vector may be used to test the interrupt controller support on targets which do not provide generic software generated interrupts.