summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/lm32/shared/gdbstub/gdb_if.h
diff options
context:
space:
mode:
authorChirayu Desai <cdesai@cyanogenmod.org>2013-12-23 22:14:42 +0530
committerGedare Bloom <gedare@rtems.org>2013-12-23 12:21:32 -0500
commitc541862e73534b12892b8242a72f77faaebd8ac3 (patch)
tree4c7c1ee77e1888f8eeb024de5d214bf2d21f41e2 /c/src/lib/libbsp/lm32/shared/gdbstub/gdb_if.h
parentarm_stm32f4: added new doxygen (diff)
downloadrtems-c541862e73534b12892b8242a72f77faaebd8ac3.tar.bz2
lm32: Add doxygen
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/lm32/shared/gdbstub/gdb_if.h23
1 files changed, 19 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/lm32/shared/gdbstub/gdb_if.h b/c/src/lib/libbsp/lm32/shared/gdbstub/gdb_if.h
index 17fe75b3ae..6df9c8e921 100644
--- a/c/src/lib/libbsp/lm32/shared/gdbstub/gdb_if.h
+++ b/c/src/lib/libbsp/lm32/shared/gdbstub/gdb_if.h
@@ -1,3 +1,9 @@
+/**
+ * @file
+ * @ingroup lm32_gdb
+ * @brief definition of the interface between the stub and gdb
+ */
+
/*
* gdb_if.h - definition of the interface between the stub and gdb
*
@@ -12,10 +18,17 @@
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
+/**
+ * @defgroup lm32_gdb LM32 GDB Interface
+ * @ingroup lm32_shared
+ * @brief Definition of the interface between the stub and gdb,
+ * @{
+ */
+
#ifndef _GDB_IF_H
#define _GDB_IF_H
-/* Max number of threads in qM response */
+/** @brief Max number of threads in qM response */
#define QM_MAX_THREADS (20)
struct rtems_gdb_stub_thread_info {
@@ -70,7 +83,7 @@ void rtems_gdb_process_query(
int thread
);
-/* Exception IDs */
+/** @brief Exception IDs */
#define LM32_EXCEPTION_RESET 0x0
#define LM32_EXCEPTION_INST_BREAKPOINT 0x1
#define LM32_EXCEPTION_INST_BUS_ERROR 0x2
@@ -80,10 +93,10 @@ void rtems_gdb_process_query(
#define LM32_EXCEPTION_INTERRUPT 0x6
#define LM32_EXCEPTION_SYSTEM_CALL 0x7
-/* Breakpoint instruction */
+/** @brief Breakpoint instruction */
#define LM32_BREAK 0xac000002UL
-/* This numbering must be consistant with GDBs numbering in gdb/lm32-tdep.c */
+/** @brief This numbering must be consistant with GDBs numbering in gdb/lm32-tdep.c */
enum lm32_regnames {
LM32_REG_R0, LM32_REG_R1, LM32_REG_R2, LM32_REG_R3, LM32_REG_R4, LM32_REG_R5,
LM32_REG_R6, LM32_REG_R7, LM32_REG_R8, LM32_REG_R9, LM32_REG_R10,
@@ -108,3 +121,5 @@ enum lm32_int_regnames {
};
#endif /* _GDB_IF_H */
+
+/** @} */