24 #ifndef __L4_SYS__INCLUDE__ARCH_ARM__UTCB_H__ 25 #define __L4_SYS__INCLUDE__ARCH_ARM__UTCB_H__ 72 #include_next <l4/sys/utcb.h> 83 __asm__ (
"mov lr, pc \n" 84 "mov pc, #0xffffff00 \n" 85 :
"=r"(utcb) : :
"lr");
107 return ((u->err >> 26) & 0x30) == 0x20;
112 return (u->pfa & ~7UL) | ((u->err >> 5) & 2);
Total number of message register (MRs) available.
l4_umword_t sp
stack pointer
int l4_utcb_exc_is_pf(l4_exc_regs_t const *u) L4_NOTHROW L4_PURE
Check whether an exception IPC is a page fault.
int l4_utcb_exc_is_ex_regs_exception(l4_exc_regs_t const *u) L4_NOTHROW L4_PURE
Check whether an exception IPC was triggered via l4_thread_ex_regs().
Common L4 ABI Data Types.
l4_umword_t err
error code
struct l4_utcb_t l4_utcb_t
Opaque type for the UTCB.
BDR flag to accept reception of FPU state.
unsigned long l4_utcb_exc_typeval(l4_exc_regs_t const *u) L4_NOTHROW L4_PURE
Get the value out of an exception UTCB that describes the type of exception.
Number if message registers used for exception IPC.
Offset of MR[0] relative to the UTCB pointer.
Total number of buffer registers (BRs) available.
l4_umword_t tpidruro
Thread-ID register.
struct l4_exc_regs_t l4_exc_regs_t
UTCB structure for exceptions.
unsigned long l4_umword_t
Unsigned machine word.
l4_addr_t l4_utcb_exc_pfa(l4_exc_regs_t const *u) L4_NOTHROW L4_PURE
Function to get the L4 style page fault address out of an exception.
void l4_utcb_exc_pc_set(l4_exc_regs_t *u, l4_addr_t pc) L4_NOTHROW
Set the program counter register in the exception state.
Offset of BR[0] relative to the UTCB pointer.
Offset of TCR[0] relative to the UTCB pointer.
L4_utcb_consts_arm
UTCB constants for ARM.
l4_umword_t pfa
page fault address
Offset of two consecutive UTCBs.
UTCB structure for exceptions.
l4_umword_t r[13]
registers
unsigned long l4_addr_t
Address type.
l4_umword_t l4_utcb_exc_pc(l4_exc_regs_t const *u) L4_NOTHROW L4_PURE
Access function to get the program counter of the exception state.
#define L4_NOTHROW
Mark a function declaration and definition as never throwing an exception.