[rtems commit] powerpc/mvme3100: Improve Doxygen

Joel Sherrill joel at rtems.org
Wed Jan 8 21:25:41 UTC 2014


Module:    rtems
Branch:    master
Commit:    a77c3719f83940a026b23ad601b175069dd0420f
Changeset: http://git.rtems.org/rtems/commit/?id=a77c3719f83940a026b23ad601b175069dd0420f

Author:    Szkocsovszki Zsolt <zsoltisharkboy at gmail.com>
Date:      Fri Jan  3 13:35:39 2014 +0100

powerpc/mvme3100: Improve Doxygen

---

 c/src/lib/libbsp/powerpc/mvme3100/doxygen.h        |   15 +++++++++++++++
 .../powerpc/mvme3100/i2c/mpc8540_i2c_busdrv.h      |    8 ++++++++
 c/src/lib/libbsp/powerpc/mvme3100/include/bsp.h    |   17 ++++++++++++++---
 c/src/lib/libbsp/powerpc/mvme3100/irq/irq.h        |   17 +++++++++++++++--
 .../libbsp/powerpc/mvme3100/network/if_tsec_pub.h  |   16 ++++++++++++++--
 c/src/lib/libbsp/powerpc/mvme3100/vme/VMEConfig.h  |   19 +++++++++++++++++--
 6 files changed, 83 insertions(+), 9 deletions(-)

diff --git a/c/src/lib/libbsp/powerpc/mvme3100/doxygen.h b/c/src/lib/libbsp/powerpc/mvme3100/doxygen.h
new file mode 100644
index 0000000..59ae7ef
--- /dev/null
+++ b/c/src/lib/libbsp/powerpc/mvme3100/doxygen.h
@@ -0,0 +1,15 @@
+/**
+ *  @defgroup bsp_powerpc POWERPC
+ *
+ *  @ingroup bsp_kit
+ *
+ *  @brief POWERPC Board Support Packages
+ */
+
+/**
+ *  @defgroup powerpc_mvme3100 POWERPC MVME3100 Modules
+ *
+ *  @ingroup bsp_powerpc
+ *
+ *  @brief POWERPC MVME3100 Modules
+ */
\ No newline at end of file
diff --git a/c/src/lib/libbsp/powerpc/mvme3100/i2c/mpc8540_i2c_busdrv.h b/c/src/lib/libbsp/powerpc/mvme3100/i2c/mpc8540_i2c_busdrv.h
index 7ebebb0..181b45f 100644
--- a/c/src/lib/libbsp/powerpc/mvme3100/i2c/mpc8540_i2c_busdrv.h
+++ b/c/src/lib/libbsp/powerpc/mvme3100/i2c/mpc8540_i2c_busdrv.h
@@ -1,3 +1,11 @@
+/**
+ *  @file
+ *
+ *  @ingroup powerpc_mpc8540i2cbusdrv
+ *
+ *  @brief I2C bus driver for mpc8540-based boards
+ */
+
 #ifndef MPC8540_I2C_BUS_DRIVER_H
 #define MPC8540_I2C_BUS_DRIVER_H
 
diff --git a/c/src/lib/libbsp/powerpc/mvme3100/include/bsp.h b/c/src/lib/libbsp/powerpc/mvme3100/include/bsp.h
index 22e55f5..51a4870 100644
--- a/c/src/lib/libbsp/powerpc/mvme3100/include/bsp.h
+++ b/c/src/lib/libbsp/powerpc/mvme3100/include/bsp.h
@@ -1,5 +1,12 @@
+/**
+ *  @file
+ *
+ *  @ingroup mvme3100_bsp
+ *
+ *  @brief This file contains BSP API definition.
+ */
+
 /*
- *  bsp.h  -- contain BSP API definition.
  *
  *  Copyright (C) 1999 Eric Valette. valette at crf.canon.fr
  *
@@ -21,8 +28,12 @@
 #include <rtems/clockdrv.h>
 #include <bsp/vectors.h>
 
-/*
- *  confdefs.h overrides for this BSP:
+/**
+ *  @defgroup mvme3100_bsp confdefs.h overrides
+ *
+ *  @ingroup powerpc_mvme3100
+ *
+ *  @brief confdefs.h overrides for this BSP:
  */
 
 #define BSP_INTERRUPT_STACK_SIZE          (16 * 1024)
diff --git a/c/src/lib/libbsp/powerpc/mvme3100/irq/irq.h b/c/src/lib/libbsp/powerpc/mvme3100/irq/irq.h
index 1b521df..9f7c907 100644
--- a/c/src/lib/libbsp/powerpc/mvme3100/irq/irq.h
+++ b/c/src/lib/libbsp/powerpc/mvme3100/irq/irq.h
@@ -1,3 +1,12 @@
+/**
+ *  @file
+ *
+ *  @ingroup powerpc_irq
+ *
+ *  @brief This include file describe the data structure and the functions
+ *  implemented by RTEMS to write interrupt handlers.
+ */
+
 /* irq.h
  *
  *  This include file describe the data structure and the functions implemented
@@ -30,8 +39,12 @@
 extern "C" {
 #endif
 
-/*
- * rtems_irq_number Definitions
+/**
+ *  @defgroup powerpc_irq Definitions
+ *
+ *  @ingroup powerpc_mvme3100
+ *
+ *  @brief rtems_irq_number Definitions
  */
 
 /* Must pad number of external sources to 16 because
diff --git a/c/src/lib/libbsp/powerpc/mvme3100/network/if_tsec_pub.h b/c/src/lib/libbsp/powerpc/mvme3100/network/if_tsec_pub.h
index f84c760..7eb0358 100644
--- a/c/src/lib/libbsp/powerpc/mvme3100/network/if_tsec_pub.h
+++ b/c/src/lib/libbsp/powerpc/mvme3100/network/if_tsec_pub.h
@@ -1,3 +1,11 @@
+/**
+ *  @file
+ *
+ *  @ingroup powerpc_iftsecpub
+ *
+ *  @brief IF_TSEC_PUB Support
+ */
+
 #ifndef IF_TSEC_PUBLIC_INTERFACE_H
 #define IF_TSEC_PUBLIC_INTERFACE_H
 
@@ -60,8 +68,12 @@ struct tsec_private;
 
 /********** Low-level Driver API ****************/
 
-/*
- * This API provides driver access to applications that
+/**
+ *  @defgroup powerpc_iftsecpub Low-level Driver API
+ *
+ *  @ingroup powerpc_mvme3100
+ *
+ *  @brief This API provides driver access to applications that
  * want to use e.g., the second ethernet interface
  * independently from the BSD TCP/IP stack. E.g., for
  * raw ethernet packet communication...
diff --git a/c/src/lib/libbsp/powerpc/mvme3100/vme/VMEConfig.h b/c/src/lib/libbsp/powerpc/mvme3100/vme/VMEConfig.h
index 0d0186d..5692ac5 100644
--- a/c/src/lib/libbsp/powerpc/mvme3100/vme/VMEConfig.h
+++ b/c/src/lib/libbsp/powerpc/mvme3100/vme/VMEConfig.h
@@ -1,8 +1,14 @@
+/**
+ *  @file
+ *
+ *  @ingroup powerpc_vmeconfig
+ *
+ *  @brief mvme3100 BSP specific address space configuration parameters
+ */
+
 #ifndef RTEMS_BSP_VME_CONFIG_H
 #define RTEMS_BSP_VME_CONFIG_H
 
-/* mvme3100 BSP specific address space configuration parameters */
-
 /*
  * Authorship
  * ----------
@@ -97,6 +103,15 @@
  * universe. The default setup tries to use interrupt
  * sharing.
  */
+
+/**
+ *  @defgroup powerpc_vme BSP_VME_INSTALL_IRQ_MGR Support
+ *
+ *  @ingroup powerpc_mvme3100
+ *
+ *  @brief BSP_VME_INSTALL_IRQ_MGR Support Package
+ */
+
 #define BSP_VME_INSTALL_IRQ_MGR(err)    \
 	do {                                \
 		err = vmeTsi148InstallIrqMgrAlt(\




More information about the vc mailing list