11112Nvram操作指南 一、nvram_common_defs.h 1. 定义LID 在nvram_common_defs.h文件中nvram_lid_commapp_enum定义, 例如:typedef enum { NVRAM_EF_CUST_HW_LEVEL_TBL_LID, 。。。。。。 NVRAM_EF_SMS_SERVER_SMALL_LID, }nvram_lid_commapp_enum 2、定义TOTAL和SIZE #define NVRAM_EF_SMS_SERVER_SMALL_TOTAL 1 #define NVRAM_EF_SMS_SERVER_SMALL_SIZE sizeof(Nvram_SMS_CEN_SMALL) 二、nvram_common_config.c 3、添加性属 ltable_entry_struct logical_data_item_table_comm_app[] = { //SMALL Server Centre ,{ NVRAM_EF_SMS_SERVER_SMALL_LID, NVRAM_EF_SMS_SERVER_SMALL_SIZE, NVRAM_EF_SMS_SERVER_SMALL_TOTAL, NVRAM_NORMAL(NVRAM_EF_ZERO_DEFAULT), NVRAM_ATTR_AVERAGE, NVRAM_CATEGORY_USER, "MPC2", VER(NVRAM_EF_SMS_SERVER_SMALL_LID), "SERVER_CE……