33#ifndef _RTEMS_TMTEST27
34 #error "This is an RTEMS internal file you must not include directly."
43#define MUST_WAIT_FOR_INTERRUPT 1
49 (*tm27_interrupt_handler)( NULL);
58 tm27_interrupt_handler = handler;
62 printk(
"Error installing clock interrupt handler!\n");
66#define Cause_tm27_intr() \
67 ppc_set_decrementer_register( 8)
69#define Clear_tm27_intr() \
70 ppc_set_decrementer_register( UINT32_MAX)
72#define Lower_tm27_intr() \
73 (void) ppc_external_exceptions_enable()
void(* rtems_interrupt_handler)(void *)
Interrupt handler routines shall have this type.
Definition: intr.h:1030
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
General purpose assembler macros, linker command file support and some inline functions for direct re...
The set of registers that specifies the complete processor state.
Definition: cpu.h:446