summaryrefslogtreecommitdiffstats
path: root/src/include/usr/vpd/mvpdenums.H
blob: 31649d73d589534e70d5ef3da199dff78ff1c8fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
/* IBM_PROLOG_BEGIN_TAG                                                   */
/* This is an automatically generated prolog.                             */
/*                                                                        */
/* $Source: src/include/usr/vpd/mvpdenums.H $                             */
/*                                                                        */
/* OpenPOWER HostBoot Project                                             */
/*                                                                        */
/* Contributors Listed Below - COPYRIGHT 2013,2017                        */
/* [+] 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                                                     */
/**
 * @file mvpdenums.H
 *
 * @brief Enums for the MVPD fields to be requested.
 *
 */
#ifndef __MVPDENUMS_H
#define __MVPDENUMS_H

#include <vpd/ipvpdenums.H>


namespace MVPD
{

/**
* @brief Enumeration for the MVPD Records that contain
*       the keyword enumerations below.
*/
enum mvpdRecord
{
    MVPD_FIRST_RECORD   = 0x00,
    CRP0        = MVPD_FIRST_RECORD,
    CP00        = 0x01,
    VINI        = 0x02,
    LRP0        = 0x03,
    LRP1        = 0x04,
    LRP2        = 0x05,
    LRP3        = 0x06,
    LRP4        = 0x07,
    LRP5        = 0x08,
    LWP0        = 0x09,
    LWP1        = 0x0a,
    LWP2        = 0x0b,
    LWP3        = 0x0c,
    LWP4        = 0x0d,
    LWP5        = 0x0e,
    VRML        = 0x0f,
    VWML        = 0x10,
    VER0        = 0x11,
    MER0        = 0x12,
    VMSC        = 0x13,

    // Last Record
    MVPD_LAST_RECORD,
    MVPD_TEST_RECORD,   // Test purposes ONLY!

    //Start common IPVPD enums
    MVPD_INVALID_RECORD = IPVPD::INVALID_RECORD,
};

/**
* @brief Enumerations for MVPD keywords that can be
*       accessed in the MVPD.
*/
enum mvpdKeyword
{
    MVPD_FIRST_KEYWORD      = 0x00,
    VD          = MVPD_FIRST_KEYWORD,
    ED          = 0x01,
    TE          = 0x02,
    DD          = 0x03,
    DN          = 0x04,
    PG          = 0x05,
    PK          = 0x06,
    pdR         = 0x07,
    pdV         = 0x08,
    pdH         = 0x09,
    SB          = 0x0a,
    DR          = 0x0b,
    VZ          = 0x0c,
    CC          = 0x0d,
    CE          = 0x0e,
    FN          = 0x0f,
    PN          = 0x10,
    SN          = 0x11,
    PR          = 0x12,
    HE          = 0x13,
    CT          = 0x14,
    HW          = 0x15,
    pdM         = 0x16,
    IN          = 0x17,
    pdI         = 0x18,
    pdG         = 0x19,
    PB          = 0x1a,
    CH          = 0x1b,
    IQ          = 0x1c,
    PM          = 0x1d,
    PZ          = 0x1e,
    n20         = 0x1f,
    n21         = 0x20,
    n30         = 0x21,
    n31         = 0x22,
    L1          = 0x23,
    L2          = 0x24,
    L3          = 0x25,
    L4          = 0x26,
    L5          = 0x27,
    L6          = 0x28,
    L7          = 0x29,
    L8          = 0x2A,
    RT          = 0x2B,

    // Last Keyword
    MVPD_LAST_KEYWORD,
    MVPD_TEST_KEYWORD,  // Test purposes ONLY!

    //Start common IPVPD enums
    FULL_RECORD = IPVPD::FULL_RECORD,
    INVALID_MVPD_KEYWORD    = IPVPD::INVALID_KEYWORD,
};

};  // end MVPD

#endif
OpenPOWER on IntegriCloud