[PATCH 35/40] bsps and cpukit: Manual file header clean up

Christian Mauderer christian.mauderer at embedded-brains.de
Mon Mar 7 13:23:33 UTC 2022


Updates #4625.
---
 bsps/i386/pc386/ata/ide.c                 | 41 ++++++++++-------------
 bsps/i386/pc386/ata/idecfg.c              | 33 +++++++++---------
 cpukit/include/rtems/fsmount.h            | 13 +++----
 cpukit/include/rtems/serdbg.h             | 34 +++++++++----------
 cpukit/include/rtems/serdbgcnf.h          | 27 +++++----------
 cpukit/include/rtems/termios_printk.h     | 32 ++++++++----------
 cpukit/include/rtems/termios_printk_cnf.h | 27 +++++----------
 cpukit/libfs/src/dosfs/msdos_format.c     | 13 +++----
 cpukit/libmisc/fsmount/fsmount.c          | 16 ++++-----
 cpukit/libmisc/serdbg/serdbg.c            | 33 +++++++++---------
 10 files changed, 113 insertions(+), 156 deletions(-)

diff --git a/bsps/i386/pc386/ata/ide.c b/bsps/i386/pc386/ata/ide.c
index 52877cf60b..8b0b585d22 100644
--- a/bsps/i386/pc386/ata/ide.c
+++ b/bsps/i386/pc386/ata/ide.c
@@ -1,27 +1,20 @@
-/*===============================================================*\
-| Project: RTEMS PC386 IDE harddisc driver                        |
-+-----------------------------------------------------------------+
-| File: ide.c                                                     |
-+-----------------------------------------------------------------+
-|                    Copyright (c) 2003 IMD                       |
-|      Ingenieurbuero fuer Microcomputertechnik Th. Doerfler      |
-|               <Thomas.Doerfler at imd-systems.de>                  |
-|                       all rights reserved                       |
-+-----------------------------------------------------------------+
-| this file contains the BSP layer for IDE access below the       |
-| libchip IDE harddisc driver                                     |
-| based on a board specific driver from                           |
-| Eugeny S. Mints, Oktet                                          |
-|                                                                 |
-|  The license and distribution terms for this file may be        |
-|  found in the file LICENSE in this distribution or at           |
-|  http://www.rtems.org/license/LICENSE.                     |
-|                                                                 |
-+-----------------------------------------------------------------+
-|   date                      history                        ID   |
-| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
-| 01.14.03  creation                                         doe  |
-\*===============================================================*/
+/*
+ * RTEMS PC386 IDE harddisc driver
+ *
+ * This file contains the BSP layer for IDE access below the
+ * libchip IDE harddisc driver.
+ * based on a board specific driver from
+ * Eugeny S. Mints, Oktet
+ */
+
+/*
+ * Copyright (c) 2003 Ingenieurbuero fuer Microcomputertechnik Th. Doerfler
+ * All rights reserved.
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.org/license/LICENSE.
+ */
 
 #include <inttypes.h>
 
diff --git a/bsps/i386/pc386/ata/idecfg.c b/bsps/i386/pc386/ata/idecfg.c
index 371a6eea53..777b8bcbe0 100644
--- a/bsps/i386/pc386/ata/idecfg.c
+++ b/bsps/i386/pc386/ata/idecfg.c
@@ -1,21 +1,18 @@
-/*===============================================================*\
-| Project: RTEMS PC386 IDE harddisc driver tables                 |
-+-----------------------------------------------------------------+
-| File: idecfg.c                                                  |
-+-----------------------------------------------------------------+
-|                    Copyright (c) 2003 IMD                       |
-|      Ingenieurbuero fuer Microcomputertechnik Th. Doerfler      |
-|               <Thomas.Doerfler at imd-systems.de>                  |
-|                       all rights reserved                       |
-+-----------------------------------------------------------------+
-| this file contains the table of functions for the BSP layer     |
-| for IDE access below the libchip IDE harddisc driver            |
-|                                                                 |
-+-----------------------------------------------------------------+
-|   date                      history                        ID   |
-| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
-| 01.14.03  creation                                         doe  |
-\*===============================================================*/
+/*
+ * RTEMS PC386 IDE harddisc driver tables
+ *
+ * This file contains the table of functions for the BSP layer
+ * for IDE access below the libchip IDE harddisc driver.
+ */
+
+/*
+ * Copyright (c) 2003 Ingenieurbuero fuer Microcomputertechnik Th. Doerfler
+ * All rights reserved.
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.org/license/LICENSE.
+ */
 
 #include <rtems.h>
 #include <bsp.h>
diff --git a/cpukit/include/rtems/fsmount.h b/cpukit/include/rtems/fsmount.h
index 7c6d4558c3..b9897f6340 100644
--- a/cpukit/include/rtems/fsmount.h
+++ b/cpukit/include/rtems/fsmount.h
@@ -12,14 +12,11 @@
  */
 
 /*
- * Copyright (c) 2003 IMD
- *    
- * Ingenieurbuero fuer Microcomputertechnik Th. Doerfler      
- * <Thomas.Doerfler at imd-systems.de>                  
- * all rights reserved
- *                    
- * The license and distribution terms for this file may be        
- * found in the file LICENSE in this distribution or at           
+ * Copyright (c) 2003 Ingenieurbuero fuer Microcomputertechnik Th. Doerfler
+ * All rights reserved.
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
  * http://www.rtems.org/license/LICENSE. 
  */
  
