-- Copyright (c) 2024 Huawei Technologies Co., Ltd.
-- openUBMC is licensed under Mulan PSL v2.
-- You can use this software according to the terms and conditions of the Mulan PSL v2.
-- You may obtain a copy of Mulan PSL v2 at:
--         http://license.coscl.org.cn/MulanPSL2
-- THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
-- EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
-- MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
-- See the Mulan PSL v2 for more details.

-- Description: Constants for sel.
local pef_const = {}
pef_const.__index = pef_const

-- PEF 配置版本
pef_const.PEF_CONFIG_REVISION = 0x11

-- PEF 配置选择类型
pef_const.PEF_PROGRESS_STATUS = 0
pef_const.PEF_PEF_CONTROL = 1
pef_const.PEF_ACTION_CONTROL = 2
pef_const.PEF_STARTUP_DELAY = 3
pef_const.PEF_ALERT_STARTUP_DELAY = 4
pef_const.PEF_EVENT_FILTER_NUM = 5
pef_const.PEF_EVENT_FILTER_TABLE = 6
pef_const.PEF_EVENT_FILTER_DATA1 = 7
pef_const.PEF_ALERT_POLICY_NUM = 8
pef_const.PEF_ALERT_POLICY_TABLE = 9
pef_const.PEF_SYSTEM_GUID = 10
pef_const.PEF_ALERT_STRING_NUM = 11
pef_const.PEF_ALERT_STRING_KEYS = 12
pef_const.PEF_ALERT_STRING = 13

-- PEF String Block 配置
pef_const.ALERT_STRING_BLOCK_CNT = 64
pef_const.ALERT_STRING_BLOCK_SIZE = 16

-- PEF 配置类名称
pef_const.CLZ_PEF_FILTER = 'IpmiPefFilter'
pef_const.CLZ_PEF_ALERT_FILTER = 'IpmiPefAlertFilter'
pef_const.CLZ_PEF_ALERT_STRING = 'IpmiPefAlertString'

return pef_const