summaryrefslogtreecommitdiffstats
path: root/src/include/sys
diff options
context:
space:
mode:
authorDean Sanner <dsanner@us.ibm.com>2014-07-17 07:52:24 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-07-22 13:59:18 -0500
commit31615f402551eaa9d77b94d2c79ed5110e825e85 (patch)
treeafe745ef8b864d484531e0f1d00c51da8b954baf /src/include/sys
parent4f25725547a88037201b86487a1415f4dcdce13e (diff)
downloadtalos-hostboot-31615f402551eaa9d77b94d2c79ed5110e825e85.tar.gz
talos-hostboot-31615f402551eaa9d77b94d2c79ed5110e825e85.zip
Populate actual PVR value instead of architected version
Change-Id: I5d19166fe949394fae536f5165ce6138be7f820b Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/12277 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/sys')
-rw-r--r--src/include/sys/mmio.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/include/sys/mmio.h b/src/include/sys/mmio.h
index 617c21460..4de734266 100644
--- a/src/include/sys/mmio.h
+++ b/src/include/sys/mmio.h
@@ -5,7 +5,9 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* COPYRIGHT International Business Machines Corp. 2010,2014 */
+/* Contributors Listed Below - COPYRIGHT 2010,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. */
@@ -56,6 +58,12 @@ void* mmio_dev_map(void *ra, uint64_t i_devDataSize);
*/
int mmio_dev_unmap(void *ea);
+/** @fn mmio_pvr_read()
+ * @brief Reads and returns protected PVR register.
+ * @return PVR register value
+ */
+uint64_t mmio_pvr_read();
+
/** @fn mmio_hmer_read()
* @brief Reads and returns protected HMER register.
* @return HMER register value
OpenPOWER on IntegriCloud