VSF Documented
|
Go to the source code of this file.
Data Structures | |
class | vsf_arch_irq_request_t |
class | vsf_arch_irq_thread_t |
Macros | |
#define | __VSF_WIN_PUBLIC_CONST__ const |
#define | __LITTLE_ENDIAN 1 |
#define | __BIG_ENDIAN 0 |
#define | __BYTE_ORDER __LITTLE_ENDIAN |
#define | VSF_SYSTIMER_CFG_IMPL_MODE VSF_SYSTIMER_IMPL_REQUEST_RESPONSE |
#define | VSF_ARCH_STACK_PAGE_SIZE 4096 |
#define | VSF_ARCH_STACK_GUARDIAN_SIZE 4096 |
#define | VSF_ARCH_PROVIDE_HEAP ENABLED |
#define | VSF_ARCH_PROVIDE_ARGU ENABLED |
#define | VSF_ARCH_PROVIDE_EXE ENABLED |
#define | VSF_ARCH_SWI_NUM 32 |
#define | VSF_ARCH_PRI_NUM 64 |
#define | VSF_ARCH_SYSTIMER_FREQ (10 * 1000 * 1000) |
GetSystemTimeAsFileTime has 100ns resolution, which is 10MHz. | |
#define | FAR |
#define | NEAR |
#define | VSF_ARCH_TRACE_FUNC(...) __vsf_arch_trace(0, __VA_ARGS__) |
#define | vsf_arch_trace(__header, __color, ...) |
#define | __VSF_ARCH_PRI(__N, __UNUSED) |
#define | vsf_arch_wakeup() |
#define | VSF_ARCH_SYSTIMER_TICK_T uint64_t |
#define | VSF_ARCH_NO_DISABLE_INTERRUPT_BEFORE_SLEEP |
Typedefs | |
typedef void * | VSF_WIN_HANDLE |
typedef unsigned long | VSF_WIN_DWORD |
typedef unsigned int | VSF_WIN_UINT |
typedef unsigned char | VSF_WIN_BYTE |
typedef char * | VSF_WIN_LPSTR |
typedef unsigned long | VSF_WIN_ULONG_PTR |
typedef unsigned long * | VSF_WIN_PULONG_PTR |
typedef VSF_WIN_ULONG_PTR | VSF_WIN_DWORD_PTR |
typedef VSF_WIN_ULONG_PTR * | VSF_WIN_PDWORD_PTR |
typedef VSF_ARCH_SYSTIMER_TICK_T | vsf_systimer_tick_t |
typedef enum vsf_arch_prio_t | vsf_arch_prio_t |
typedef void(* | vsf_arch_irq_entry_t) (void *) |
typedef volatile bool | vsf_gint_state_t |
typedef enum vsf_arch_irq_state_t | vsf_arch_irq_state_t |
Enumerations | |
enum | vsf_arch_prio_t { VSF_ARCH_PRIO_INVALID = -1 , vsf_arch_prio_invalid = -1 , vsf_arch_prio_highest = VSF_ARCH_PRI_NUM - 1 } |
enum | vsf_arch_irq_state_t { VSF_ARCH_IRQ_STATE_IDLE , VSF_ARCH_IRQ_STATE_ACTIVE , VSF_ARCH_IRQ_STATE_FOREGROUND , VSF_ARCH_IRQ_STATE_BACKGROUND } |
Functions | |
int | __vsf_arch_trace (int level, const char *format,...) |
void | __vsf_arch_irq_sleep (uint_fast32_t ms) |
int | vsf_arch_argu (char ***argv) |
void * | vsf_arch_alloc_exe (uint_fast32_t size) |
void | vsf_arch_free_exe (void *ptr) |
void | __vsf_arch_irq_request_init (vsf_arch_irq_request_t *request) |
void | __vsf_arch_irq_request_fini (vsf_arch_irq_request_t *request) |
void | __vsf_arch_irq_request_pend (vsf_arch_irq_request_t *request) |
void | __vsf_arch_irq_request_send (vsf_arch_irq_request_t *request) |
vsf_arch_irq_thread_t * | __vsf_arch_irq_get_cur (void) |
void | __vsf_arch_irq_init (vsf_arch_irq_thread_t *irq_thread, char *name, vsf_arch_irq_entry_t entry, vsf_arch_prio_t priority) |
void | __vsf_arch_irq_fini (vsf_arch_irq_thread_t *irq_thread) |
void | __vsf_arch_irq_set_background (vsf_arch_irq_thread_t *irq_thread) |
void | __vsf_arch_irq_start (vsf_arch_irq_thread_t *irq_thread) |
void | __vsf_arch_irq_end (vsf_arch_irq_thread_t *irq_thread, bool is_terminate) |
vsf_systimer_tick_t | __vsf_systimer_get (void) |
#define __VSF_WIN_PUBLIC_CONST__ const |
#define __LITTLE_ENDIAN 1 |
#define __BIG_ENDIAN 0 |
#define __BYTE_ORDER __LITTLE_ENDIAN |
#define VSF_SYSTIMER_CFG_IMPL_MODE VSF_SYSTIMER_IMPL_REQUEST_RESPONSE |
#define VSF_ARCH_STACK_PAGE_SIZE 4096 |
#define VSF_ARCH_STACK_GUARDIAN_SIZE 4096 |
#define VSF_ARCH_PROVIDE_HEAP ENABLED |
#define VSF_ARCH_PROVIDE_ARGU ENABLED |
#define VSF_ARCH_PROVIDE_EXE ENABLED |
#define VSF_ARCH_SWI_NUM 32 |
#define VSF_ARCH_PRI_NUM 64 |
#define VSF_ARCH_SYSTIMER_FREQ (10 * 1000 * 1000) |
GetSystemTimeAsFileTime has 100ns resolution, which is 10MHz.
#define FAR |
#define NEAR |
#define VSF_ARCH_TRACE_FUNC | ( | ... | ) | __vsf_arch_trace(0, __VA_ARGS__) |
#define vsf_arch_trace | ( | __header, | |
__color, | |||
... | |||
) |
#define __VSF_ARCH_PRI | ( | __N, | |
__UNUSED | |||
) |
#define vsf_arch_wakeup | ( | void | ) |
#define VSF_ARCH_SYSTIMER_TICK_T uint64_t |
#define VSF_ARCH_NO_DISABLE_INTERRUPT_BEFORE_SLEEP |
typedef void* VSF_WIN_HANDLE |
typedef unsigned long VSF_WIN_DWORD |
typedef unsigned int VSF_WIN_UINT |
typedef unsigned char VSF_WIN_BYTE |
typedef char* VSF_WIN_LPSTR |
typedef unsigned long VSF_WIN_ULONG_PTR |
typedef unsigned long * VSF_WIN_PULONG_PTR |
typedef VSF_WIN_ULONG_PTR VSF_WIN_DWORD_PTR |
typedef VSF_WIN_ULONG_PTR * VSF_WIN_PDWORD_PTR |
typedef enum vsf_arch_prio_t vsf_arch_prio_t |
typedef void(* vsf_arch_irq_entry_t) (void *) |
typedef volatile bool vsf_gint_state_t |
typedef enum vsf_arch_irq_state_t vsf_arch_irq_state_t |
enum vsf_arch_prio_t |
enum vsf_arch_irq_state_t |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |