Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
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)    (ROUND_UP((size), Z_ARC_MPU_ALIGN))
 
#define ARCH_THREAD_STACK_OBJ_ALIGN(size)   Z_ARC_MPU_ALIGN
 

Typedefs

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)    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)     (ROUND_UP((size), Z_ARC_MPU_ALIGN))

Typedef Documentation

◆ k_mem_partition_attr_t

Function Documentation

◆ arch_nop()

static ALWAYS_INLINE void arch_nop ( void  )
static