]> rtime.felk.cvut.cz Git - arc.git/blobdiff - arch/ppc/mpc55xx/drivers/sys_tick.c
merge with osek-ctest
[arc.git] / arch / ppc / mpc55xx / drivers / sys_tick.c
index 611e049ee9da07da71ccaccc83a37fd08d8ae16d..7216421efcf8a6c2de90901e58e04d41db7319dc 100644 (file)
@@ -1,22 +1,22 @@
-/* -------------------------------- Arctic Core ------------------------------
- * Arctic Core - the open source AUTOSAR platform http://arccore.com
- *
- * Copyright (C) 2009  ArcCore AB <contact@arccore.com>
- *
- * This source code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 as published by the
- * Free Software Foundation; See <http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt>.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
- * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * for more details.
- * -------------------------------- Arctic Core ------------------------------*/
+/* -------------------------------- Arctic Core ------------------------------\r
+ * Arctic Core - the open source AUTOSAR platform http://arccore.com\r
+ *\r
+ * Copyright (C) 2009  ArcCore AB <contact@arccore.com>\r
+ *\r
+ * This source code is free software; you can redistribute it and/or modify it\r
+ * under the terms of the GNU General Public License version 2 as published by the\r
+ * Free Software Foundation; See <http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt>.\r
+ *\r
+ * This program is distributed in the hope that it will be useful, but\r
+ * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY\r
+ * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License\r
+ * for more details.\r
+ * -------------------------------- Arctic Core ------------------------------*/\r
 \r
 #include "Os.h"\r
-#include "internal.h"
-#include "irq.h"
-#include "arc.h"
+#include "internal.h"\r
+#include "irq.h"\r
+#include "arc.h"\r
 \r
 /**\r
  * Init of free running timer.\r
@@ -29,10 +29,10 @@ void Os_SysTickInit( void ) {
 \r
 /**\r
  *\r
- *
+ *\r
  * @param period_ticks How long the period in timer ticks should be. The timer\r
  *                     on PowerPC often driver by the CPU clock or some platform clock.\r
- *
+ *\r
  */\r
 void Os_SysTickStart(uint32_t period_ticks) {\r
        uint32_t tmp;\r
@@ -60,10 +60,10 @@ void Os_SysTickStart(uint32_t period_ticks) {
 /**\r
  * ???\r
  * TODO: This function just subtract the max value?! ok??\r
- *
- * @return
+ *\r
+ * @return\r
  */\r
-
+\r
 /** @req OS383 */\r
 TickType Os_SysTickGetValue( void )\r
 {\r