Zephyr API Documentation
3.7.0
A Scalable Open Source RTOS
|
Nios II specific kernel interface header This header contains the Nios II specific kernel interface. More...
#include <system.h>
#include <zephyr/arch/nios2/thread.h>
#include <zephyr/arch/nios2/exception.h>
#include <zephyr/arch/nios2/asm_inline.h>
#include <zephyr/arch/common/addr_types.h>
#include <zephyr/devicetree.h>
#include <zephyr/arch/nios2/nios2.h>
#include <zephyr/arch/common/sys_bitops.h>
#include <zephyr/sys/sys_io.h>
#include <zephyr/arch/common/ffs.h>
#include <zephyr/types.h>
#include <zephyr/irq.h>
#include <zephyr/sw_isr_table.h>
Go to the source code of this file.
Macros | |
#define | ARCH_STACK_PTR_ALIGN 4 |
#define | ARCH_IRQ_CONNECT(irq_p, priority_p, isr_p, isr_param_p, flags_p) |
#define | NIOS2_BADADDR_CAUSE_MASK |
Functions | |
static ALWAYS_INLINE unsigned int | arch_irq_lock (void) |
static ALWAYS_INLINE void | arch_irq_unlock (unsigned int key) |
static ALWAYS_INLINE bool | arch_irq_unlocked (unsigned int key) |
void | arch_irq_enable (unsigned int irq) |
void | arch_irq_disable (unsigned int irq) |
uint32_t | sys_clock_cycle_get_32 (void) |
static uint32_t | arch_k_cycle_get_32 (void) |
uint64_t | sys_clock_cycle_get_64 (void) |
static uint64_t | arch_k_cycle_get_64 (void) |
static ALWAYS_INLINE void | arch_nop (void) |
Nios II specific kernel interface header This header contains the Nios II specific kernel interface.
It is included by the generic kernel interface header (include/arch/cpu.h)
#define ARCH_IRQ_CONNECT | ( | irq_p, | |
priority_p, | |||
isr_p, | |||
isr_param_p, | |||
flags_p | |||
) |
#define ARCH_STACK_PTR_ALIGN 4 |
#define NIOS2_BADADDR_CAUSE_MASK |
void arch_irq_disable | ( | unsigned int | irq | ) |
void arch_irq_enable | ( | unsigned int | irq | ) |
|
static |
|
static |
|
static |
|
inlinestatic |
|
inlinestatic |
|
static |
uint32_t sys_clock_cycle_get_32 | ( | void | ) |
uint64_t sys_clock_cycle_get_64 | ( | void | ) |