所需E币: 3
时间: 2020-1-10 09:58
大小: 32.5KB
11112Nvram操作指南一、nvram_common_defs.h1.定义LID在nvram_common_defs.h文件中nvram_lid_commapp_enum定义,例如:typedefenum{NVRAM_EF_CUST_HW_LEVEL_TBL_LID,。。。。。。NVRAM_EF_SMS_SERVER_SMALL_LID,}nvram_lid_commapp_enum2、定义TOTAL和SIZE#defineNVRAM_EF_SMS_SERVER_SMALL_TOTAL1#defineNVRAM_EF_SMS_SERVER_SMALL_SIZEsizeof(Nvram_SMS_CEN_SMALL)二、nvram_common_config.c3、添加性属ltable_entry_structlogical_data_item_table_comm_app[]={//SMALLServerCentre,{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……