22#ifndef __VSF_SERVICE_CFG_H__
23#define __VSF_SERVICE_CFG_H__
30#ifndef VSF_SERVICE_ASSERT
31# define VSF_SERVICE_ASSERT VSF_ASSERT
35# define VSF_USE_HEAP ENABLED
39# define VSF_USE_POOL ENABLED
43# define VSF_USE_DYNARR VSF_USE_HEAP
46#ifndef VSF_USE_DYNSTACK
47# define VSF_USE_DYNSTACK VSF_USE_DYNARR
50#if VSF_USE_DYNSTACK == ENABLED && VSF_USE_DYNARR != ENABLED
51# warning [DEPENDENCY WARNING]\
52The Feature VSF_USE_DYNSTACK is enabled but VSF_USE_DYNARR is disabled.\
53The VSF_USE_DYNARR will be forced to ENABLED here to provide required services
55# define VSF_USE_DYNARR ENABLED
58#if VSF_USE_DYNARR == ENABLED && VSF_USE_HEAP != ENABLED
59# warning [DEPENDENCY WARNING]\
60The Feature VSF_USE_DYNARR is enabled but VSF_USE_HEAP is disabled.\
61The VSF_USE_HEAP will be forced to ENABLED here to provide required services
63# define VSF_USE_HEAP ENABLED
66#if VSF_USE_POOL == ENABLED && !defined(VSF_POOL_CFG_FEED_ON_HEAP)
67# define VSF_POOL_CFG_FEED_ON_HEAP VSF_USE_HEAP
70#if VSF_POOL_CFG_FEED_ON_HEAP == ENABLED && VSF_USE_HEAP != ENABLED
71# warning [DEPENDENCY WARNING]\
72The Feature VSF_POOL_CFG_FEED_ON_HEAP is enabled but VSF_USE_HEAP is disabled.\
73The VSF_USE_HEAP will be forced to ENABLED here to provide required services
75# define VSF_USE_HEAP ENABLED
78#if VSF_APPLET_USE_SERVICE == ENABLED
79# ifndef VSF_APPLET_USE_TRACE
80# define VSF_APPLET_USE_TRACE ENABLED
83# ifndef VSF_SERVICE_APPLET_VPLT
84# define VSF_SERVICE_APPLET_VPLT \
85 ((vsf_service_vplt_t *)(((vsf_vplt_t *)vsf_vplt((void *)0))->service_vplt))
92#if VSF_APPLET_USE_SERVICE == ENABLED
98# ifndef __VSF_APPLET__
Definition vsf_service_cfg.h:93
vsf_vplt_info_t info
Definition vsf_service_cfg.h:94
void * trace_vplt
Definition vsf_service_cfg.h:96
#define __VSF_VPLT_DECORATOR__
Definition vsf_cfg.h:93
__VSF_VPLT_DECORATOR__ vsf_service_vplt_t vsf_service_vplt
Definition vsf_service.c:91