]> rtime.felk.cvut.cz Git - arc.git/blobdiff - include/Os.h
EcuM: More EcuM fixes.
[arc.git] / include / Os.h
index 107a41493da9663ee3e28874291adc665e4ef59b..0d9e8e1edb449157806a8baa6283db60fd015855 100644 (file)
@@ -88,6 +88,9 @@ typedef TaskStateType *TaskStateRefType;
 \r
 #define INVALID_OSAPPLICATION (-1)\r
 \r
+#define TASK(_task)            void _task( void )\r
+\r
+\r
 /* TODO, I have no idea what this should be*/\r
 #if (OS_USE_APPLICATIONS == STD_ON)\r
 typedef sint32 ApplicationType;\r
@@ -342,6 +345,8 @@ StatusType GetElapsedCounterValue( CounterType, TickRefType val, TickRefType ela
  * System timer\r
  *-----------------------------------------------------------------*/\r
 typedef const uint32 OsTickType;\r
+\r
+extern OsTickType OsTickFreq;\r
 void Os_SysTickInit( void );\r
 void Os_SysTickStart(TickType period_ticks);\r
 TickType Os_SysTickGetValue( void );\r