diff --git a/cpukit/include/rtems/serdbg.h b/cpukit/include/rtems/serdbg.h
index fe106bce44..411e5251fc 100644
--- a/cpukit/include/rtems/serdbg.h
+++ b/cpukit/include/rtems/serdbg.h
@@ -1,21 +1,19 @@
-/*===============================================================*\
-| Project: RTEMS remote gdb over serial line                      |
-+-----------------------------------------------------------------+
-| File: serdbg.h                                                  |
-+-----------------------------------------------------------------+
-|                    Copyright (c) 2002 IMD                       |
-|      Ingenieurbuero fuer Microcomputertechnik Th. Doerfler      |
-|               <Thomas.Doerfler at imd-systems.de>                  |
-|                       all rights reserved                       |
-+-----------------------------------------------------------------+
-| this file declares intialization functions to add               |
-| a gdb remote debug stub to an RTEMS system                      |
-|                                                                 |
-+-----------------------------------------------------------------+
-|   date                      history                        ID   |
-| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
-| 04.04.02  creation                                         doe  |
-\*===============================================================*/
+/*
+ * RTEMS remote gdb over serial line
+ *
+ * This file declares intialization functions to add
+ * a gdb remote debug stub to an RTEMS system.
+ */
+
+/*
+ * Copyright (c) 2002 Ingenieurbuero fuer Microcomputertechnik Th. Doerfler
+ * All rights reserved.
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.org/license/LICENSE.
+ */
+
 #ifndef _SERDBG_H
 #define _SERDBG_H
 
diff --git a/cpukit/include/rtems/serdbgcnf.h b/cpukit/include/rtems/serdbgcnf.h
index 9d4087ae69..1ec9905d7a 100644
--- a/cpukit/include/rtems/serdbgcnf.h
+++ b/cpukit/include/rtems/serdbgcnf.h
@@ -4,24 +4,15 @@
  * @brief Adds a GDB remote Debug Stub to an RTEMS System
  */
 
-/*===============================================================*\
-| Project: RTEMS configure remote gdb over serial line            |
-+-----------------------------------------------------------------+
-| File: serdbgcnf.h                                               |
-+-----------------------------------------------------------------+
-|                    Copyright (c) 2002 IMD                       |
-|      Ingenieurbuero fuer Microcomputertechnik Th. Doerfler      |
-|               <Thomas.Doerfler at imd-systems.de>                  |
-|                       all rights reserved                       |
-+-----------------------------------------------------------------+
-| this file declares intialization functions to add               |
-| a gdb remote debug stub to an RTEMS system                      |
-|                                                                 |
-+-----------------------------------------------------------------+
-|   date                      history                        ID   |
-| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
-| 13.05.02  creation                                         doe  |
-\*===============================================================*/
+/*
+ * Copyright (c) 2002 Ingenieurbuero fuer Microcomputertechnik Th. Doerfler
+ * All rights reserved.
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.org/license/LICENSE.
+ */
+
 #ifndef _SERDBGCNF_H
 #define _SERDBGCNF_H
 
diff --git a/cpukit/include/rtems/termios_printk.h b/cpukit/include/rtems/termios_printk.h
index dcb183533a..04772e00f5 100644
--- a/cpukit/include/rtems/termios_printk.h
+++ b/cpukit/include/rtems/termios_printk.h
@@ -1,21 +1,17 @@
-/*===============================================================*\
-| Project: RTEMS remote gdb over serial line                      |
-+-----------------------------------------------------------------+
-| File: termios_printk.h                                          |
-+-----------------------------------------------------------------+
-|                    Copyright (c) 2002 IMD                       |
-|      Ingenieurbuero fuer Microcomputertechnik Th. Doerfler      |
-|               <Thomas.Doerfler at imd-systems.de>                  |
-|                       all rights reserved                       |
-+-----------------------------------------------------------------+
-| this file declares intialization functions to add               |
-| printk polled output via termios polled drivers                 |
-|                                                                 |
-+-----------------------------------------------------------------+
-|   date                      history                        ID   |
-| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
-| 13.04.02  creation                                         doe  |
-\*===============================================================*/
+/*
+ * This file declares intialization functions to add
+ * printk polled output via termios polled drivers.
+ */
+
+/*
+ * Copyright (c) 2002 Ingenieurbuero fuer Microcomputertechnik Th. Doerfler
+ * All rights reserved.
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.org/license/LICENSE.
+ */
+
 #ifndef _TERMIOS_PRINTK_H
 #define _TERMIOS_PRINTK_H
 
