summaryrefslogtreecommitdiffstats
path: root/bsps/arm/beagle/start/bspstart.c
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2019-06-25 21:16:27 +1000
committerChris Johns <chrisj@rtems.org>2019-07-31 08:33:05 +1000
commit7d4f74e9681deb85baa84499df965d3f4c22b7d8 (patch)
tree559abfb929571d1eb3278034b8eecf306ff630a2 /bsps/arm/beagle/start/bspstart.c
parentlibdebugger: ARM fixes for Cortex-A8 and ARM mode. (diff)
downloadrtems-7d4f74e9681deb85baa84499df965d3f4c22b7d8.tar.bz2
arm/beagle: Add libdebugger support.
- Port the jbang code from C++ to C to enable DBGEN. - Hook the libdebugger ARM backend support to return the base address of the debug register set.
Diffstat (limited to '')
-rw-r--r--bsps/arm/beagle/start/bspstart.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bsps/arm/beagle/start/bspstart.c b/bsps/arm/beagle/start/bspstart.c
index 292b576aef..47db5cc529 100644
--- a/bsps/arm/beagle/start/bspstart.c
+++ b/bsps/arm/beagle/start/bspstart.c
@@ -17,6 +17,8 @@
#include <bsp/irq-generic.h>
#include <bsp/fdt.h>
+#include "bspdebug.h"
+
void bsp_start(void)
{
#if IS_DM3730
@@ -27,6 +29,7 @@ void bsp_start(void)
#endif
bsp_interrupt_initialize();
printk("\nRTEMS Beagleboard: %s\n", type);
+ printk(" ARM Debug: 0x%08x\n", (intptr_t) bbb_arm_debug_registers());
}
uint32_t bsp_fdt_map_intr(const uint32_t *intr, size_t icells)