16#ifndef ZEPHYR_INCLUDE_ARCH_OPENRISC_ARCH_H_
17#define ZEPHYR_INCLUDE_ARCH_OPENRISC_ARCH_H_
22#if !defined(_ASMLANGUAGE) && !defined(__ASSEMBLER__)
32#include <openrisc/openriscregs.h>
34#define ARCH_STACK_PTR_ALIGN 8
56#define ARCH_IRQ_CONNECT(irq_p, priority_p, isr_p, isr_param_p, flags_p) \
58 Z_ISR_DECLARE(irq_p, 0, isr_p, isr_param_p); \
63 __asm__
volatile (
"l.nop");
OpenRISC public interrupt handling.
Per-arch thread definition.
Public interface for configuring interrupts.
static ALWAYS_INLINE void arch_nop(void)
Definition arch.h:61
OpenRISC public exception handling.
uint64_t sys_clock_cycle_get_64(void)
uint32_t sys_clock_cycle_get_32(void)
static uint32_t arch_k_cycle_get_32(void)
Definition arch.h:44
static uint64_t arch_k_cycle_get_64(void)
Definition arch.h:51
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
__UINT64_TYPE__ uint64_t
Definition stdint.h:91
Software-managed ISR table.