diff options
| author | Doug Gilbert <dgilbert@us.ibm.com> | 2012-01-25 11:52:29 -0600 |
|---|---|---|
| committer | Douglas R. Gilbert <dgilbert@us.ibm.com> | 2012-02-03 13:24:03 -0600 |
| commit | 73a45c77486bc82475c8d24739d1212ab8d9cfad (patch) | |
| tree | 4aa321357ef984a696a68c2c9e75144927a01bdb /src/include/usr | |
| parent | 672ca9b23baf4923d74152fec4872b5207f96de8 (diff) | |
| download | blackbird-hostboot-73a45c77486bc82475c8d24739d1212ab8d9cfad.tar.gz blackbird-hostboot-73a45c77486bc82475c8d24739d1212ab8d9cfad.zip | |
istep breakpoint support
Change-Id: I592c617963f810209a9ab76345a8c568d14af62c
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/629
Tested-by: Jenkins Server
Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com>
Diffstat (limited to 'src/include/usr')
| -rw-r--r-- | src/include/usr/hwpf/fapi/fapiUtil.H | 11 | ||||
| -rw-r--r-- | src/include/usr/initservice/initsvcbreakpoint.H | 44 |
2 files changed, 55 insertions, 0 deletions
diff --git a/src/include/usr/hwpf/fapi/fapiUtil.H b/src/include/usr/hwpf/fapi/fapiUtil.H index 51a8a6dcc..23d34caf5 100644 --- a/src/include/usr/hwpf/fapi/fapiUtil.H +++ b/src/include/usr/hwpf/fapi/fapiUtil.H @@ -169,6 +169,17 @@ fapi::ReturnCode fapiLoadInitFile(const fapi::Target & i_Target, fapi::ReturnCode fapiUnloadInitFile(const char * i_file, const char *& io_addr, size_t & io_size); +/** @brief Set a break point in the current procedure + * + * This function will suspend the calling istep/procedure. + * The procedure can be signaled to resume via a cmd through the + * istep dispatcher. + * @param[in] i_target reference to the target + * @param[in] i_info location/info @TODO of the breakpoint + */ + +void fapiBreakPoint(const fapi::Target & i_target, uint64_t i_info); + } namespace fapi diff --git a/src/include/usr/initservice/initsvcbreakpoint.H b/src/include/usr/initservice/initsvcbreakpoint.H new file mode 100644 index 000000000..e273b7f74 --- /dev/null +++ b/src/include/usr/initservice/initsvcbreakpoint.H @@ -0,0 +1,44 @@ +// IBM_PROLOG_BEGIN_TAG +// This is an automatically generated prolog. +// +// $Source: src/include/usr/initservice/initsvcbreakpoint.H $ +// +// IBM CONFIDENTIAL +// +// COPYRIGHT International Business Machines Corp. 2012 +// +// p1 +// +// Object Code Only (OCO) source materials +// Licensed Internal Code Source Materials +// IBM HostBoot Licensed Internal Code +// +// The source code for this program is not published or other- +// wise divested of its trade secrets, irrespective of what has +// been deposited with the U.S. Copyright Office. +// +// Origin: 30 +// +// IBM_PROLOG_END +#if !defined(INITSVCBREAKPOINT_H) +#define INITSVCBREAKPOINT_H + +#include <stdint.h> + +namespace fapi +{ + class Target; +}; + +namespace INITSERVICE +{ + /** + * Signal that a break point has been hit during an istep + * @param[in] i_target, target information + * @param[in] i_info, other information/location of bp (TBD @TODO) + * @returns nothing + * @note Blocks until an outside cmd to resume has been received + */ + void iStepBreakPoint(const fapi::Target & i_target, uint64_t i_info); +}; +#endif |

