|
VSF Documented
|
Go to the source code of this file.
Data Structures | |
| struct | vsf_protect_region_t |
| struct | vsf_arch_text_region_t |
| struct | vsf_arch_heap_statistics_t |
| struct | vsf_arch_vplt_t |
Typedefs | |
| typedef void | vsf_irq_handler_t(void *p) |
| typedef vsf_irq_handler_t | vsf_swi_handler_t |
| typedef uintalu_t | vsf_protect_t |
| typedef struct vsf_protect_region_t | vsf_protect_region_t |
| typedef struct vsf_arch_text_region_t | vsf_arch_text_region_t |
| typedef struct vsf_arch_heap_statistics_t | vsf_arch_heap_statistics_t |
| typedef struct vsf_arch_vplt_t | vsf_arch_vplt_t |
Variables | |
| const vsf_protect_region_t | vsf_protect_region_int |
| const vsf_protect_region_t | vsf_protect_region_none |
| __VSF_VPLT_DECORATOR__ vsf_arch_vplt_t | vsf_arch_vplt |
| #define __LITTLE_ENDIAN 1234 |
| #define __BIG_ENDIAN 4321 |
| #define VSF_SYSTIMER_IMPL_NONE 0 |
| #define VSF_SYSTIMER_IMPL_REQUEST_RESPONSE 1 |
| #define VSF_SYSTIMER_IMPL_WITH_NORMAL_TIMER 2 |
| #define VSF_SYSTIMER_IMPL_WITH_COMP_TIMER 3 |
| #define VSF_SYSTIMER_IMPL_TICK_MODE 4 |
| #define VSF_ARCH_ASSERT | ( | ... | ) |
| #define VSF_ARCH_HEADER "./template/template_generic.h" |
check rtos first
| #define VSF_ARCH_SWI_NUM 0 |
| #define VSF_DEV_SWI_NUM 0 |
| #define VSF_SWI_NUM (VSF_ARCH_SWI_NUM + VSF_DEV_SWI_NUM) |
| #define ___constant_swab16 | ( | __x | ) |
| #define ___constant_swab32 | ( | __x | ) |
| #define ___constant_swab64 | ( | __x | ) |
| #define bswap16 bswap_16 |
| #define bswap32 bswap_32 |
| #define bswap64 bswap_64 |
| #define htobe16 |
| #define htole16 bswap_16 |
| #define be16toh |
| #define le16toh bswap_16 |
| #define htobe32 |
| #define htole32 bswap_32 |
| #define be32toh |
| #define le32toh bswap_32 |
| #define htobe64 |
| #define htole64 bswap_64 |
| #define be64toh |
| #define le64toh bswap_64 |
| #define cpu_to_le16 bswap_16 |
| #define cpu_to_le32 bswap_32 |
| #define cpu_to_le64 bswap_64 |
| #define le16_to_cpu bswap_16 |
| #define le32_to_cpu bswap_32 |
| #define le64_to_cpu bswap_64 |
| #define cpu_to_be16 |
| #define cpu_to_be32 |
| #define cpu_to_be64 |
| #define be16_to_cpu |
| #define be32_to_cpu |
| #define be64_to_cpu |
| #define __constant_cpu_to_le16 ___constant_swab16 |
| #define __constant_le16_to_cpu ___constant_swab16 |
| #define __constant_cpu_to_le32 ___constant_swab32 |
| #define __constant_le32_to_cpu ___constant_swab32 |
| #define __constant_cpu_to_le64 ___constant_swab64 |
| #define __constant_le64_to_cpu ___constant_swab64 |
| #define __constant_cpu_to_be16 |
| #define __constant_be16_to_cpu |
| #define __constant_cpu_to_be32 |
| #define __constant_be32_to_cpu |
| #define __constant_cpu_to_be64 |
| #define __constant_be64_to_cpu |
| #define DECLARE_ENDIAN_FUNC | ( | __bitlen | ) |
| #define __vsf_protect_region | ( | __region | ) |
| #define vsf_protect_region | ( | __region | ) |
| #define vsf_protect_region_exit | ( | __region | ) |
| #define vsf_protect_region_simple | ( | __region, | |
| ... ) |
| #define __vsf_interrupt_safe | ( | __code | ) |
| #define vsf_interrupt_safe | ( | ) |
| #define vsf_interrupt_safe_simple | ( | ... | ) |
| #define vsf_protect_interrupt | ( | ) |
| #define vsf_unprotect_interrupt | ( | __state | ) |
| #define vsf_protect_none | ( | ) |
| #define vsf_unprotect_none | ( | __state | ) |
| #define vsf_protect_int vsf_protect_interrupt |
| #define vsf_unprotect_int vsf_unprotect_interrupt |
| #define __vsf_protect | ( | __type | ) |
| #define vsf_protect | ( | __type | ) |
| #define vsf_unprotect | ( | __type | ) |
| #define vsf_atom64_op | ( | __ptr, | |
| ... ) |
| #define vsf_atom32_op | ( | __ptr, | |
| ... ) |
| #define vsf_atom16_op | ( | __ptr, | |
| ... ) |
| #define vsf_atom8_op | ( | __ptr, | |
| ... ) |
| #define vsf_atom_add | ( | __bitlen, | |
| __ptr, | |||
| __value ) |
| #define vsf_atom_dec | ( | __bitlen, | |
| __ptr, | |||
| __value ) |
| #define vsf_atom_or | ( | __bitlen, | |
| __ptr, | |||
| __value ) |
| #define vsf_atom_and | ( | __bitlen, | |
| __ptr, | |||
| __value ) |
| #define vsf_atom_xor | ( | __bitlen, | |
| __ptr, | |||
| __value ) |
| #define vsf_atom_xchg | ( | __bitlen, | |
| __ptr, | |||
| __new_value ) |
| #define vsf_arch_host_invoke_ctx_t | ( | __name | ) |
| #define declare_vsf_arch_host_invoke | ( | __name | ) |
| #define dcl_vsf_arch_host_invoke declare_vsf_arch_host_invoke |
| #define define_vsf_arch_host_invoke | ( | __name, | |
| ... ) |
| #define def_vsf_arch_host_invoke define_vsf_arch_host_invoke |
| #define implement_vsf_arch_host_invoke | ( | __name | ) |
| #define imp_vsf_arch_host_invoke implement_vsf_arch_host_invoke |
| #define initialize_vsf_arch_host_invoke | ( | __name, | |
| __priority ) |
| #define init_vsf_arch_host_invoke initialize_vsf_arch_host_invoke |
| #define vsf_arch_host_invoke_nb | ( | __name, | |
| __eda_ptr, | |||
| __ctx_ptr ) |
| #define vsf_arch_host_invoke_get_result_nb | ( | __name, | |
| __ctx_ptr ) |
| #define vsf_arch_host_invoke_in_thread | ( | __name, | |
| __ctx_ptr ) |
| typedef void vsf_irq_handler_t(void *p) |
| typedef vsf_irq_handler_t vsf_swi_handler_t |
| typedef uintalu_t vsf_protect_t |
| typedef struct vsf_protect_region_t vsf_protect_region_t |
| typedef struct vsf_arch_text_region_t vsf_arch_text_region_t |
| typedef struct vsf_arch_heap_statistics_t vsf_arch_heap_statistics_t |
| typedef struct vsf_arch_vplt_t vsf_arch_vplt_t |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
trigger a software interrupt !
| idx | the index of the software interrupt |
todo: the code is simplified, we need to verify its reilability
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |