summaryrefslogtreecommitdiffstats
path: root/src/include/usr/vpd
diff options
context:
space:
mode:
authorDean Sanner <dsanner@us.ibm.com>2014-12-09 13:21:28 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2015-02-19 14:28:00 -0600
commit7859f0c8e486326308c3f17200ca5ada75b71a98 (patch)
treefb49916cf4b7d73d342fa6b4d415ae406104451d /src/include/usr/vpd
parent42cfb07e424a01af1504553975503e91aee7ab98 (diff)
downloadblackbird-hostboot-7859f0c8e486326308c3f17200ca5ada75b71a98.tar.gz
blackbird-hostboot-7859f0c8e486326308c3f17200ca5ada75b71a98.zip
Add proc vpd to devtree
Change-Id: Ic5bcb3020f68897fec7000238cda712336e94edc RTC: 120893 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/14877 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/vpd')
-rw-r--r--src/include/usr/vpd/cvpdenums.H13
-rw-r--r--src/include/usr/vpd/ipvpdenums.H60
-rw-r--r--src/include/usr/vpd/mvpdenums.H14
-rw-r--r--src/include/usr/vpd/spdenums.H3
4 files changed, 83 insertions, 7 deletions
diff --git a/src/include/usr/vpd/cvpdenums.H b/src/include/usr/vpd/cvpdenums.H
index 71da3f207..53bfcb27b 100644
--- a/src/include/usr/vpd/cvpdenums.H
+++ b/src/include/usr/vpd/cvpdenums.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2013,2014 */
+/* Contributors Listed Below - COPYRIGHT 2013,2015 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -25,6 +25,8 @@
#ifndef __CVPDENUMS_H
#define __CVPDENUMS_H
+#include <vpd/ipvpdenums.H>
+
namespace CVPD
{
@@ -46,7 +48,9 @@ namespace CVPD
// Last Record
CVPD_LAST_RECORD,
CVPD_TEST_RECORD, // Test purposes ONLY!
- CVPD_INVALID_RECORD = 0xFFFF,
+
+ //Start common IPVPD enums
+ CVPD_INVALID_RECORD = IPVPD::INVALID_RECORD,
};
/**
@@ -120,7 +124,10 @@ namespace CVPD
// Last Keyword
CVPD_LAST_KEYWORD,
CVPD_TEST_KEYWORD, // Test purposes ONLY!
- CVPD_INVALID_KEYWORD = 0xFFFF,
+
+ //Start common IPVPD enums
+ FULL_RECORD = IPVPD::FULL_RECORD,
+ CVPD_INVALID_KEYWORD = IPVPD::INVALID_KEYWORD,
};
}; // end CVPD
diff --git a/src/include/usr/vpd/ipvpdenums.H b/src/include/usr/vpd/ipvpdenums.H
new file mode 100644
index 000000000..8e0be2815
--- /dev/null
+++ b/src/include/usr/vpd/ipvpdenums.H
@@ -0,0 +1,60 @@
+/* IBM_PROLOG_BEGIN_TAG */
+/* This is an automatically generated prolog. */
+/* */
+/* $Source: src/include/usr/vpd/ipvpdenums.H $ */
+/* */
+/* OpenPOWER HostBoot Project */
+/* */
+/* Contributors Listed Below - COPYRIGHT 2014,2015 */
+/* [+] 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. */
+/* You may obtain a copy of the License at */
+/* */
+/* http://www.apache.org/licenses/LICENSE-2.0 */
+/* */
+/* Unless required by applicable law or agreed to in writing, software */
+/* distributed under the License is distributed on an "AS IS" BASIS, */
+/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or */
+/* implied. See the License for the specific language governing */
+/* permissions and limitations under the License. */
+/* */
+/* IBM_PROLOG_END_TAG */
+#ifndef __IPVPDENUMS_H
+#define __IPVPDENUMS_H
+
+namespace IPVPD
+{
+
+ /**
+ * @brief Enumeration for the IPVPD Records that contain
+ * the keyword enumerations below.
+ */
+ enum ipvpdRecord
+ {
+ IPVPD_FIRST_RECORD = 0xFFF0,
+ INVALID_RECORD = IPVPD_FIRST_RECORD,
+
+ // Last Record
+ IPVPD_LAST_RECORD,
+ };
+
+ /**
+ * @brief Enumerations for IPVPD keywords that can be
+ * accessed in the IPVPD.
+ */
+ enum ipvpdKeyword
+ {
+ IPVPD_FIRST_KEYWORD = 0xFFF0,
+ FULL_RECORD = IPVPD_FIRST_KEYWORD,
+ INVALID_KEYWORD = 0xFFF1,
+
+ // Last Keyword
+ IPVPD_LAST_KEYWORD,
+ };
+
+}; // end IPVPD
+
+#endif
diff --git a/src/include/usr/vpd/mvpdenums.H b/src/include/usr/vpd/mvpdenums.H
index 668dc8cc1..950245f44 100644
--- a/src/include/usr/vpd/mvpdenums.H
+++ b/src/include/usr/vpd/mvpdenums.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2013,2014 */
+/* Contributors Listed Below - COPYRIGHT 2013,2015 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -31,6 +31,9 @@
#ifndef __MVPDENUMS_H
#define __MVPDENUMS_H
+#include <vpd/ipvpdenums.H>
+
+
namespace MVPD
{
@@ -80,7 +83,9 @@ enum mvpdRecord
// Last Record
MVPD_LAST_RECORD,
MVPD_TEST_RECORD, // Test purposes ONLY!
- MVPD_INVALID_RECORD = 0xFFFF,
+
+ //Start common IPVPD enums
+ MVPD_INVALID_RECORD = IPVPD::INVALID_RECORD,
};
/**
@@ -129,7 +134,10 @@ enum mvpdKeyword
// Last Keyword
MVPD_LAST_KEYWORD,
MVPD_TEST_KEYWORD, // Test purposes ONLY!
- INVALID_MVPD_KEYWORD = 0xFFFF,
+
+ //Start common IPVPD enums
+ FULL_RECORD = IPVPD::FULL_RECORD,
+ INVALID_MVPD_KEYWORD = IPVPD::INVALID_KEYWORD,
};
}; // end MVPD
diff --git a/src/include/usr/vpd/spdenums.H b/src/include/usr/vpd/spdenums.H
index fdd6ce530..d429690cf 100644
--- a/src/include/usr/vpd/spdenums.H
+++ b/src/include/usr/vpd/spdenums.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2013,2014 */
+/* Contributors Listed Below - COPYRIGHT 2013,2015 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -315,6 +315,7 @@ enum
// This keyword should be last in the list
// Invalid Keyword
+ ENTIRE_SPD = 0xFFFE, //read entire SPD
INVALID_SPD_KEYWORD = 0xFFFF,
};
OpenPOWER on IntegriCloud