18#ifndef __CORTEX_A_GENERIC_H__
19#define __CORTEX_A_GENERIC_H__
24#define __VSF_HEADER_ONLY_SHOW_ARCH_INFO__
26#undef __VSF_HEADER_ONLY_SHOW_ARCH_INFO__
33#ifndef __LITTLE_ENDIAN
34# define __LITTLE_ENDIAN 1
37# define __BYTE_ORDER __LITTLE_ENDIAN
41#if __ARM_ARCH == 6 || __TARGET_ARCH_6_M == 1 || __TARGET_ARCH_6S_M == 1
42# ifndef VSF_ARCH_PRI_NUM
43# define VSF_ARCH_PRI_NUM 4
44# undef VSF_ARCH_PRI_BIT
45# define VSF_ARCH_PRI_BIT 2
48# ifndef VSF_ARCH_PRI_BIT
49# define VSF_ARCH_PRI_BIT 2
51#elif __ARM_ARCH >= 7 || __TARGET_ARCH_7_M == 1 || __TARGET_ARCH_7E_M == 1
52# ifndef VSF_ARCH_PRI_NUM
53# define VSF_ARCH_PRI_NUM 128
54# undef VSF_ARCH_PRI_BIT
55# define VSF_ARCH_PRI_BIT 7
58# ifndef VSF_ARCH_PRI_BIT
59# define VSF_ARCH_PRI_BIT 7
64#define VSF_ARCH_SWI_NUM 1
65#define __VSF_ARCH_SYSTIMER_BITS 24
69#define vsf_arch_wakeup()
75#define __VSF_ARCH_PRI_INDEX(__N, __UNUSED) \
76 __vsf_arch_prio_index_##__N = (__N),
82#define __VSF_ARCH_PRI(__N, __BIT) \
83 VSF_ARCH_PRIO_##__N = \
84 ((VSF_ARCH_PRI_NUM - 1 - __vsf_arch_prio_index_##__N)) & 0xFF, \
85 vsf_arch_prio_##__N = \
86 ((VSF_ARCH_PRI_NUM - 1 - __vsf_arch_prio_index_##__N)) & 0xFF,
102static VSF_CAL_ALWAYS_INLINE
void vsf_arch_set_stack(
uint32_t stack)
#define VSF_ARCH_PRI_NUM
Definition arm9_generic.h:46
vsf_arch_prio_t
Definition cortex_a_generic.h:88
@ __VSF_ARCH_PRIO_LEAST_MAX
Definition cortex_a_generic.h:90
@ __VSF_ARCH_PRIO_LEAST_MIN
Definition cortex_a_generic.h:91
@ VSF_ARCH_PRIO_INVALID
Definition cortex_a_generic.h:92
@ vsf_arch_prio_invalid
Definition cortex_a_generic.h:93
#define __VSF_ARCH_PRI(__N, __BIT)
Definition cortex_a_generic.h:82
uint64_t vsf_systimer_tick_t
Definition cortex_a_generic.h:73
#define __VSF_ARCH_PRI_INDEX(__N, __UNUSED)
Definition cortex_a_generic.h:75
unsigned int uint32_t
Definition lvgl.h:43
#define VSF_ARCH_PRI_BIT
Definition mcs51_generic.h:42
unsigned long long uint64_t
Definition stdint.h:11
#define INT16_MAX
Definition stdint.h:50
#define INT16_MIN
Definition stdint.h:45
#define VSF_HAL_ASSERT(__CON)
all hal modules use this configuration file
Definition vsf_hal_cfg.h:36
#define VSF_MREPEAT(__COUNT, __MACRO, __PARAM)
Definition vsf_repeat_macro.h:51