diff options
author | Claus Michael Olsen <cmolsen@us.ibm.com> | 2016-11-01 12:20:15 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2016-11-14 10:20:19 -0500 |
commit | 896e334b6bd5002c890fe0e2aebba505316af5ef (patch) | |
tree | a067f343c96ea819c63185a45e18d0fb15617215 /src/import/chips/p9/utils/imageProcs/p9_tor.H | |
parent | e12aa815ef9c61d0aeb7f718e14fa219b60ae92b (diff) | |
download | talos-hostboot-896e334b6bd5002c890fe0e2aebba505316af5ef.tar.gz talos-hostboot-896e334b6bd5002c890fe0e2aebba505316af5ef.zip |
TOR API: Introducing API to expose TOR version and wrappers.
Change-Id: Id13f51cde14a4f0f7d59c1bb09d26d8d65342b05
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32074
Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Kahn C. Evans <kahnevan@us.ibm.com>
Reviewed-by: Martin Peschke <mpeschke@de.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32078
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/utils/imageProcs/p9_tor.H')
-rw-r--r-- | src/import/chips/p9/utils/imageProcs/p9_tor.H | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/import/chips/p9/utils/imageProcs/p9_tor.H b/src/import/chips/p9/utils/imageProcs/p9_tor.H index 4d6ea086a..0ce738836 100644 --- a/src/import/chips/p9/utils/imageProcs/p9_tor.H +++ b/src/import/chips/p9/utils/imageProcs/p9_tor.H @@ -34,6 +34,8 @@ namespace P9_TOR extern const char* ppeTypeName[]; extern const char* ringVariantName[]; +#define TOR_VERSION 1 + typedef struct { uint32_t sizeOfThis; @@ -436,6 +438,15 @@ int tor_append_ring( void* i_ringSection, uint8_t i_instanceId, void* i_rs4Container, uint32_t i_dbgl = 0 ); + + +/// Inform caller of TOR version +/// +/// \param[in] - none +/// +/// \retval - TOR version +uint8_t tor_version( void); + }; #endif //_P9_TOR_H_ |