diff options
| author | Matt Ploetz <maploetz@us.ibm.com> | 2014-09-29 11:37:29 -0500 |
|---|---|---|
| committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2014-10-08 10:18:55 -0500 |
| commit | c4a67582b9dd4bb233c17dd12100c7f18cd1c6f3 (patch) | |
| tree | e16ed1f1ba83cdf68764856bc3bf933560dace0a /src/include | |
| parent | 48fbeca0d3ddb1077fb84b97592e02f59cbd7eb1 (diff) | |
| download | blackbird-hostboot-c4a67582b9dd4bb233c17dd12100c7f18cd1c6f3.tar.gz blackbird-hostboot-c4a67582b9dd4bb233c17dd12100c7f18cd1c6f3.zip | |
BMC: HCDB support
Called update_hwas_changed_mask on the target passed in, and its
children
Change-Id: I1d6ae317455b7e7dc48832f54d50150e7c280da5
RTC: 106886
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/13652
Tested-by: Jenkins Server
Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/usr/hwas/hwasPlat.H | 37 |
1 files changed, 22 insertions, 15 deletions
diff --git a/src/include/usr/hwas/hwasPlat.H b/src/include/usr/hwas/hwasPlat.H index 7a0361c0d..26781a0be 100644 --- a/src/include/usr/hwas/hwasPlat.H +++ b/src/include/usr/hwas/hwasPlat.H @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2013,2014 */ +/* Contributors Listed Below - COPYRIGHT 2013,2014 */ +/* [+] International Business Machines Corp. */ +/* */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); */ /* you may not use this file except in compliance with the License. */ @@ -23,6 +25,8 @@ #ifndef __HWAS_PLAT_H #define __HWAS_PLAT_H +#include <config.h> + /** * @file hwas/hwasPlat.H * @brief hostboot platform specific HWAS functions @@ -32,19 +36,6 @@ namespace HWAS { /** - * @brief hwasChangeDetection hostboot function - * - * This routine will do 'what is needed' to see if any hardware has - * changed (ie, look at ECID or serial numbers..) - * - * @param none - * - * @return errlHndl_t valid errlHndl_t handle if there was an error - * NULL if no errors; - */ -errlHndl_t hwasChangeDetection(); - -/** * @brief hwasPLDDetection hostboot function * * This routine will do 'what is needed' to see if there were any @@ -56,6 +47,22 @@ errlHndl_t hwasChangeDetection(); */ bool hwasPLDDetection(); -} +/** + * @brief Wrapper function that updates the bit mask to let consumers + * know that a piece of hardware, and its possible children, have changed. + * + * @param[in] i_target Target of the changed Hardware + */ +#ifndef CONFIG_HOST_HCDB_SUPPORT +inline +#endif +void markTargetChanged(TARGETING::TargetHandle_t i_target) +#ifdef CONFIG_HOST_HCDB_SUPPORT + ; +#else + {}; +#endif + +} // namespace HWAS #endif // __HWAS_PLAT_H |

