Make #include guard naming consistent
Change-Id: Ie13e8af0bb74ed290f811dcad64ad06c9d8cb4fa Signed-off-by: Marc Schink <openocd-dev@marcschink.de> Reviewed-on: http://openocd.zylin.com/2956 Tested-by: jenkins Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
This commit is contained in:
committed by
Andreas Fritiofson
parent
d0e763ac7e
commit
d4b7cbff88
@@ -1,3 +1,6 @@
|
||||
#ifndef OPENOCD_RTOS_LINUX_HEADER_H
|
||||
#define OPENOCD_RTOS_LINUX_HEADER_H
|
||||
|
||||
/* gdb script to update the header file
|
||||
according to kernel version and build option
|
||||
before executing function awareness
|
||||
@@ -30,3 +33,5 @@ define awareness
|
||||
#define CPU_CONT 0x1c
|
||||
#define PREEMPT 0x4
|
||||
#define MM_CTX 0x160
|
||||
|
||||
#endif /* OPENOCD_RTOS_LINUX_HEADER_H */
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef RTOS_H
|
||||
#define RTOS_H
|
||||
#ifndef OPENOCD_RTOS_RTOS_H
|
||||
#define OPENOCD_RTOS_RTOS_H
|
||||
|
||||
#include "server/server.h"
|
||||
#include <jim-nvp.h>
|
||||
@@ -109,4 +109,4 @@ int rtos_smp_init(struct target *target);
|
||||
/* function for handling symbol access */
|
||||
int rtos_qsymbol(struct connection *connection, char const *packet, int packet_size);
|
||||
|
||||
#endif /* RTOS_H */
|
||||
#endif /* OPENOCD_RTOS_RTOS_H */
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef INCLUDED_RTOS_CHIBIOS_STACKINGS_H_
|
||||
#define INCLUDED_RTOS_CHIBIOS_STACKINGS_H_
|
||||
#ifndef OPENOCD_RTOS_RTOS_CHIBIOS_STACKINGS_H
|
||||
#define OPENOCD_RTOS_RTOS_CHIBIOS_STACKINGS_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
@@ -28,4 +28,4 @@
|
||||
extern const struct rtos_register_stacking rtos_chibios_arm_v7m_stacking;
|
||||
extern const struct rtos_register_stacking rtos_chibios_arm_v7m_stacking_w_fpu;
|
||||
|
||||
#endif /* ifndef INCLUDED_RTOS_CHIBIOS_STACKINGS_H_ */
|
||||
#endif /* OPENOCD_RTOS_RTOS_CHIBIOS_STACKINGS_H */
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef INCLUDED_RTOS_STANDARD_STACKINGS_H_
|
||||
#define INCLUDED_RTOS_STANDARD_STACKINGS_H_
|
||||
#ifndef OPENOCD_RTOS_RTOS_ECOS_STACKINGS_H
|
||||
#define OPENOCD_RTOS_RTOS_ECOS_STACKINGS_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
@@ -25,4 +25,4 @@
|
||||
|
||||
extern const struct rtos_register_stacking rtos_eCos_Cortex_M3_stacking;
|
||||
|
||||
#endif /* ifndef INCLUDED_RTOS_STANDARD_STACKINGS_H_ */
|
||||
#endif /* OPENOCD_RTOS_RTOS_ECOS_STACKINGS_H */
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef INCLUDED_RTOS_EMBKERNEL_STACKINGS_H_
|
||||
#define INCLUDED_RTOS_EMBKERNEL_STACKINGS_H_
|
||||
#ifndef OPENOCD_RTOS_RTOS_EMBKERNEL_STACKINGS_H
|
||||
#define OPENOCD_RTOS_RTOS_EMBKERNEL_STACKINGS_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
@@ -27,4 +27,4 @@
|
||||
|
||||
extern const struct rtos_register_stacking rtos_embkernel_Cortex_M_stacking;
|
||||
|
||||
#endif /* ifndef INCLUDED_RTOS_EMBKERNEL_STACKINGS_H_ */
|
||||
#endif /* OPENOCD_RTOS_RTOS_EMBKERNEL_STACKINGS_H */
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef INCLUDED_RTOS_MQX_STACKINGS_H_
|
||||
#define INCLUDED_RTOS_MQX_STACKINGS_H_
|
||||
#ifndef OPENOCD_RTOS_RTOS_MQX_STACKINGS_H
|
||||
#define OPENOCD_RTOS_RTOS_MQX_STACKINGS_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
@@ -27,5 +27,4 @@
|
||||
|
||||
extern const struct rtos_register_stacking rtos_mqx_arm_v7m_stacking;
|
||||
|
||||
#endif /* ifndef INCLUDED_RTOS_MQX_STACKINGS_H_ */
|
||||
|
||||
#endif /* OPENOCD_RTOS_RTOS_MQX_STACKINGS_H */
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef INCLUDED_RTOS_STANDARD_STACKINGS_H_
|
||||
#define INCLUDED_RTOS_STANDARD_STACKINGS_H_
|
||||
#ifndef OPENOCD_RTOS_RTOS_STANDARD_STACKINGS_H
|
||||
#define OPENOCD_RTOS_RTOS_STANDARD_STACKINGS_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
@@ -37,4 +37,4 @@ int64_t rtos_Cortex_M_stack_align(struct target *target,
|
||||
const uint8_t *stack_data, const struct rtos_register_stacking *stacking,
|
||||
int64_t stack_ptr, size_t xpsr_offset);
|
||||
|
||||
#endif /* ifndef INCLUDED_RTOS_STANDARD_STACKINGS_H_ */
|
||||
#endif /* OPENOCD_RTOS_RTOS_STANDARD_STACKINGS_H */
|
||||
|
||||
Reference in New Issue
Block a user