how to change denali report severity

if you want to change some denali error information such as "denali * Error" to "denali * Warning", you can use the PCIE_REG_DEN_ERROR_CTRL to change the setting.

for example:

errData = (PCIE_ERR_DESTINATION_nochange << PCIE_Rpos__DEN_ERROR_CTRL_dest) +

                (PCIE_PL_COR_EIES_TS1_RCVRLOCK << PCIE_Rpos__DEN_ERROR_CTRL_errId) +

                (PCIE_ERR_CONFIG_disable_callback << PCIE_Rpos__DEN_ERROR_CTRL_callback) +

                (PCE_ERR_CONFIG_DIRECTION_TRX << PCIE_Rpos__DEN_ERROR_CTRL_direction) +

                (PCIE_ERR_CONFIG_FORMAT_WARN << PCIE_Rpos__DEN_ERROR_CTRL_severity);

status = $mmwriteword4(denali_monitor_cfg_id, PCIE_REG_DEN_ERROR_CTRL, errData);

猜你喜欢

转载自www.cnblogs.com/lybinger/p/9046000.html
今日推荐