X-Git-Url: http://rtime.felk.cvut.cz/gitweb/rtems-devel.git/blobdiff_plain/3f0b4b6620f4a783075c60c1f52c578d0e3ba9c1..1cb5088084f803c12d9caf8101dcbcb7cb966ca2:/rtems-tests/prioinh_posix/app_def.h diff --git a/rtems-tests/prioinh_posix/app_def.h b/rtems-tests/prioinh_posix/app_def.h new file mode 100644 index 0000000..c900ba4 --- /dev/null +++ b/rtems-tests/prioinh_posix/app_def.h @@ -0,0 +1,32 @@ +#ifndef _APP_DEF_H +#define _APP_DEF_H + +#ifndef COND_EXTERN + #ifdef CONFIGURE_INIT + #define COND_EXTERN + #else + #define COND_EXTERN extern + #endif +#endif + +#ifdef __cplusplus +extern "C" { +#endif + + +/* Posix style startup task */ +void *Task_1(void *argument); + +#define SHELL_TASK_PRIORITY 14 +#define TASK_HI_PRIORITY 13 +#define TASK_MID_PRIORITY 12 +#define TASK_1_PRIORITY 11 +#define TASK_LO_PRIORITY 10 + +void bad_status(int status, int fail_level, const char *text); + +#ifdef __cplusplus +} +#endif + +#endif /*_APP_DEF_H*/