summaryrefslogtreecommitdiffstats
path: root/hwpf/include
diff options
context:
space:
mode:
authorSantosh Puranik <santosh.puranik@in.ibm.com>2016-02-22 00:26:55 -0600
committerSantosh S. Puranik <santosh.puranik@in.ibm.com>2016-02-29 01:11:32 -0500
commitfa96524c2c612e01ff1d19680a47f74f1605eaa8 (patch)
tree744155ffa099243b40419a553b25b3f00f611bc1 /hwpf/include
parent56e55dbf8cc7f9b47659bf15b51ea5195677c35e (diff)
downloadtalos-sbe-fa96524c2c612e01ff1d19680a47f74f1605eaa8.tar.gz
talos-sbe-fa96524c2c612e01ff1d19680a47f74f1605eaa8.zip
Plat API to get Target by chiplet number
Change-Id: I119a856d0b608c25899df4ef613715e26c6ec86a Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/21022 Reviewed-by: RAJA DAS <rajadas2@in.ibm.com> Tested-by: Jenkins Server Reviewed-by: Santosh S. Puranik <santosh.puranik@in.ibm.com>
Diffstat (limited to 'hwpf/include')
-rw-r--r--hwpf/include/plat/plat_target_utils.H10
1 files changed, 10 insertions, 0 deletions
diff --git a/hwpf/include/plat/plat_target_utils.H b/hwpf/include/plat/plat_target_utils.H
index 49f1af40..ec34813c 100644
--- a/hwpf/include/plat/plat_target_utils.H
+++ b/hwpf/include/plat/plat_target_utils.H
@@ -48,5 +48,15 @@ namespace fapi2
/// attributes
Target<TARGET_TYPE_PROC_CHIP> plat_getChipTarget();
+ /// @brief Function to return a platform target handle, given the chiplet
+ // number
+ // @param i_chipletNumber The chiplet number of the target
+ // @return Platform handle
+ // @note The caller can use the platform handle to construct a Target of
+ // it's choice. Ex:
+ // fapi2::Target<fapi2::TARGET_TYPE_CORE>
+ // l_core(plat_getTargetHandleByChipletNumber(0x20);
+ plat_target_handle_t plat_getTargetHandleByChipletNumber(
+ const uint8_t i_chipletNumber);
}
#endif
OpenPOWER on IntegriCloud