summaryrefslogtreecommitdiffstats
path: root/src/include/usr/hwpf/plat/fapiPlatHwpInvoker.H
blob: 232cb981cf4885113fb0699387ef392f2bdbee61 (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
/**
 *  @file fapiPlatHwpInvoker.H
 *
 *  @brief Defines the platform specific HW Procedure invoker functions.
 *
 *  Note that each platform needs to provide an invoker function for each HW
 *  procedure. Prototypes cannot be provided because each platform will have
 *  functions that take platform specific targets and return platform specific
 *  return codes.
 */

#ifndef FAPIPLATHWPINVOKER_H_
#define FAPIPLATHWPINVOKER_H_

#include <targeting/targetservice.H>
#include <errl/errlentry.H>

namespace fapi
{

/**
 * @brief Invokes hwpIsP7EM0ChipletClockOn procedure
 *
 * @param[in]  i_target   Pointer to Chip
 * @param[out] o_clocksOn True if EM0 clocks are on, else false
 */
errlHndl_t invokeHwpIsP7EM0ChipletClockOn(TARGETING::Target* i_target,
                                          bool & o_clocksOn);

}

#endif // FAPIPLATHWPINVOKER_H_
OpenPOWER on IntegriCloud