Zephyr API Documentation
3.6.99
A Scalable Open Source RTOS
|
SPARC specific kernel interface header This header contains the SPARC specific kernel interface. More...
#include <zephyr/arch/sparc/thread.h>
#include <zephyr/arch/sparc/sparc.h>
#include <zephyr/arch/common/sys_bitops.h>
#include <zephyr/arch/common/sys_io.h>
#include <zephyr/arch/common/ffs.h>
#include <zephyr/irq.h>
#include <zephyr/sw_isr_table.h>
#include <soc.h>
#include <zephyr/devicetree.h>
#include <zephyr/sys/util.h>
Go to the source code of this file.
Macros | |
#define | ARCH_STACK_PTR_ALIGN 8 |
#define | SPARC_SW_TRAP_FLUSH_WINDOWS 0x03 |
#define | SPARC_SW_TRAP_SET_PIL 0x09 |
#define | SPARC_SW_TRAP_EXCEPT 0x0F |
#define | STACK_ROUND_UP(x) ROUND_UP(x, ARCH_STACK_PTR_ALIGN) |
#define | ARCH_IRQ_CONNECT(irq_p, priority_p, isr_p, isr_param_p, flags_p) |
#define | ARCH_EXCEPT(reason_p) |
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) |
static ALWAYS_INLINE void | arch_nop (void) |
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) |
SPARC specific kernel interface header This header contains the SPARC specific kernel interface.
It is included by the generic kernel interface header (arch/cpu.h)
#define ARCH_EXCEPT | ( | reason_p | ) |
#define ARCH_IRQ_CONNECT | ( | irq_p, | |
priority_p, | |||
isr_p, | |||
isr_param_p, | |||
flags_p | |||
) |
#define ARCH_STACK_PTR_ALIGN 8 |
#define SPARC_SW_TRAP_EXCEPT 0x0F |
#define SPARC_SW_TRAP_FLUSH_WINDOWS 0x03 |
#define SPARC_SW_TRAP_SET_PIL 0x09 |
#define STACK_ROUND_UP | ( | x | ) | ROUND_UP(x, ARCH_STACK_PTR_ALIGN) |
|
static |
|
static |
|
static |
|
inlinestatic |
|
inlinestatic |
|
static |
uint32_t sys_clock_cycle_get_32 | ( | void | ) |
uint64_t sys_clock_cycle_get_64 | ( | void | ) |