diff --git a/cpukit/include/rtems/termios_printk_cnf.h b/cpukit/include/rtems/termios_printk_cnf.h
index 03c3090c38..29943f57b6 100644
--- a/cpukit/include/rtems/termios_printk_cnf.h
+++ b/cpukit/include/rtems/termios_printk_cnf.h
@@ -4,24 +4,15 @@
  * @brief Adds printk Support via Polled termios
  */
 
-/*===============================================================*\
-| Project: RTEMS configure remote gdb over serial line            |
-+-----------------------------------------------------------------+
-| File: termios_printk_cnf.h                                      |
-+-----------------------------------------------------------------+
-|                    Copyright (c) 2002 IMD                       |
-|      Ingenieurbuero fuer Microcomputertechnik Th. Doerfler      |
-|               <Thomas.Doerfler at imd-systems.de>                  |
-|                       all rights reserved                       |
-+-----------------------------------------------------------------+
-| this file declares intialization functions to add               |
-| printk support via polled termios                               |
-|                                                                 |
-+-----------------------------------------------------------------+
-|   date                      history                        ID   |
-| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
-| 13.05.02  creation                                         doe  |
-\*===============================================================*/
+/*
+ * Copyright (c) 2002 Ingenieurbuero fuer Microcomputertechnik Th. Doerfler
+ * All rights reserved.
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.org/license/LICENSE.
+ */
+
 #ifndef _TERMIOS_PRINTK_CNF_H
 #define _TERMIOS_PRINTK_CNF_H
 
diff --git a/cpukit/libfs/src/dosfs/msdos_format.c b/cpukit/libfs/src/dosfs/msdos_format.c
index 5786b0b1cb..8ffeb2935a 100644
--- a/cpukit/libfs/src/dosfs/msdos_format.c
+++ b/cpukit/libfs/src/dosfs/msdos_format.c
@@ -9,15 +9,12 @@
  */
 
 /*
- *  Copyright (C) 2004 IMD
- *  Ingenieurbuero fuer Microcomputertechnik Th. Doerfler
- *  <Thomas.Doerfler at imd-systems.de>
+ * Copyright (c) 2004 Ingenieurbuero fuer Microcomputertechnik Th. Doerfler
+ * All rights reserved.
  *
- *  All rights reserved.
- *
- *  The license and distribution terms for this file may be
- *  found in the file LICENSE in this distribution or at
- *  http://www.rtems.org/license/LICENSE.
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.org/license/LICENSE.
  */
 
 #ifdef HAVE_CONFIG_H
diff --git a/cpukit/libmisc/fsmount/fsmount.c b/cpukit/libmisc/fsmount/fsmount.c
index 190d0dd511..deb8e8b56a 100644
--- a/cpukit/libmisc/fsmount/fsmount.c
+++ b/cpukit/libmisc/fsmount/fsmount.c
@@ -7,18 +7,18 @@
  */
 
 /*
- *                    Copyright (c) 2003 IMD
- *      Ingenieurbuero fuer Microcomputertechnik Th. Doerfler
- *               <Thomas.Doerfler at imd-systems.de>
- *                       all rights reserved
- *
  * This file contains the fsmount functions. These functions
  * are used to mount a list of filesystems (and create their mount
  * points before).
+ */
+
+/*
+ * Copyright (c) 2003 Ingenieurbuero fuer Microcomputertechnik Th. Doerfler
+ * All rights reserved.
  *
- *  The license and distribution terms for this file may be
- *  found in the file LICENSE in this distribution or at
- *  http://www.rtems.org/license/LICENSE.
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.org/license/LICENSE.
  */
 
 #ifndef HAVE_CONFIG_H
diff --git a/cpukit/libmisc/serdbg/serdbg.c b/cpukit/libmisc/serdbg/serdbg.c
index 5460567fd5..817564edb7 100644
--- a/cpukit/libmisc/serdbg/serdbg.c
+++ b/cpukit/libmisc/serdbg/serdbg.c
@@ -1,21 +1,18 @@
-/*===============================================================*\
-| Project: RTEMS remote gdb over serial line                      |
-+-----------------------------------------------------------------+
-| File: serdbg.c                                                  |
-+-----------------------------------------------------------------+
-|                    Copyright (c) 2002 IMD                       |
-|      Ingenieurbuero fuer Microcomputertechnik Th. Doerfler      |
-|               <Thomas.Doerfler at imd-systems.de>                  |
-|                       all rights reserved                       |
-+-----------------------------------------------------------------+
-| this file contains intialization and utility functions to add   |
-| a gdb remote debug stub to an RTEMS system                      |
-|                                                                 |
-+-----------------------------------------------------------------+
-|   date                      history                        ID   |
-| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
-| 04.04.02  creation                                         doe  |
-\*===============================================================*/
+/*
+ * RTEMS remote gdb over serial line
+ *
+ * This file contains intialization and utility functions to add
+ * a gdb remote debug stub to an RTEMS system.
+ */
+
+/*
+ * Copyright (c) 2002 Ingenieurbuero fuer Microcomputertechnik Th. Doerfler
+ * All rights reserved.
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.org/license/LICENSE.
+ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
-- 
2.34.1



More information about the devel mailing list