aboutsummaryrefslogtreecommitdiffstats
path: root/os/common/ports
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2016-03-23 18:43:19 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2016-03-23 18:43:19 +0000
commit830278dcd222180f3a4e6c5f288ea9f05afc52ae (patch)
treee707dbd955495fc6fca7fc8fa68e9c1d08e88c6c /os/common/ports
parent4edc5aeca7251e69dfa772dfdd5b2e012375a809 (diff)
downloadChibiOS-830278dcd222180f3a4e6c5f288ea9f05afc52ae.tar.gz
ChibiOS-830278dcd222180f3a4e6c5f288ea9f05afc52ae.tar.bz2
ChibiOS-830278dcd222180f3a4e6c5f288ea9f05afc52ae.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9153 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/common/ports')
-rw-r--r--os/common/ports/ARM/chcore.h6
-rw-r--r--os/common/ports/ARM/chcore_timer.h6
-rw-r--r--os/common/ports/ARM/compilers/GCC/chtypes.h6
-rw-r--r--os/common/ports/ARMCMx/chcore.h6
-rw-r--r--os/common/ports/ARMCMx/chcore_timer.h6
-rw-r--r--os/common/ports/ARMCMx/chcore_v6m.h6
-rw-r--r--os/common/ports/ARMCMx/chcore_v7m.h6
-rw-r--r--os/common/ports/ARMCMx/compilers/GCC/chtypes.h6
-rw-r--r--os/common/ports/ARMCMx/compilers/IAR/chtypes.h6
-rw-r--r--os/common/ports/ARMCMx/compilers/RVCT/chtypes.h6
-rw-r--r--os/common/ports/ARMCMx/mpu.h6
-rw-r--r--os/common/ports/AVR/chcore.h6
-rw-r--r--os/common/ports/AVR/chcore_timer.h6
-rw-r--r--os/common/ports/AVR/compilers/GCC/chtypes.h6
-rw-r--r--os/common/ports/SIMIA32/chcore.h6
-rw-r--r--os/common/ports/SIMIA32/compilers/GCC/chtypes.h6
-rw-r--r--os/common/ports/e200/chcore.h6
-rw-r--r--os/common/ports/e200/compilers/CW/chtypes.h6
-rw-r--r--os/common/ports/e200/compilers/GCC/chtypes.h6
-rw-r--r--os/common/ports/templates/chcore.h6
-rw-r--r--os/common/ports/templates/chtypes.h6
21 files changed, 63 insertions, 63 deletions
diff --git a/os/common/ports/ARM/chcore.h b/os/common/ports/ARM/chcore.h
index da1ccf7a4..532fb0d11 100644
--- a/os/common/ports/ARM/chcore.h
+++ b/os/common/ports/ARM/chcore.h
@@ -25,8 +25,8 @@
* @{
*/
-#ifndef _CHCORE_H_
-#define _CHCORE_H_
+#ifndef CHCORE_H
+#define CHCORE_H
/*===========================================================================*/
/* Module constants. */
@@ -559,6 +559,6 @@ static inline void port_wait_for_interrupt(void) {
#endif /* !defined(_FROM_ASM_) */
-#endif /* _CHCORE_H_ */
+#endif /* CHCORE_H */
/** @} */
diff --git a/os/common/ports/ARM/chcore_timer.h b/os/common/ports/ARM/chcore_timer.h
index 3da4bb01e..8a0d264ba 100644
--- a/os/common/ports/ARM/chcore_timer.h
+++ b/os/common/ports/ARM/chcore_timer.h
@@ -25,8 +25,8 @@
* @{
*/
-#ifndef _CHCORE_TIMER_H_
-#define _CHCORE_TIMER_H_
+#ifndef CHCORE_TIMER_H
+#define CHCORE_TIMER_H
/* This is the only header in the HAL designed to be include-able alone.*/
#include "hal_st.h"
@@ -119,6 +119,6 @@ static inline systime_t port_timer_get_alarm(void) {
return stGetAlarm();
}
-#endif /* _CHCORE_TIMER_H_ */
+#endif /* CHCORE_TIMER_H */
/** @} */
diff --git a/os/common/ports/ARM/compilers/GCC/chtypes.h b/os/common/ports/ARM/compilers/GCC/chtypes.h
index f4d13d133..c3290d8cc 100644
--- a/os/common/ports/ARM/compilers/GCC/chtypes.h
+++ b/os/common/ports/ARM/compilers/GCC/chtypes.h
@@ -25,8 +25,8 @@
* @{
*/
-#ifndef _CHTYPES_H_
-#define _CHTYPES_H_
+#ifndef CHTYPES_H
+#define CHTYPES_H
#include <stddef.h>
#include <stdint.h>
@@ -93,6 +93,6 @@ typedef uint32_t ucnt_t; /**< Generic unsigned counter. */
*/
#define PACKED_VAR __attribute__((packed))
-#endif /* _CHTYPES_H_ */
+#endif /* CHTYPES_H */
/** @} */
diff --git a/os/common/ports/ARMCMx/chcore.h b/os/common/ports/ARMCMx/chcore.h
index 3b876cad0..0669824dd 100644
--- a/os/common/ports/ARMCMx/chcore.h
+++ b/os/common/ports/ARMCMx/chcore.h
@@ -25,8 +25,8 @@
* @{
*/
-#ifndef _CHCORE_H_
-#define _CHCORE_H_
+#ifndef CHCORE_H
+#define CHCORE_H
/*===========================================================================*/
/* Module constants. */
@@ -210,6 +210,6 @@ struct port_context {
#endif /* !defined(_FROM_ASM_) */
-#endif /* _CHCORE_H_ */
+#endif /* CHCORE_H */
/** @} */
diff --git a/os/common/ports/ARMCMx/chcore_timer.h b/os/common/ports/ARMCMx/chcore_timer.h
index eec7dcf79..32eca37b6 100644
--- a/os/common/ports/ARMCMx/chcore_timer.h
+++ b/os/common/ports/ARMCMx/chcore_timer.h
@@ -25,8 +25,8 @@
* @{
*/
-#ifndef _CHCORE_TIMER_H_
-#define _CHCORE_TIMER_H_
+#ifndef CHCORE_TIMER_H
+#define CHCORE_TIMER_H
/* This is the only header in the HAL designed to be include-able alone.*/
#include "hal_st.h"
@@ -119,6 +119,6 @@ static inline systime_t port_timer_get_alarm(void) {
return stGetAlarm();
}
-#endif /* _CHCORE_TIMER_H_ */
+#endif /* CHCORE_TIMER_H */
/** @} */
diff --git a/os/common/ports/ARMCMx/chcore_v6m.h b/os/common/ports/ARMCMx/chcore_v6m.h
index dbda15e61..0afeeabe9 100644
--- a/os/common/ports/ARMCMx/chcore_v6m.h
+++ b/os/common/ports/ARMCMx/chcore_v6m.h
@@ -25,8 +25,8 @@
* @{
*/
-#ifndef _CHCORE_V6M_H_
-#define _CHCORE_V6M_H_
+#ifndef CHCORE_V6M_H
+#define CHCORE_V6M_H
/*===========================================================================*/
/* Module constants. */
@@ -435,6 +435,6 @@ static inline void port_wait_for_interrupt(void) {
#endif /* _FROM_ASM_ */
-#endif /* _CHCORE_V6M_H_ */
+#endif /* CHCORE_V6M_H */
/** @} */
diff --git a/os/common/ports/ARMCMx/chcore_v7m.h b/os/common/ports/ARMCMx/chcore_v7m.h
index 5fc00820f..5dbbed8bd 100644
--- a/os/common/ports/ARMCMx/chcore_v7m.h
+++ b/os/common/ports/ARMCMx/chcore_v7m.h
@@ -25,8 +25,8 @@
* @{
*/
-#ifndef _CHCORE_V7M_H_
-#define _CHCORE_V7M_H_
+#ifndef CHCORE_V7M_H
+#define CHCORE_V7M_H
/*===========================================================================*/
/* Module constants. */
@@ -693,6 +693,6 @@ static inline rtcnt_t port_rt_get_counter_value(void) {
#endif /* !defined(_FROM_ASM_) */
-#endif /* _CHCORE_V7M_H_ */
+#endif /* CHCORE_V7M_H */
/** @} */
diff --git a/os/common/ports/ARMCMx/compilers/GCC/chtypes.h b/os/common/ports/ARMCMx/compilers/GCC/chtypes.h
index 5e27b8620..8c03899d7 100644
--- a/os/common/ports/ARMCMx/compilers/GCC/chtypes.h
+++ b/os/common/ports/ARMCMx/compilers/GCC/chtypes.h
@@ -25,8 +25,8 @@
* @{
*/
-#ifndef _CHTYPES_H_
-#define _CHTYPES_H_
+#ifndef CHTYPES_H
+#define CHTYPES_H
#include <stddef.h>
#include <stdint.h>
@@ -98,6 +98,6 @@ typedef uint32_t ucnt_t; /**< Generic unsigned counter. */
*/
#define ALIGNED_VAR(n) __attribute__((aligned(n)))
-#endif /* _CHTYPES_H_ */
+#endif /* CHTYPES_H */
/** @} */
diff --git a/os/common/ports/ARMCMx/compilers/IAR/chtypes.h b/os/common/ports/ARMCMx/compilers/IAR/chtypes.h
index 1bd58185f..152a64fe0 100644
--- a/os/common/ports/ARMCMx/compilers/IAR/chtypes.h
+++ b/os/common/ports/ARMCMx/compilers/IAR/chtypes.h
@@ -25,8 +25,8 @@
* @{
*/
-#ifndef _CHTYPES_H_
-#define _CHTYPES_H_
+#ifndef CHTYPES_H
+#define CHTYPES_H
#include <stddef.h>
#include <stdint.h>
@@ -93,6 +93,6 @@ typedef uint32_t ucnt_t; /**< Generic unsigned counter. */
*/
#define PACKED_VAR __packed
-#endif /* _CHTYPES_H_ */
+#endif /* CHTYPES_H */
/** @} */
diff --git a/os/common/ports/ARMCMx/compilers/RVCT/chtypes.h b/os/common/ports/ARMCMx/compilers/RVCT/chtypes.h
index abc559668..398472dfe 100644
--- a/os/common/ports/ARMCMx/compilers/RVCT/chtypes.h
+++ b/os/common/ports/ARMCMx/compilers/RVCT/chtypes.h
@@ -25,8 +25,8 @@
* @{
*/
-#ifndef _CHTYPES_H_
-#define _CHTYPES_H_
+#ifndef CHTYPES_H
+#define CHTYPES_H
#include <stddef.h>
#include <stdint.h>
@@ -93,6 +93,6 @@ typedef uint32_t ucnt_t; /**< Generic unsigned counter. */
*/
#define PACKED_VAR __packed
-#endif /* _CHTYPES_H_ */
+#endif /* CHTYPES_H */
/** @} */
diff --git a/os/common/ports/ARMCMx/mpu.h b/os/common/ports/ARMCMx/mpu.h
index 0f98e8a8a..6de5c5c50 100644
--- a/os/common/ports/ARMCMx/mpu.h
+++ b/os/common/ports/ARMCMx/mpu.h
@@ -22,8 +22,8 @@
* @{
*/
-#ifndef _MPU_H_
-#define _MPU_H_
+#ifndef MPU_H
+#define MPU_H
/*===========================================================================*/
/* Driver constants. */
@@ -203,6 +203,6 @@ extern "C" {
}
#endif
-#endif /* _MPU_H_ */
+#endif /* MPU_H */
/** @} */
diff --git a/os/common/ports/AVR/chcore.h b/os/common/ports/AVR/chcore.h
index 175c00e19..823b38d8c 100644
--- a/os/common/ports/AVR/chcore.h
+++ b/os/common/ports/AVR/chcore.h
@@ -27,8 +27,8 @@
* @{
*/
-#ifndef _CHCORE_H_
-#define _CHCORE_H_
+#ifndef CHCORE_H
+#define CHCORE_H
/*===========================================================================*/
/* Module constants. */
@@ -525,6 +525,6 @@ static inline rtcnt_t port_rt_get_counter_value(void) {
#endif /* !defined(_FROM_ASM_) */
-#endif /* _CHCORE_H_ */
+#endif /* CHCORE_H */
/** @} */
diff --git a/os/common/ports/AVR/chcore_timer.h b/os/common/ports/AVR/chcore_timer.h
index 3d99af347..f1aaf1c73 100644
--- a/os/common/ports/AVR/chcore_timer.h
+++ b/os/common/ports/AVR/chcore_timer.h
@@ -25,8 +25,8 @@
* @{
*/
-#ifndef _CHCORE_TIMER_H_
-#define _CHCORE_TIMER_H_
+#ifndef CHCORE_TIMER_H
+#define CHCORE_TIMER_H
/* This is the only header in the HAL designed to be include-able alone.*/
#include "hal_st.h"
@@ -119,6 +119,6 @@ static inline systime_t port_timer_get_alarm(void) {
return stGetAlarm();
}
-#endif /* _CHCORE_TIMER_H_ */
+#endif /* CHCORE_TIMER_H */
/** @} */
diff --git a/os/common/ports/AVR/compilers/GCC/chtypes.h b/os/common/ports/AVR/compilers/GCC/chtypes.h
index 20aae8ce1..8222a3f8e 100644
--- a/os/common/ports/AVR/compilers/GCC/chtypes.h
+++ b/os/common/ports/AVR/compilers/GCC/chtypes.h
@@ -25,8 +25,8 @@
* @{
*/
-#ifndef _CHTYPES_H_
-#define _CHTYPES_H_
+#ifndef CHTYPES_H
+#define CHTYPES_H
#include <stddef.h>
#include <stdint.h>
@@ -98,6 +98,6 @@ typedef uint8_t ucnt_t; /**< Generic unsigned counter. */
*/
#define ALIGNED_VAR(n) __attribute__((aligned(n)))
-#endif /* _CHTYPES_H_ */
+#endif /* CHTYPES_H */
/** @} */
diff --git a/os/common/ports/SIMIA32/chcore.h b/os/common/ports/SIMIA32/chcore.h
index 99301cd0e..b7db58e4b 100644
--- a/os/common/ports/SIMIA32/chcore.h
+++ b/os/common/ports/SIMIA32/chcore.h
@@ -25,8 +25,8 @@
* @{
*/
-#ifndef _CHCORE_H_
-#define _CHCORE_H_
+#ifndef CHCORE_H
+#define CHCORE_H
/*===========================================================================*/
/* Module constants. */
@@ -377,6 +377,6 @@ static inline void port_wait_for_interrupt(void) {
_sim_check_for_interrupts();
}
-#endif /* _CHCORE_H_ */
+#endif /* CHCORE_H */
/** @} */
diff --git a/os/common/ports/SIMIA32/compilers/GCC/chtypes.h b/os/common/ports/SIMIA32/compilers/GCC/chtypes.h
index de5b0edfa..147db448d 100644
--- a/os/common/ports/SIMIA32/compilers/GCC/chtypes.h
+++ b/os/common/ports/SIMIA32/compilers/GCC/chtypes.h
@@ -25,8 +25,8 @@
* @{
*/
-#ifndef _CHTYPES_H_
-#define _CHTYPES_H_
+#ifndef CHTYPES_H
+#define CHTYPES_H
#include <stddef.h>
#include <stdint.h>
@@ -105,6 +105,6 @@ typedef uint32_t ucnt_t; /**< Generic unsigned counter. */
*/
#define PACKED_VAR __attribute__((packed))
-#endif /* _CHTYPES_H_ */
+#endif /* CHTYPES_H */
/** @} */
diff --git a/os/common/ports/e200/chcore.h b/os/common/ports/e200/chcore.h
index c86f7648a..d031f1c28 100644
--- a/os/common/ports/e200/chcore.h
+++ b/os/common/ports/e200/chcore.h
@@ -25,8 +25,8 @@
* @{
*/
-#ifndef _CHCORE_H_
-#define _CHCORE_H_
+#ifndef CHCORE_H
+#define CHCORE_H
#include "intc.h"
@@ -626,6 +626,6 @@ static inline rtcnt_t port_rt_get_counter_value(void) {
#endif /* !defined(_FROM_ASM_) */
-#endif /* _CHCORE_H_ */
+#endif /* CHCORE_H */
/** @} */
diff --git a/os/common/ports/e200/compilers/CW/chtypes.h b/os/common/ports/e200/compilers/CW/chtypes.h
index 78b000424..4976da817 100644
--- a/os/common/ports/e200/compilers/CW/chtypes.h
+++ b/os/common/ports/e200/compilers/CW/chtypes.h
@@ -25,8 +25,8 @@
* @{
*/
-#ifndef _CHTYPES_H_
-#define _CHTYPES_H_
+#ifndef CHTYPES_H
+#define CHTYPES_H
#include <stddef.h>
#include <stdint.h>
@@ -88,6 +88,6 @@ typedef uint32_t ucnt_t; /**< Generic unsigned counter. */
*/
#define PORT_THD_FUNCTION(tname, arg) void tname(void *arg)
-#endif /* _CHTYPES_H_ */
+#endif /* CHTYPES_H */
/** @} */
diff --git a/os/common/ports/e200/compilers/GCC/chtypes.h b/os/common/ports/e200/compilers/GCC/chtypes.h
index 119c532e2..6ee1962b1 100644
--- a/os/common/ports/e200/compilers/GCC/chtypes.h
+++ b/os/common/ports/e200/compilers/GCC/chtypes.h
@@ -25,8 +25,8 @@
* @{
*/
-#ifndef _CHTYPES_H_
-#define _CHTYPES_H_
+#ifndef CHTYPES_H
+#define CHTYPES_H
#include <stddef.h>
#include <stdint.h>
@@ -88,6 +88,6 @@ typedef uint32_t ucnt_t; /**< Generic unsigned counter. */
*/
#define PORT_THD_FUNCTION(tname, arg) void tname(void *arg)
-#endif /* _CHTYPES_H_ */
+#endif /* CHTYPES_H */
/** @} */
diff --git a/os/common/ports/templates/chcore.h b/os/common/ports/templates/chcore.h
index ebefe487d..4b92a3a23 100644
--- a/os/common/ports/templates/chcore.h
+++ b/os/common/ports/templates/chcore.h
@@ -27,8 +27,8 @@
* @{
*/
-#ifndef _CHCORE_H_
-#define _CHCORE_H_
+#ifndef CHCORE_H
+#define CHCORE_H
/*===========================================================================*/
/* Module constants. */
@@ -447,6 +447,6 @@ static inline rtcnt_t port_rt_get_counter_value(void) {
#endif /* !defined(_FROM_ASM_) */
-#endif /* _CHCORE_H_ */
+#endif /* CHCORE_H */
/** @} */
diff --git a/os/common/ports/templates/chtypes.h b/os/common/ports/templates/chtypes.h
index c916f6c63..fa63f8898 100644
--- a/os/common/ports/templates/chtypes.h
+++ b/os/common/ports/templates/chtypes.h
@@ -29,8 +29,8 @@
* @{
*/
-#ifndef _CHTYPES_H_
-#define _CHTYPES_H_
+#ifndef CHTYPES_H
+#define CHTYPES_H
#include <stddef.h>
#include <stdint.h>
@@ -102,6 +102,6 @@ typedef uint32_t ucnt_t; /**< Generic unsigned counter. */
*/
#define ALIGNED_VAR(n) __attribute__((aligned(n)))
-#endif /* _CHTYPES_H_ */
+#endif /* CHTYPES_H */
/** @} */