Go to the documentation of this file.
101 #define POSCFG_ALIGNMENT 2
111 #define POSCFG_ISR_INTERRUPTABLE 0
137 #define POSCFG_TASKSTACKTYPE 0
144 #define POSCFG_CALLINITARCH 1
153 #define POSCFG_PORTMUTEX 0
161 #define POSCFG_DYNAMIC_MEMORY 0
174 #define POSCFG_DYNAMIC_REFILL 0
183 #define POS_MEM_ALLOC(bytes) nosMemAlloc(bytes)
240 #define POSCFG_LOCK_USEFLAGS 0
250 #define POSCFG_LOCK_FLAGSTYPE register VAR_t
260 #define POS_SCHED_LOCK asm volatile("pushf\n" "cli\n"::)
262 #define POS_SCHED_LOCK asm { PUSHF; CLI }
270 #define POS_SCHED_UNLOCK asm volatile("popf\n"::)
272 #define POS_SCHED_UNLOCK asm POPF
289 #define POS_IRQ_DISABLE_ALL POS_SCHED_LOCK
295 #define POS_IRQ_ENABLE_ALL POS_SCHED_UNLOCK
337 #define POSCFG_FBIT_USE_LUTABLE 0
344 #define POSCFG_FBIT_BITSHIFT 1
366 #define NOSCFG_STACK_GROWS_UP 0
372 #define NOSCFG_DEFAULT_STACKSIZE 2048
377 #define NOSCFG_CONOUT_HANDSHAKE 0
386 #define NOSCFG_CONOUT_FIFOSIZE 256
402 #define POS_USERTASKDATA void *stackptr;
408 #if POSCFG_TASKSTACKTYPE == 0
410 #define POS_USERTASKDATA \
413 #elif POSCFG_TASKSTACKTYPE == 1
415 #define POS_USERTASKDATA \
419 #elif POSCFG_TASKSTACKTYPE == 2
421 #define FIXED_STACK_SIZE 0x0600
422 #define POS_USERTASKDATA \
424 unsigned short stack[FIXED_STACK_SIZE];