Zephyr API Documentation 4.0.0-rc3
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
arch.h File Reference

ARC specific kernel interface header. More...

Go to the source code of this file.

Macros

#define ARCH_STACK_PTR_ALIGN   4
 
#define ARCH_THREAD_STACK_RESERVED   CONFIG_PRIVILEGED_STACK_SIZE
 
#define ARCH_THREAD_STACK_SIZE_ADJUST(size)
 
#define ARCH_THREAD_STACK_OBJ_ALIGN(size)
 

Typedefs

Memory domain and partitions
typedef uint32_t k_mem_partition_attr_t
 

Functions

static ALWAYS_INLINE void arch_nop (void)
 

Detailed Description

ARC specific kernel interface header.

This header contains the ARC specific kernel interface. It is included by the kernel interface architecture-abstraction header include/arch/cpu.h)

Macro Definition Documentation

◆ ARCH_STACK_PTR_ALIGN

#define ARCH_STACK_PTR_ALIGN   4

◆ ARCH_THREAD_STACK_OBJ_ALIGN

#define ARCH_THREAD_STACK_OBJ_ALIGN ( size)
Value:
Z_ARC_MPU_ALIGN

◆ ARCH_THREAD_STACK_RESERVED

#define ARCH_THREAD_STACK_RESERVED   CONFIG_PRIVILEGED_STACK_SIZE

◆ ARCH_THREAD_STACK_SIZE_ADJUST

#define ARCH_THREAD_STACK_SIZE_ADJUST ( size)
Value:
(ROUND_UP((size), Z_ARC_MPU_ALIGN))
#define ROUND_UP(x, align)
Value of x rounded up to the next multiple of align.
Definition util.h:322

Function Documentation

◆ arch_nop()

static ALWAYS_INLINE void arch_nop ( void )
static