summaryrefslogtreecommitdiffstats
path: root/src/usr/isteps/tod/TodProc.C
blob: 51860b441ec57236ea2179d2ddc7f79865e6a3c2 (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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
/* IBM_PROLOG_BEGIN_TAG                                                   */
/* This is an automatically generated prolog.                             */
/*                                                                        */
/* $Source: src/usr/isteps/tod/TodProc.C $                                */
/*                                                                        */
/* OpenPOWER HostBoot Project                                             */
/*                                                                        */
/* Contributors Listed Below - COPYRIGHT 2012,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 TodProc.C
 *
 *  @brief The file implements methods of TodProc class
 *
 *  HWP_IGNORE_VERSION_CHECK
 *
 */

//------------------------------------------------------------------------------
//Includes
//------------------------------------------------------------------------------
//Standard library
#include <list>
//Targeting support
#include <targeting/common/targetservice.H>
#include <targeting/common/utilFilter.H>
#include <isteps/tod_init_reasoncodes.H>
#include "TodDrawer.H"
#include "TodProc.H"
#include <isteps/tod/TodTypes.H>
#include "TodControls.H"
#include <hwas/common/deconfigGard.H>
#include "TodAssert.H"
#include "TodTrace.H"
//HWPF
#include <fapi2_target.H>
#include <target_types.H>
#include "TodUtils.H"

extern "C" {

using namespace fapi2;

namespace TOD
{

//******************************************************************************
// TodProc::TodProc
//******************************************************************************
TodProc::TodProc(
           const TARGETING::Target* i_procTarget,
           const TodDrawer* i_parentDrawer):
           iv_procTarget(i_procTarget),
           iv_parentDrawer(i_parentDrawer),
           iv_tod_node_data(NULL),
           iv_masterType(NOT_MASTER)
{
    TOD_ENTER();

    do
    {
      if(!iv_procTarget)
      {
          TOD_ERR_ASSERT("Target input i_procTarget is NULL ");
          break;
      }
      if(!iv_parentDrawer)
      {
          TOD_ERR_ASSERT("TOD drawer input iv_parentDrawer is NULL ");
          break;
      }

    TOD_ENTER("Created proc 0x%.8X on drawer 0x%.2X",
                 iv_procTarget->getAttr<TARGETING::ATTR_HUID>(),
                 iv_parentDrawer->getId());
    init();
    } while (0);

    TOD_EXIT("TodProc constructor");
}

//******************************************************************************
// TodProc::~TodProc
//******************************************************************************
TodProc::~TodProc()
{
    TOD_ENTER("TodProc destructor");

    if(iv_tod_node_data)
    {
        delete iv_tod_node_data->i_target;
        iv_tod_node_data->i_target = NULL;
        delete iv_tod_node_data;
        iv_tod_node_data = NULL;
    }

    iv_xbusTargetList.clear();
    iv_abusTargetList.clear();

    TOD_EXIT("TodProc destructor");
}


//******************************************************************************
// TodProc::getMasterType
//******************************************************************************
TodProc::ProcMasterType TodProc::getMasterType() const
{
    return iv_masterType;
}

//******************************************************************************
// TodProc::setMasterType
//******************************************************************************
void TodProc::setMasterType(const ProcMasterType i_masterType)
{
    TOD_ENTER("setMasterType");

    iv_masterType = i_masterType;
    iv_tod_node_data->i_drawer_master = true;
    TOD_IMP("Proc 0X%.8X is the drawer master for TOD drawer 0x%.2X",
             GETHUID(iv_procTarget), iv_parentDrawer->getId());
    if(TOD_MASTER == i_masterType)
    {
        TOD_IMP("Proc 0X%.8X is a TOD master",
                 GETHUID(iv_procTarget));
        iv_tod_node_data->i_tod_master = true;
    }

    TOD_EXIT("setMasterType");
}

//******************************************************************************
// TodProc::init
//******************************************************************************
void TodProc::init()
{
    TOD_ENTER("init");

    if(iv_tod_node_data)
    {
        if(iv_tod_node_data->i_target)
        {
            delete iv_tod_node_data->i_target;
        }
        delete iv_tod_node_data;
    }
    iv_tod_node_data = new tod_topology_node();
    //Initialize the iv_tod_node_data structure
    iv_tod_node_data->i_target = new
        fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP>
        (const_cast<TARGETING::Target*>(iv_procTarget));
    iv_tod_node_data->i_tod_master = false;
    iv_tod_node_data->i_drawer_master = false;
    iv_tod_node_data->i_bus_rx = NONE;
    iv_tod_node_data->i_bus_tx = NONE;

    TodTopologyNodeContainer::iterator l_childItr;

    for(l_childItr = iv_tod_node_data->i_children.begin();
        l_childItr != iv_tod_node_data->i_children.end();
        ++l_childItr)
    {
        delete (*l_childItr);
    }
    iv_tod_node_data->i_children.clear();

    iv_xbusTargetList.clear();
    iv_abusTargetList.clear();

    //Make a list of outgoing bus targets for this processor
    TARGETING::PredicateCTM
        l_xbusCTM(TARGETING::CLASS_UNIT,TARGETING::TYPE_XBUS);
    TARGETING::PredicateCTM
        l_abusCTM(TARGETING::CLASS_UNIT,TARGETING::TYPE_ABUS);

    TARGETING::TargetHandleList l_xbusTargetList;
    TARGETING::TargetHandleList l_abusTargetList;

    TARGETING::PredicateIsFunctional l_func;
    TARGETING::PredicatePostfixExpr l_funcAndXbusFilter;
    TARGETING::PredicatePostfixExpr l_funcAndAbusFilter;
    l_funcAndXbusFilter.push(&l_xbusCTM).push(&l_func).And();
    l_funcAndAbusFilter.push(&l_abusCTM).push(&l_func).And();

    TARGETING::targetService().getAssociated(l_xbusTargetList,
            iv_procTarget,
            TARGETING::TargetService::CHILD,
            TARGETING::TargetService::ALL,
            &l_funcAndXbusFilter);

    //Push the X bus targets found to the iv_xbusTargetList
    for(uint32_t l_index =0 ; l_index < l_xbusTargetList.size();
        ++l_index)
    {
        iv_xbusTargetList.push_back(l_xbusTargetList[l_index]);
    }

    TARGETING::targetService().getAssociated(l_abusTargetList,
            iv_procTarget,
            TARGETING::TargetService::CHILD,
            TARGETING::TargetService::ALL,
            &l_funcAndAbusFilter);
    //Push the A bus targets found to the iv_abusTargetList
    for(uint32_t l_index =0 ; l_index < l_abusTargetList.size();
        ++l_index)
    {
        iv_abusTargetList.push_back(l_abusTargetList[l_index]);
    }

    TOD_EXIT("init");

    return;
}

//******************************************************************************
// TodProc::connect
//******************************************************************************
errlHndl_t TodProc::connect(
        TodProc* i_destination,
        const TARGETING::TYPE i_busChipUnitType,
        bool& o_isConnected)
{
    TOD_ENTER("Source proc HUID = 0x%08X "
        "Destination proc HUID = 0x%08X "
        "Bus type for connection = 0x%08X ",
        iv_procTarget->getAttr<TARGETING::ATTR_HUID>(),
        i_destination->getTarget()->getAttr<TARGETING::ATTR_HUID>(),
        static_cast<uint32_t>(i_busChipUnitType));

    errlHndl_t l_errHndl = NULL;
    o_isConnected = false;

    do
    {
        if(iv_procTarget->getAttr<TARGETING::ATTR_HUID>() ==
                i_destination->getTarget()->getAttr<TARGETING::ATTR_HUID>())
        {
            TOD_INF("This and the destination are the same procs");
            o_isConnected = true;
            break;
        }

        TARGETING::TargetHandleList* l_pBusList = NULL;

        //Check whether we've to connect over X or A bus
        if(TARGETING::TYPE_XBUS == i_busChipUnitType)
        {
            l_pBusList = &iv_xbusTargetList;
        }
        else if(TARGETING::TYPE_ABUS == i_busChipUnitType)
        {
            l_pBusList = &iv_abusTargetList;
        }
        else
        {
            TOD_ERR("Bus type 0x%.8X passed to the method is not "
                "supported", i_busChipUnitType);
            logUnsupportedBusType(i_busChipUnitType,l_errHndl);
            break;
        }

        //From this proc (iv_procTarget), find if destination(i_destination)
        //has a connection via the bus type i_busChipUnitType :

        //Step 1: Sequentially pick buses from either iv_xbusTargetList or
        //iv_abusTargetList depending on the bus type specified as input
        //Step 2: Get the parent of peer target of the bus target found in the
        //previous step. If it matches with the destination, we got a connection
        //Step 3: If a match is found then fill the i_bus_tx and i_bus_rx
        //attributes for the destination proc and return

        //Predicates tp look for a functional proc who's HUID is same as
        //that of i_destination. This predicate will be applied as a result
        //filter to getPeerTargets to determine the connected proc.
        TARGETING::PredicateCTM
            l_procFilter(TARGETING::CLASS_CHIP,TARGETING::TYPE_PROC);
        TARGETING::PredicateIsFunctional l_funcFilter;
        TARGETING::PredicateAttrVal<TARGETING::ATTR_HUID>
            l_huidFilter(
                i_destination->getTarget()->getAttr<TARGETING::ATTR_HUID>());
        TARGETING::PredicatePostfixExpr l_resFilter;
        l_resFilter.
            push(&l_procFilter).
            push(&l_funcFilter).
            And().
            push(&l_huidFilter).
            And();

        TARGETING::TargetHandleList l_procList;
        TARGETING::TargetHandleList l_busList;

        TARGETING::TargetHandleList::iterator l_busIter = (*l_pBusList).begin();
        for(;l_busIter != (*l_pBusList).end() ; ++l_busIter)
        {
            l_procList.clear();
            l_busList.clear();

            //Need this call without result filter to get a handle to the
            //peer (bus). I need to access its HUID and chip unit.
            TARGETING::getPeerTargets(
                 l_busList,
                 *l_busIter,
                 NULL,
                 NULL);

            //The call below is to determine the connected proc
            TARGETING::getPeerTargets(
                 l_procList,
                 *l_busIter,
                 NULL,
                 //result filter to get the connected proc
                 &l_resFilter);

            if(l_procList.size())
            {
                if(l_busList.empty())
                {
                    //This is unlikely, since the proc list is not empty,
                    //we should have also found a bus, but just a safety check.
                    TOD_ERR_ASSERT(0,
                        "Couldn't find a peer for bus 0x%.8X on proc 0x%.8X",
                        (*l_busIter)->getAttr<TARGETING::ATTR_HUID>(),
                        iv_procTarget->getAttr<TARGETING::ATTR_HUID>());
                    break;
                }
                //We found a connection :
                //iv_procTarget --- i_busChipUnitType --- i_destination
                TOD_INF("Source processor 0x%.8X connects with the "
                    "destination processor 0x%.8X over "
                    "source bus 0x%.8X and destination bus 0x%.8X "
                    "via bus type 0x%.8X",
                    iv_procTarget->getAttr<TARGETING::ATTR_HUID>(),
                    i_destination->iv_procTarget->
                        getAttr<TARGETING::ATTR_HUID>(),
                    (*l_busIter)->getAttr<TARGETING::ATTR_HUID>(),
                    l_busList[0]->getAttr<TARGETING::ATTR_HUID>(),
                    i_busChipUnitType);

                //Determine the bus type as per our format, for eg XBUS0
                //ATTR_CHIP_UNIT gives the instance number of
                //the bus and it has direct correspondance to
                //the port no.
                //For instance a processor has two A buses
                //then the one with ATTR_CHIP_UNIT 0 will be A0
                //and the one with ATTR_CHIP_UNIT 1 will be A1
                p9_tod_setup_bus l_busOut = NONE;
                p9_tod_setup_bus l_busIn = NONE;
                l_errHndl = getBusPort(i_busChipUnitType,
                                (*l_busIter)->
                                    getAttr<TARGETING::ATTR_CHIP_UNIT>(),
                                l_busOut);
                if(NULL == l_errHndl)
                {
                    l_errHndl = getBusPort(i_busChipUnitType,
                        l_busList[0]->
                            getAttr<TARGETING::ATTR_CHIP_UNIT>(),
                        l_busIn);
                }
                else
                {
                    //Should not be hitting this path if HW procedure is
                    //correctly defining all the bus types and ports
                    TOD_ERR("p9_tod_setup_bus type not found for "
                        "port 0x%.2X of bus type 0x%.8X. Source processor "
                        "0x%.8X, destination processor 0x%.8X",
                        (*l_busIter)->
                            getAttr<TARGETING::ATTR_CHIP_UNIT>(),
                        i_busChipUnitType,
                        iv_procTarget->
                            getAttr<TARGETING::ATTR_HUID>(),
                        i_destination->iv_procTarget->
                            getAttr<TARGETING::ATTR_HUID>());
                    break;
                }

                //Set the bus connections for i_destination :
                //Bus out from this proc = l_busOut;
                //Bus in to destination = l_busIn;
                i_destination->setConnections(l_busOut, l_busIn);
                o_isConnected = true;
                break;
            }
        }
        if(l_errHndl)
        {
            break;
        }
    }while(0);

    TOD_EXIT("connect. errHdl = %p", l_errHndl);

    return l_errHndl;
}

//******************************************************************************
//TodProc::getBusPort
//******************************************************************************
errlHndl_t TodProc::getBusPort(
        const TARGETING::TYPE  i_busChipUnitType,
        const uint32_t  i_busPort,
        p9_tod_setup_bus& o_busPort) const
{
    TOD_ENTER("getBusPort");

    errlHndl_t l_errHndl = NULL;

    if(TARGETING::TYPE_XBUS == i_busChipUnitType)
    {
        switch(i_busPort)
        {
            case 0:
                o_busPort = XBUS0;
                break;
            case 1:
                o_busPort = XBUS1;
                break;
            case 2:
                o_busPort = XBUS2;
                break;
            case 7:
                o_busPort = XBUS7;
                break;
            default:
                TOD_ERR("Port 0x%.8X not supported for X bus",
                    i_busPort);
                logUnsupportedBusPort(i_busPort,
                    i_busChipUnitType,
                    l_errHndl);
                break;
        }
    }
    else if(TARGETING::TYPE_ABUS == i_busChipUnitType)
    {
        switch(i_busPort)
        {
            default:
                TOD_ERR("Port 0x%.8X not supported for A bus",
                    i_busPort);
                logUnsupportedBusPort(i_busPort,
                    i_busChipUnitType,
                    l_errHndl);
                break;
        }
    }
    else
    {
        TOD_ERR("Bus type 0X%.8X not supported",i_busChipUnitType);
        logUnsupportedBusType(i_busChipUnitType, l_errHndl);
    }

    TOD_EXIT("getBusPort. errHdl = %p", l_errHndl);

    return l_errHndl;
}

//******************************************************************************
//TodProc::logUnsupportedBusType
//******************************************************************************
void TodProc::logUnsupportedBusType(const int32_t i_busChipUnitType,
        errlHndl_t& io_errHdl) const
{
    /*@
     * @errortype
     * @moduleid     TOD_LOG_UNSUPPORTED_BUSTYPE
     * @reasoncode   TOD_UNSUPPORTED_BUSTYPE
     * @userdata1    Bus type that is not currently supported
     * @devdesc      Error: Unsupported bus type was detected
     *               Possible Causes: Invalid bus configuration in targeting, or
     *               getBusPort method has not been updated to support all the
     *               bus type on a given system.
     *               Resolution:Development team should be contacted.
     * @custdesc     Service Processor Firmware encountered an internal error
     */
    io_errHdl = new ERRORLOG::ErrlEntry(
                           ERRORLOG::ERRL_SEV_INFORMATIONAL,
                           TOD_MOD_LOG_UNSUPPORTED_BUSTYPE,
                           TOD_UNSUPPORTED_BUSTYPE,
                           i_busChipUnitType);
}

//******************************************************************************
//TodProc::logUnsupportedBusPort
//******************************************************************************
void TodProc::logUnsupportedBusPort(
        const int32_t i_busPort,
        const int32_t i_busChipUnitType,
        errlHndl_t& io_errHdl) const
{
    /*@
     * @errortype
     * @moduleid     TOD_LOG_UNSUPPORTED_BUSPORT
     * @reasoncode   TOD_UNSUPPORTED_BUSPORT
     * @userdata1    Bus port that is not currently supported
     * @userdata2    Bus Type for which the unsupported port has been reported
     * @devdesc      Error: Unsupported bus port was detected for the specified
     *               bus type.
     *               Possible Causes: Invalid bus configuration in targeting, or
     *               getBusPort method has not been updated to support all the
     *               possible port for a bus on a given system type.
     *               Resolution:Development team should be contacted.
     * @custdescoff     Service Processor Firmware encountered an internal error
     */
    io_errHdl = new ERRORLOG::ErrlEntry(
                           ERRORLOG::ERRL_SEV_INFORMATIONAL,
                           TOD_MOD_LOG_UNSUPPORTED_BUSTYPE,
                           TOD_UNSUPPORTED_BUSPORT,
                           i_busPort,
                           i_busChipUnitType);
}

//******************************************************************************
// TodProc::addChild
//******************************************************************************
void TodProc::addChild(TodProc* i_child)
{
    TOD_ENTER("addChild");

    if(iv_procTarget->getAttr<TARGETING::ATTR_HUID>() !=
            i_child->getTarget()->getAttr<TARGETING::ATTR_HUID>())
    {
        iv_childrenList.push_back(i_child);
        (iv_tod_node_data->i_children).push_back(i_child->getTopologyNode());
    }

    TOD_EXIT("addChild");
}

//******************************************************************************
// TodProc::getTodRegs
//******************************************************************************
void TodProc::getTodRegs(p9_tod_setup_conf_regs& o_todRegs) const
{
    o_todRegs.tod_m_path_ctrl_reg =
        iv_tod_node_data->o_todRegs.tod_m_path_ctrl_reg;
    o_todRegs.tod_pri_port_0_ctrl_reg =
        iv_tod_node_data->o_todRegs.tod_pri_port_0_ctrl_reg;
    o_todRegs.tod_pri_port_1_ctrl_reg =
        iv_tod_node_data->o_todRegs.tod_pri_port_1_ctrl_reg;
    o_todRegs.tod_sec_port_0_ctrl_reg =
        iv_tod_node_data->o_todRegs.tod_sec_port_0_ctrl_reg;
    o_todRegs.tod_sec_port_1_ctrl_reg =
        iv_tod_node_data->o_todRegs.tod_sec_port_1_ctrl_reg;
    o_todRegs.tod_s_path_ctrl_reg =
        iv_tod_node_data->o_todRegs.tod_s_path_ctrl_reg;
    o_todRegs.tod_i_path_ctrl_reg =
        iv_tod_node_data->o_todRegs.tod_i_path_ctrl_reg;
    o_todRegs.tod_pss_mss_ctrl_reg =
        iv_tod_node_data->o_todRegs.tod_pss_mss_ctrl_reg;
    o_todRegs.tod_chip_ctrl_reg =
        iv_tod_node_data->o_todRegs.tod_chip_ctrl_reg;
}

//******************************************************************************
//TodProc::setTodChipData
//******************************************************************************
void TodProc::setTodChipData(TodChipData& o_todChipData) const
{
    p9_tod_setup_conf_regs& l_todRegs = iv_tod_node_data->o_todRegs;

    o_todChipData.header.chipID = iv_procTarget->
        getAttr<TARGETING::ATTR_ORDINAL_ID>();

    o_todChipData.header.flags |= TOD_FUNC;

    fapi2::variable_buffer l_regData((uint32_t)64);

    l_regData.set(l_todRegs.tod_m_path_ctrl_reg(), 0);
    o_todChipData.regs.mpcr = l_regData.get<uint32_t>(0);

    l_regData.set(l_todRegs.tod_pri_port_0_ctrl_reg(), 0);
    o_todChipData.regs.pcrp0 = l_regData.get<uint32_t>(0);

    l_regData.set(l_todRegs.tod_pri_port_1_ctrl_reg(), 0);
    o_todChipData.regs.pcrp1 = l_regData.get<uint32_t>(0);

    l_regData.set(l_todRegs.tod_sec_port_0_ctrl_reg(), 0);
    o_todChipData.regs.scrp0 = l_regData.get<uint32_t>(0);

    l_regData.set(l_todRegs.tod_sec_port_1_ctrl_reg(), 0);
    o_todChipData.regs.scrp1 = l_regData.get<uint32_t>(0);

    l_regData.set(l_todRegs.tod_s_path_ctrl_reg(), 0);
    o_todChipData.regs.spcr = l_regData.get<uint32_t>(0);

    l_regData.set(l_todRegs.tod_i_path_ctrl_reg(), 0);
    o_todChipData.regs.ipcr = l_regData.get<uint32_t>(0);

    l_regData.set(l_todRegs.tod_pss_mss_ctrl_reg(), 0);
    o_todChipData.regs.psmscr = l_regData.get<uint32_t>(0);

    l_regData.set(l_todRegs.tod_chip_ctrl_reg(), 0);
    o_todChipData.regs.ccr = l_regData.get<uint32_t>(0);
}

}//end of namespace

}
OpenPOWER on IntegriCloud