From 87bb4617236bd6e8b75a28d5598036a8cbe1cd2e Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 6 Nov 2008 16:21:23 +0000 Subject: cosmetic git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1138 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/arch/arm/include/arch.h | 40 +++++++++++++++++++------------------- nuttx/arch/arm/include/c5471/irq.h | 40 +++++++++++++++++++------------------- nuttx/arch/arm/include/dm320/irq.h | 40 +++++++++++++++++++------------------- nuttx/arch/arm/include/irq.h | 40 +++++++++++++++++++------------------- nuttx/arch/arm/include/limits.h | 24 +++++++++++------------ nuttx/arch/arm/include/serial.h | 32 +++++++++++++++--------------- nuttx/arch/arm/include/types.h | 36 +++++++++++++++++----------------- nuttx/arch/arm/include/watchdog.h | 36 +++++++++++++++++----------------- 8 files changed, 144 insertions(+), 144 deletions(-) (limited to 'nuttx') diff --git a/nuttx/arch/arm/include/arch.h b/nuttx/arch/arm/include/arch.h index 6f8f0f89e..d97353ba1 100644 --- a/nuttx/arch/arm/include/arch.h +++ b/nuttx/arch/arm/include/arch.h @@ -1,7 +1,7 @@ -/************************************************************ - * arch/arch.h +/**************************************************************************** + * arch/arm/include/arch.h * - * Copyright (C) 2007 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -14,7 +14,7 @@ * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. - * 3. Neither the name Gregory Nutt nor the names of its contributors may be + * 3. Neither the name NuttX nor the names of its contributors may be * used to endorse or promote products derived from this software * without specific prior written permission. * @@ -31,38 +31,38 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************/ + ****************************************************************************/ /* This file should never be included directed but, rather, * only indirectly through nuttx/arch.h */ -#ifndef __ARCH_ARCH_H -#define __ARCH_ARCH_H +#ifndef __ARCH_ARM_INCLUDE_ARCH_H +#define __ARCH_ARM_INCLUDE_ARCH_H -/************************************************************ +/**************************************************************************** * Included Files - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Definitions - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Inline functions - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Public Types - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Public Variables - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Public Function Prototypes - ************************************************************/ + ****************************************************************************/ #ifdef __cplusplus #define EXTERN extern "C" @@ -76,4 +76,4 @@ extern "C" { } #endif -#endif /* __ARCH_ARCH_H */ +#endif /* __ARCH_ARM_INCLUDE_ARCH_H */ diff --git a/nuttx/arch/arm/include/c5471/irq.h b/nuttx/arch/arm/include/c5471/irq.h index ee1c6ebd4..7f6dcd343 100644 --- a/nuttx/arch/arm/include/c5471/irq.h +++ b/nuttx/arch/arm/include/c5471/irq.h @@ -1,7 +1,7 @@ -/************************************************************ - * arch/c5471/irq.h +/**************************************************************************** + * arch/arm/include/c5471/irq.h * - * Copyright (C) 2007 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -14,7 +14,7 @@ * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. - * 3. Neither the name Gregory Nutt nor the names of its contributors may be + * 3. Neither the name NuttX nor the names of its contributors may be * used to endorse or promote products derived from this software * without specific prior written permission. * @@ -31,22 +31,22 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************/ + ****************************************************************************/ /* This file should never be included directed but, rather, * only indirectly through nuttx/irq.h */ -#ifndef __ARCH_C5471_IRQ_H -#define __ARCH_C5471_IRQ_H +#ifndef __ARCH_ARM_INCLUDE_C5471_IRQ_H +#define __ARCH_ARM_INCLUDE_C5471_IRQ_H -/************************************************************ +/**************************************************************************** * Included Files - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Definitions - ************************************************************/ + ****************************************************************************/ /* C5471 Interrupts */ @@ -71,21 +71,21 @@ #define C5471_IRQ_SYSTIMER C5471_IRQ_TIMER2 #define NR_IRQS (C5471_IRQ_API+1) -/************************************************************ +/**************************************************************************** * Public Types - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Inline functions - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Public Variables - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Public Function Prototypes - ************************************************************/ + ****************************************************************************/ #ifndef __ASSEMBLY__ #ifdef __cplusplus @@ -101,5 +101,5 @@ extern "C" { #endif #endif -#endif /* __ARCH_C5471_IRQ_H */ +#endif /* __ARCH_ARM_INCLUDE_C5471_IRQ_H */ diff --git a/nuttx/arch/arm/include/dm320/irq.h b/nuttx/arch/arm/include/dm320/irq.h index 424cffab3..c8c89af5e 100644 --- a/nuttx/arch/arm/include/dm320/irq.h +++ b/nuttx/arch/arm/include/dm320/irq.h @@ -1,7 +1,7 @@ -/************************************************************ - * arch/dm320/irq.h +/**************************************************************************** + * arch/arm/include/dm320/irq.h * - * Copyright (C) 2007 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -14,7 +14,7 @@ * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. - * 3. Neither the name Gregory Nutt nor the names of its contributors may be + * 3. Neither the name NuttX nor the names of its contributors may be * used to endorse or promote products derived from this software * without specific prior written permission. * @@ -31,22 +31,22 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************/ + ****************************************************************************/ /* This file should never be included directed but, rather, * only indirectly through nuttx/irq.h */ -#ifndef __ARCH_DM320_IRQ_H -#define __ARCH_DM320_IRQ_H +#ifndef __ARCH_ARM_INCLUDE_DM320_IRQ_H +#define __ARCH_ARM_INCLUDE_DM320_IRQ_H -/************************************************************ +/**************************************************************************** * Included Files - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Definitions - ************************************************************/ + ****************************************************************************/ /* DM320 Interrupts */ @@ -100,21 +100,21 @@ #define DM320_IRQ_SYSTIMER DM320_IRQ_TMR0 #define NR_IRQS (DM320_IRQ_RSV+1) -/************************************************************ +/**************************************************************************** * Public Types - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Inline functions - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Public Variables - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Public Function Prototypes - ************************************************************/ + ****************************************************************************/ #ifndef __ASSEMBLY__ #ifdef __cplusplus @@ -130,5 +130,5 @@ extern "C" { #endif #endif -#endif /* __ARCH_DM320_IRQ_H */ +#endif /* __ARCH_ARM_INCLUDE_DM320_IRQ_H */ diff --git a/nuttx/arch/arm/include/irq.h b/nuttx/arch/arm/include/irq.h index 73ace563a..7345b52fd 100644 --- a/nuttx/arch/arm/include/irq.h +++ b/nuttx/arch/arm/include/irq.h @@ -1,7 +1,7 @@ -/************************************************************ - * arch/irq.h +/**************************************************************************** + * arch/arm/include/irq.h * - * Copyright (C) 2007 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -14,7 +14,7 @@ * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. - * 3. Neither the name Gregory Nutt nor the names of its contributors may be + * 3. Neither the name NuttX nor the names of its contributors may be * used to endorse or promote products derived from this software * without specific prior written permission. * @@ -31,25 +31,25 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************/ + ****************************************************************************/ /* This file should never be included directed but, rather, * only indirectly through nuttx/irq.h */ -#ifndef __ARCH_IRQ_H -#define __ARCH_IRQ_H +#ifndef __ARCH_ARM_INCLUDE_IRQ_H +#define __ARCH_ARM_INCLUDE_IRQ_H -/************************************************************ +/**************************************************************************** * Included Files - ************************************************************/ + ****************************************************************************/ #include #include -/************************************************************ +/**************************************************************************** * Definitions - ************************************************************/ + ****************************************************************************/ /* IRQ Stack Frame Format: * @@ -103,9 +103,9 @@ #define REG_LR REG_R14 #define REG_PC REG_R15 -/************************************************************ +/**************************************************************************** * Public Types - ************************************************************/ + ****************************************************************************/ /* This struct defines the way the registers are stored. We * need to save: @@ -151,9 +151,9 @@ struct xcptcontext }; #endif -/************************************************************ +/**************************************************************************** * Inline functions - ************************************************************/ + ****************************************************************************/ #ifndef __ASSEMBLY__ @@ -203,13 +203,13 @@ static inline void system_call(swint_t func, int parm1, } #endif -/************************************************************ +/**************************************************************************** * Public Variables - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Public Function Prototypes - ************************************************************/ + ****************************************************************************/ #ifndef __ASSEMBLY__ #ifdef __cplusplus @@ -225,5 +225,5 @@ extern "C" { #endif #endif -#endif /* __ARCH_IRQ_H */ +#endif /* __ARCH_ARM_INCLUDE_IRQ_H */ diff --git a/nuttx/arch/arm/include/limits.h b/nuttx/arch/arm/include/limits.h index a692c9c36..b18facb86 100644 --- a/nuttx/arch/arm/include/limits.h +++ b/nuttx/arch/arm/include/limits.h @@ -1,7 +1,7 @@ -/************************************************************ - * limits.h +/**************************************************************************** + * arch/arm/include/limits.h * - * Copyright (C) 2007 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -14,7 +14,7 @@ * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. - * 3. Neither the name Gregory Nutt nor the names of its contributors may be + * 3. Neither the name NuttX nor the names of its contributors may be * used to endorse or promote products derived from this software * without specific prior written permission. * @@ -31,18 +31,18 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************/ + ****************************************************************************/ -#ifndef __ARCH_LIMITS_H -#define __ARCH_LIMITS_H +#ifndef __ARCH_ARM_INCLUDE_LIMITS_H +#define __ARCH_ARM_INCLUDE_LIMITS_H -/************************************************************ +/**************************************************************************** * Included Files - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Definitions - ************************************************************/ + ****************************************************************************/ #define CHAR_BIT 8 #define SCHAR_MIN 0x80 @@ -72,4 +72,4 @@ #define LLONG_MIN 0x7fffffffffffffff #define ULLONG_MAX 0xffffffffffffffff -#endif /* __ARCH_LIMITS_H */ +#endif /* __ARCH_ARM_INCLUDE_LIMITS_H */ diff --git a/nuttx/arch/arm/include/serial.h b/nuttx/arch/arm/include/serial.h index 1439300b0..f361ed99b 100644 --- a/nuttx/arch/arm/include/serial.h +++ b/nuttx/arch/arm/include/serial.h @@ -1,7 +1,7 @@ -/************************************************************ - * arch/serial.h +/**************************************************************************** + * arch/arm/include/serial.h * - * Copyright (C) 2007 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -14,7 +14,7 @@ * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. - * 3. Neither the name Gregory Nutt nor the names of its contributors may be + * 3. Neither the name NuttX nor the names of its contributors may be * used to endorse or promote products derived from this software * without specific prior written permission. * @@ -31,18 +31,18 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************/ + ****************************************************************************/ -#ifndef __ARCH_SERIAL_H -#define __ARCH_SERIAL_H +#ifndef __ARCH_ARM_INCLUDE_SERIAL_H +#define __ARCH_ARM_INCLUDE_SERIAL_H -/************************************************************ +/**************************************************************************** * Included Files - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Definitions - ************************************************************/ + ****************************************************************************/ /* IOCTL commands supported by the ARM serial driver */ @@ -50,12 +50,12 @@ #define TIOCCBRK 0x5402 /* " " " " */ #define TIOCSERGSTRUCT 0x5403 /* Get up_dev_t for port */ -/************************************************************ +/**************************************************************************** * Public Data - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Public Functions - ************************************************************/ + ****************************************************************************/ -#endif /* __ARCH_SERIAL_H */ +#endif /* __ARCH_ARM_INCLUDE_SERIAL_H */ diff --git a/nuttx/arch/arm/include/types.h b/nuttx/arch/arm/include/types.h index 760790327..f72e6de8c 100644 --- a/nuttx/arch/arm/include/types.h +++ b/nuttx/arch/arm/include/types.h @@ -1,7 +1,7 @@ -/************************************************************ - * arch/types.h +/**************************************************************************** + * arch/arm/include/types.h * - * Copyright (C) 2007 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -14,7 +14,7 @@ * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. - * 3. Neither the name Gregory Nutt nor the names of its contributors may be + * 3. Neither the name NuttX nor the names of its contributors may be * used to endorse or promote products derived from this software * without specific prior written permission. * @@ -31,26 +31,26 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************/ + ****************************************************************************/ -/* This file should never be included directed but, rather, - * only indirectly through sys/types.h +/* This file should never be included directed but, rather, only indirectly + * through sys/types.h */ -#ifndef __ARCH_TYPES_H -#define __ARCH_TYPES_H +#ifndef __ARCH_ARM_INCLUDE_TYPES_H +#define __ARCH_ARM_INCLUDE_TYPES_H -/************************************************************ +/**************************************************************************** * Included Files - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Definitions - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Type Declarations - ************************************************************/ + ****************************************************************************/ #ifndef __ASSEMBLY__ @@ -75,8 +75,8 @@ typedef unsigned int irqstate_t; #endif /* __ASSEMBLY__ */ -/************************************************************ +/**************************************************************************** * Global Function Prototypes - ************************************************************/ + ****************************************************************************/ -#endif /* __ARCH_TYPES_H */ +#endif /* __ARCH_ARM_INCLUDE_TYPES_H */ diff --git a/nuttx/arch/arm/include/watchdog.h b/nuttx/arch/arm/include/watchdog.h index dcf5e8f67..6752ea62b 100644 --- a/nuttx/arch/arm/include/watchdog.h +++ b/nuttx/arch/arm/include/watchdog.h @@ -1,7 +1,7 @@ -/************************************************************ - * watchdog.h +/**************************************************************************** + * arch/arm/include/watchdog.h * - * Copyright (C) 2007 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -14,7 +14,7 @@ * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. - * 3. Neither the name Gregory Nutt nor the names of its contributors may be + * 3. Neither the name NuttX nor the names of its contributors may be * used to endorse or promote products derived from this software * without specific prior written permission. * @@ -31,33 +31,33 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************/ + ****************************************************************************/ -#ifndef __ARCH_WATCHDOG_H -#define __ARCH_WATCHDOG_H +#ifndef __ARCH_ARM_INCLUDE_WATCHDOG_H +#define __ARCH_ARM_INCLUDE_WATCHDOG_H -/************************************************************ +/**************************************************************************** * Included Files - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Definitions - ************************************************************/ + ****************************************************************************/ /* IOCTL commands supported by the C5471 watchdog driver */ #define WDIOC_KEEPALIVE 0x5701 /* Restart the watchdog timer */ -/************************************************************ +/**************************************************************************** * Private Data - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Private Functions - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Public Functions - ************************************************************/ + ****************************************************************************/ -#endif /* __ARCH_WATCHDOG_H */ +#endif /* __ARCH_ARM_INCLUDE_WATCHDOG_H */ -- cgit v1.2.3