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
|
/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/usr/hwpf/hwp/core_activate/proc_switch_cfsim/proc_switch_cfsim.H $ */
/* */
/* IBM CONFIDENTIAL */
/* */
/* COPYRIGHT International Business Machines Corp. 2012,2014 */
/* */
/* 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 */
// $Id: proc_switch_cfsim.H,v 1.4 2014/03/18 12:37:57 bgeukes Exp $
// $Source: /afs/awd/projects/eclipz/KnowledgeBase/.cvsroot/eclipz/chips/p8/working/procedures/ipl/fapi/proc_switch_cfsim.H,v $
//------------------------------------------------------------------------------
// *|
// *! (C) Copyright International Business Machines Corp. 2011
// *! All Rights Reserved -- Property of IBM
// *! *** IBM Confidential ***
// *|
// *! TITLE : p8_switch_cfsim.H
// *! DESCRIPTION : (FAPI)
// *!
// *! OWNER NAME : Ralph Koester Email: rkoester@de.ibm.com
// *! BACKUP NAME : Gebhard Weber Email: gweber@de.ibm.com
// *!
// *! ADDITIONAL COMMENTS :
// *!
// *! this is a function pointer of p8_switch_cfsim.C
// *!
//------------------------------------------------------------------------------
#ifndef _P8_SWITCH_CFSIM_H_
#define _P8_SWITCH_CFSIM_H_
//------------------------------------------------------------------------------
// Includes
//------------------------------------------------------------------------------
#include <fapi.H>
#include <p8_scom_addresses.H>
//------------------------------------------------------------------------------
// Structure definitions
//------------------------------------------------------------------------------
// function pointer typedef definition for HWP call support
typedef fapi::ReturnCode
(*proc_switch_cfsim_FP_t)(const fapi::Target&, bool, bool, bool, bool, bool,
bool, bool);
//------------------------------------------------------------------------------
// Constant definitions
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
// Function prototype
//------------------------------------------------------------------------------
extern "C"
{
/**
* @brief access GP4 of CFAM via MBOX
*
* @param[in] i_target Processor Chip Target (Murano, Venice)
* @param[in] RESET True if all fences should be reset
* @param[in] RESETOPB Reset both OPB switches
* @param[in] FENCEFSI0 Fence port FSI-0
* @param[in] FENCEPIBnh Fence PIB none HOST PIB port
* @param[in] FENCEPIBh Fence HOST PIB port
* @param[in] FENCEFSI1 Fence Port FSI-1
* @param[in] FENCEPIBSW1 fence PIB por
*
* @return ReturnCode
*/
fapi::ReturnCode proc_switch_cfsim(const fapi::Target& i_target,
bool i_RESET,
bool i_RESET_OPB_SWITCH,
bool i_FENCE_FSI0,
bool i_FENCE_PIB_NH,
bool i_FENCE_PIB_H,
bool i_FENCE_FSI1,
bool i_FENCE_PIB_SW1);
} // extern "C"
#endif // _PROC_SWITCH_CFSIM_H_
|