#include "interrupt_utils.h"
Go to the source code of this file.
Defines | |
#define | FIQ_MASK 0x00000040 |
#define | INT_MASK (IRQ_MASK | FIQ_MASK) |
#define | IRQ_MASK 0x00000080 |
Functions | |
static unsigned | __get_cpsr (void) |
static void | __set_cpsr (unsigned val) |
unsigned | disableFIQ (void) |
unsigned | disableIRQ (void) |
unsigned | enableFIQ (void) |
unsigned | enableIRQ (void) |
unsigned | restoreFIQ (unsigned oldCPSR) |
unsigned | restoreIRQ (unsigned oldCPSR) |
#define FIQ_MASK 0x00000040 |
Definition at line 17 of file interrupt_utils.c.
Definition at line 18 of file interrupt_utils.c.
#define IRQ_MASK 0x00000080 |
Definition at line 16 of file interrupt_utils.c.
static unsigned __get_cpsr | ( | void | ) | [inline, static] |
Definition at line 20 of file interrupt_utils.c.
static void __set_cpsr | ( | unsigned | val | ) | [inline, static] |
Definition at line 27 of file interrupt_utils.c.
unsigned disableFIQ | ( | void | ) |
Definition at line 59 of file interrupt_utils.c.
unsigned disableIRQ | ( | void | ) |
Definition at line 32 of file interrupt_utils.c.
unsigned enableFIQ | ( | void | ) |
Definition at line 77 of file interrupt_utils.c.
unsigned enableIRQ | ( | void | ) |
Definition at line 50 of file interrupt_utils.c.
unsigned restoreFIQ | ( | unsigned | oldCPSR | ) |
Definition at line 68 of file interrupt_utils.c.
unsigned restoreIRQ | ( | unsigned | oldCPSR | ) |
Definition at line 41 of file interrupt_utils.c.