📄 nvram_common_config.c
字号:
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*------------------------------------------------------------------------------
* Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
*============================================================================
****************************************************************************/
#ifndef __MAUI_BASIC__
#ifdef NVRAM_AUTO_GEN
#include "nvram_auto_gen.h"
#endif
#include "kal_release.h"
#include "nvram_defs.h"
#include "nvram_user_defs.h"
#include "nvram_editor_data_item.h"
#include "nvram_default_audio.h"
#include "custom_hw_default.h"
#include "custom_mmi_default_value.h"
#include "custom_nvram_editor_data_item.h"
#include "custom_data_account.h"
#include "drv_features.h"
#include "camera_para.h"
#include "nvram_lid_statistics.h"
#ifndef __OPTR_NONE__
#include "op_nvram_common_config.h"
#endif
#include "adc.h"
/* DO NOT MODIFY THIS */
const nvram_lid_enum NVRAM_LAST_COMMAPP_LID = NVRAM_EF_LAST_LID_COMMAPP;
#ifdef __SHADOW_NVRAM__
kal_uint8 ShadowBuffer[NVRAM_SHADOW_SIZE];
kal_uint32 shadow_buffer_size = NVRAM_SHADOW_SIZE;
kal_uint16 shadow_item_total = NVRAM_SHADOW_TOTAL;
#endif
#ifdef __SECURITY_OTP__
kal_uint16 otp_item_total = NVRAM_OTP_TOTAL;
nvram_otp_table_sturct nvram_otp_ltable[NVRAM_OTP_TOTAL];
#endif/*__SECURITY_OTP__*/
#if !defined(__L1_STANDALONE__)
/*
* CustPack jump table
*/
extern const kal_uint8 NVRAM_SETTING_DEFAULT[];
extern const kal_uint8 NVRAM_CACHE_BYTE_DEFAULT[];
extern kal_uint8 const NVRAM_CACHE_SHORT_DEFAULT[];
extern kal_uint8 const NVRAM_CACHE_DOUBLE_DEFAULT[];
extern const kal_uint8 NVRAM_PHONEBOOK_SOS_DEFAULT[];
extern const kal_uint8 NVRAM_PHONEBOOK_SPEEDDIAL_DEFAULT[];
extern const kal_uint8 NVRAM_EF_SMSAL_MAILBOX_ADDR_DEFAULT[];
extern kal_uint8 const NVRAM_EF_MS_SECURITY_DEFAULT[];
#ifdef __CPHS__
extern const kal_uint8 NVRAM_EF_ALS_LINE_ID_DEFAULT[];
#endif
extern const kal_uint8 NVRAM_EF_MSCAP_DEFAULT[];
extern kal_uint8 const NVRAM_EF_RAC_PREFERENCE_DEFAULT[];
extern kal_uint8 const NVRAM_EF_SMSAL_COMMON_PARAM_DEFAULT[];
extern kal_uint8 const NVRAM_EF_CB_DEFAULT_CH_DEFAULT[];
#ifdef NVRAM_AUTO_GEN
const nvram_auto_custpack_tbl custpack_tbl =
{
0, /* version of CustPack */
{
#ifdef __CPHS__
CUSTPACK_ENTRY(NVRAM_EF_ALS_LINE_ID_DEFAULT),
#endif
CUSTPACK_ENTRY(NVRAM_EF_MSCAP_DEFAULT),
CUSTPACK_ENTRY(NVRAM_PHONEBOOK_SOS_DEFAULT),
CUSTPACK_ENTRY(NVRAM_PHONEBOOK_SPEEDDIAL_DEFAULT),
CUSTPACK_ENTRY(NVRAM_EF_SMSAL_MAILBOX_ADDR_DEFAULT),
CUSTPACK_ENTRY(NVRAM_EF_SMSAL_COMMON_PARAM_DEFAULT),
CUSTPACK_ENTRY(NVRAM_EF_CB_DEFAULT_CH_DEFAULT),
CUSTPACK_ENTRY(NVRAM_SETTING_DEFAULT),
CUSTPACK_ENTRY(NVRAM_EF_MS_SECURITY_DEFAULT),
CUSTPACK_ENTRY(NVRAM_EF_RAC_PREFERENCE_DEFAULT),
CUSTPACK_ENTRY(NVRAM_CACHE_BYTE_DEFAULT),
CUSTPACK_ENTRY(NVRAM_CACHE_SHORT_DEFAULT),
CUSTPACK_ENTRY(NVRAM_CACHE_DOUBLE_DEFAULT)
}
};
#endif /* NVRAM_AUTO_GEN */
#endif /* !defined(__L1_STANDALONE__) */
/* Defaults */
#ifdef __MOD_SMSAL__
static kal_uint8 const NVRAM_SMS_CB_SMS_INFO_DEFAULT [NVRAM_SMS_CB_SMS_INFO_SIZE]=
{
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF
};
#endif /* __MOD_SMSAL__*/
#ifdef __MMI_MESSAGES_CLUB__
static kal_uint8 const NVRAM_MSG_CLUB_DEFAULT [NVRAM_MSG_CLUB_RECORD_SIZE]=
{
0x41, 0x54, 0x43, 0x4C, 0x00, 0x00, 0x00, 0x00,
0x42, 0x54, 0x43, 0x4C, 0x4C, 0x00, 0x00, 0x00
};
static kal_uint8 const NVRAM_MSG_CLUB_NUM_DEFAULT [NVRAM_MSG_CLUB_NUM_RECORD_SIZE]=
{
0x31, 0x30, 0x00, 0x00,
0x30, 0x30, 0x32, 0x00
};
#endif /* __MMI_MESSAGES_CLUB__*/
#ifdef __CMCC_0202_SEGC_TECH__
#ifdef __MMI_CUSTOMER_SERVICE__
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
#endif /*__MMI_CUSTOMER_SERVICE__*/
#else /*__CMCC_0202_SEGC_TECH__*/
#ifdef __MMI_CUSTOMER_SERVICE__
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
#endif /*__MMI_CUSTOMER_SERVICE__*/
#endif /*__CMCC_0202_SEGC_TECH__*/
#ifdef __IP_NUMBER__
static kal_uint8 const NVRAM_IP_NUMBER_DEFAULT[NVRAM_IP_NUMBER_SIZE]={
/* first set */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
/* second set */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
/* third set */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -