20 #ifndef _RTEMS_TMTEST27 21 #error "This is an RTEMS internal file you must not include directly." 24 #ifndef TMTESTS_TM27_H 25 #define TMTESTS_TM27_H 30 #define MUST_WAIT_FOR_INTERRUPT 1 36 (*tm27_interrupt_handler)( 0);
45 tm27_interrupt_handler = handler;
49 printk(
"Error installing clock interrupt handler!\n");
53 #define Cause_tm27_intr() \ 54 ppc_set_decrementer_register( 8) 56 #define Clear_tm27_intr() \ 57 ppc_set_decrementer_register( UINT32_MAX) 59 #define Lower_tm27_intr() \ 60 (void) ppc_external_exceptions_enable() ISR_Vector_number rtems_vector_number
Control block type used to manage the vectors.
Definition: intr.h:47
General purpose assembler macros, linker command file support and some inline functions for direct re...
rtems_status_code ppc_exc_set_handler(unsigned vector, ppc_exc_handler_t hdl)
Set high-level exception handler.
Definition: ppc_exc_hdl.c:73
The set of registers that specifies the complete processor state.
Definition: cpu.h:629
int printk(const char *fmt,...) RTEMS_PRINTFLIKE(1
Kernel Print.