OpenBIC
OpenSource Bridge-IC
plat_pldm_monitor.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) Meta Platforms, Inc. and affiliates.
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*/
16
#ifndef PLAT_PLDM_MONITOR_H
17
#define PLAT_PLDM_MONITOR_H
18
19
#define MAX_STATE_EFFECTER_IDX 187
20
21
enum
pldm_plat_effecter_id_high_byte
{
22
PLAT_EFFECTER_ID_GPIO_HIGH_BYTE
= (0xFF << 8),
23
};
24
25
extern
struct
pldm_state_effecter_info
plat_state_effecter_table
[];
26
27
enum
plat_pldm_bic_state_set_offset
{
28
PLDM_STATE_SET_OFFSET_BIC_BOOT_RESTART_CAUSE
= 0,
29
};
30
31
enum
plat_pldm_device_state_set_offset
{
32
PLDM_STATE_SET_OFFSET_DEVICE_PRESENCE
= 0,
33
PLDM_STATE_SET_OFFSET_DEVICE_STATUS
= 1,
34
};
35
36
#endif
plat_state_effecter_table
struct pldm_state_effecter_info plat_state_effecter_table[]
Definition:
plat_pldm_monitor.c:35
pldm_plat_effecter_id_high_byte
pldm_plat_effecter_id_high_byte
Definition:
plat_pldm_monitor.h:24
PLAT_EFFECTER_ID_GPIO_HIGH_BYTE
@ PLAT_EFFECTER_ID_GPIO_HIGH_BYTE
Definition:
plat_pldm_monitor.h:25
plat_pldm_device_state_set_offset
plat_pldm_device_state_set_offset
Definition:
plat_pldm_monitor.h:145
PLDM_STATE_SET_OFFSET_DEVICE_STATUS
@ PLDM_STATE_SET_OFFSET_DEVICE_STATUS
Definition:
plat_pldm_monitor.h:147
PLDM_STATE_SET_OFFSET_DEVICE_PRESENCE
@ PLDM_STATE_SET_OFFSET_DEVICE_PRESENCE
Definition:
plat_pldm_monitor.h:146
plat_pldm_bic_state_set_offset
plat_pldm_bic_state_set_offset
Definition:
plat_pldm_monitor.h:83
PLDM_STATE_SET_OFFSET_BIC_BOOT_RESTART_CAUSE
@ PLDM_STATE_SET_OFFSET_BIC_BOOT_RESTART_CAUSE
Definition:
plat_pldm_monitor.h:84
pldm_state_effecter_info
Definition:
pldm_monitor.h:425
meta-facebook
sb-rb
src
platform
plat_pldm_monitor.h
Generated by
1.9.2