36 "Unexpected trap (%2" PRId32
") at address 0x%08" PRIx32
"\n",
51 printk(
"instruction access exception\n" );
54 printk(
"illegal instruction\n" );
57 printk(
"privileged instruction\n" );
63 printk(
"memory address not aligned\n" );
66 printk(
"fp exception\n" );
69 printk(
"tag overflow\n" );
122 #if !defined(SPARC_USE_LAZY_FP_SWITCH) 142 void bsp_spurious_initialize()
151 for ( trap=0 ; trap<256 ; trap++ ) {
160 if (( trap == 5 ) || ( trap == 6 ) ||
161 #
if defined(SPARC_USE_LAZY_FP_SWITCH)
164 (( trap >= 0x11 ) && ( trap <= 0x1f )) ||
165 (( trap >= 0x70 ) && ( trap <= 0x83 )) ||
166 ( trap == 0x80 + SPARC_SWTRAP_IRQDIS ) ||
167 #
if defined(SPARC_USE_SYNCHRONOUS_FP_SWITCH)
168 ( trap == 0x80 + SPARC_SWTRAP_IRQDIS_FP ) ||
170 ( trap == 0x80 + SPARC_SWTRAP_IRQEN ))
static uint32_t sparc_disable_interrupts(void)
SPARC disable processor interrupts.
static RTEMS_NO_RETURN void rtems_fatal(rtems_fatal_source fatal_source, rtems_fatal_code error_code)
%
static void sparc_enable_interrupts(uint32_t psr)
SPARC enable processor interrupts.
Fatal source of the exceptions.
Interrupt stack frame (ISF).
#define SPARC_REAL_TRAP_NUMBER(_trap)
SPARC CPU Department Source.
Interface to Kernel Print Methods.
Internal_errors_t rtems_fatal_code
%
#define SPARC_SYNCHRONOUS_TRAP(_trap)
void _Internal_error(Internal_errors_Core_list core_error) RTEMS_NO_RETURN
Terminates the system with an INTERNAL_ERROR_CORE fatal source and the specified core error code...
void(* rtems_isr_entry)(void *)
Interrupt service routines installed by rtems_interrupt_catch() shall have this function pointer type...
ISR_Vector_number rtems_vector_number
%
int printk(const char *fmt,...) RTEMS_PRINTFLIKE(1
Kernel Print.