/** * @file tpl_machine.h * * @section descr File description * * Trampoline core exported definitions * * @section copyright Copyright * * Trampoline OS * * Trampoline is copyright (c) IRCCyN 2005+ * Copyright ESEO for function and data structures documentation and ARM port * Trampoline is protected by the French intellectual property law. * * This software is distributed under the Lesser GNU Public Licence * * @section infos File informations * * $Date$ * $Rev$ * $Author$ * $URL$ */ #ifndef TPL_MACHINE_H #define TPL_MACHINE_H #include "tpl_machine_arm.h" /** * Gives the ARM processor mode the normal user tasks * will run into. The value can be : * - 0x10 : unprivileged * - 0x1F : privileged */ #define USER_TASKS_ARM_MODE 0x1F typedef struct ARM_CONTEXT *tpl_context; extern struct ARM_CONTEXT idle_task_context; /** * @def SIZE_OF_IDLE_TASK * * The size of the stack of the idle task which is also the stack * used for machine startup */ #define IDLE_STACK_SIZE 300 /* * Configuration of systick timer (can be a generic timer if systick is not available * on the target) for alarms and schedule tables. */ FUNC(void, OS_CODE) tpl_set_systick_timer(); #endif /* TPL_MACHINE_H */ /* End of file tpl_machine.h */