summaryrefslogtreecommitdiffstats
path: root/src/usr/hwpf
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/hwpf')
-rw-r--r--src/usr/hwpf/plat/fapiPlatUtil.C6
-rw-r--r--src/usr/hwpf/test/hwpftest.H15
2 files changed, 21 insertions, 0 deletions
diff --git a/src/usr/hwpf/plat/fapiPlatUtil.C b/src/usr/hwpf/plat/fapiPlatUtil.C
index 2f155bccd..58b83db0c 100644
--- a/src/usr/hwpf/plat/fapiPlatUtil.C
+++ b/src/usr/hwpf/plat/fapiPlatUtil.C
@@ -35,6 +35,7 @@
#include <errl/errlmanager.H>
#include <fapiPlatHwpInvoker.H>
#include <vfs/vfs.H>
+#include <initservice/initsvcbreakpoint.H>
//******************************************************************************
@@ -193,4 +194,9 @@ fapi::ReturnCode fapiUnloadInitFile(const char * i_file, const char *& io_addr,
return l_rc;
}
+void fapiBreakPoint(const fapi::Target & i_target, uint64_t i_info)
+{
+ INITSERVICE::iStepBreakPoint(i_target, i_info);
+}
+
}
diff --git a/src/usr/hwpf/test/hwpftest.H b/src/usr/hwpf/test/hwpftest.H
index 4776ea41e..c087ed0ca 100644
--- a/src/usr/hwpf/test/hwpftest.H
+++ b/src/usr/hwpf/test/hwpftest.H
@@ -622,6 +622,21 @@ public:
}
}
}
+
+
+// // unit test breakpoint
+// void testHwpf7()
+// {
+// fapi::Target fapiTarget;
+// FAPI_INF("AT breakpoint");
+// fapiBreakPoint(fapiTarget,__LINE__);
+//
+// // requires outside hb-istep resume command to continue
+//
+// FAPI_INF("RESUME from breakpoint");
+// }
+
+
};
#endif
OpenPOWER on IntegriCloud