summaryrefslogtreecommitdiffstats
path: root/src/usr/diag/prdf/common/plat/pegasus/prdfMemUtil.H
blob: 03b25ce957cc2d4ce6e363bacc8d462e1b938983 (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
/* IBM_PROLOG_BEGIN_TAG                                                   */
/* This is an automatically generated prolog.                             */
/*                                                                        */
/* $Source: src/usr/diag/prdf/common/plat/pegasus/prdfMemUtil.H $         */
/*                                                                        */
/* IBM CONFIDENTIAL                                                       */
/*                                                                        */
/* COPYRIGHT International Business Machines Corp. 2012                   */
/*                                                                        */
/* p1                                                                     */
/*                                                                        */
/* Object Code Only (OCO) source materials                                */
/* Licensed Internal Code Source Materials                                */
/* IBM HostBoot Licensed Internal Code                                    */
/*                                                                        */
/* The source code for this program is not published or otherwise         */
/* divested of its trade secrets, irrespective of what has been           */
/* deposited with the U.S. Copyright Office.                              */
/*                                                                        */
/* Origin: 30                                                             */
/*                                                                        */
/* IBM_PROLOG_END_TAG                                                     */

#ifndef prdfMemUtil_H
#define prdfMemUtil_H

/** @file  prdfMemUtil.H
 *  @brief General utility functions for the memory subsystem.
 */

#include <iipconst.h>

class PrdfExtensibleChip;
struct STEP_CODE_DATA_STRUCT;

namespace PRDF
{
namespace MemUtil
{

//#ifdef __HOSTBOOT_MODULE

/**
 * @brief  Clears bits in the MCIFIR that are triggered by centaur attentions
 *         that are reported to the host.
 * @param  i_memChip Any memory chip (MCS, MEMBUF, MBS, MBA, DIMM, etc.).
 * @param  i_sc      The step code data struct.
 * @return Non-SUCCESS for internal errors, SUCCESS otherwise.
 */
int32_t clearHostAttns( PrdfExtensibleChip * i_memChip,
                        STEP_CODE_DATA_STRUCT & i_sc );

//#endif // __HOSTBOOT_MODULE

} // end namespace MemUtil
} // end namespace PRDF

#endif // prdfMemUtil_H
OpenPOWER on IntegriCloud