RTEMS
Public Attributes | List of all members
CPU_Trap_table_entry Struct Reference

#include <cpu.h>

Public Attributes

uint32_t mov_psr_l0
 
uint32_t sethi_of_handler_to_l4
 
uint32_t jmp_to_low_of_handler_plus_l4
 
uint32_t mov_vector_l3
 

Detailed Description

The following type defines an entry in the SPARC's trap table.

NOTE: The instructions chosen are RTEMS dependent although one is obligated to use two of the four instructions to perform a long jump. The other instructions load one register with the trap type (a.k.a. vector) and another with the psr.

Definition at line 627 of file cpu.h.

Member Data Documentation

◆ jmp_to_low_of_handler_plus_l4

uint32_t CPU_Trap_table_entry::jmp_to_low_of_handler_plus_l4

This will contain a "jmp %l4 + %lo(_handler)" instruction.

Definition at line 633 of file cpu.h.

◆ mov_psr_l0

uint32_t CPU_Trap_table_entry::mov_psr_l0

This will contain a "mov %psr, %l0" instruction.

Definition at line 629 of file cpu.h.

◆ mov_vector_l3

uint32_t CPU_Trap_table_entry::mov_vector_l3

This will contain a " mov _vector, %l3" instruction.

Definition at line 635 of file cpu.h.

◆ sethi_of_handler_to_l4

uint32_t CPU_Trap_table_entry::sethi_of_handler_to_l4

This will contain a "sethi %hi(_handler), %l4" instruction.

Definition at line 631 of file cpu.h.


The documentation for this struct was generated from the following file: