L4Re - L4 Runtime Environment
|
Overly definition of the MRs for exception messages. More...
Functions | |
l4_exc_regs_t * | l4_utcb_exc (void) L4_NOTHROW L4_PURE |
Get the message-register block of a UTCB (for an exception IPC). More... | |
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. More... | |
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. More... | |
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. | |
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. More... | |
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. | |
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(). More... | |
Overly definition of the MRs for exception messages.
|
inline |
Get the message-register block of a UTCB (for an exception IPC).
u
.
|
inline |
Check whether an exception IPC was triggered via l4_thread_ex_regs().
0 | Exception was not triggered through ex_regs. |
!=0 | Exception was triggered through ex_regs. |
This function checks if the exception was emitted by using the L4_THREAD_EX_REGS_TRIGGER_EXCEPTION flag in an l4_thread_ex_regs() call.
Definition at line 115 of file utcb.h.
References l4_utcb_exc_typeval().
|
inline |
Check whether an exception IPC is a page fault.
Function to check whether an exception IPC is a page fault, also applies to I/O pagefaults.
Definition at line 105 of file utcb.h.
References l4_exc_regs_t::trapno.
|
inline |
Access function to get the program counter of the exception state.
u | UTCB |
|
inline |
Set the program counter register in the exception state.
u | UTCB |
pc | The program counter to set. |
Definition at line 95 of file utcb.h.
References l4_exc_regs_t::pc.