config.h

来自「SAMSUNG S3C6410 CPU BSP for winmobile6」· C头文件 代码 · 共 72 行

H
72
字号
#include <windows.h>
#include "config_private.h"


#define PSII_VERSION				("[PocketStoreII] v1.5.1 RTM (29/JUN/2006)\r\n")

// Debugging message
#define PSII_DBGMSG_ENABLE
#if defined(PSII_DBGMSG_ENABLE)
	#define	PSII_RTL_PRINT(x)		RETAILMSG(1, x)
	#define	PSII_DBG_PRINT(x)		RETAILMSG(1, x)
#else
	#define	PSII_RTL_PRINT(x)		RETAILMSG(1, x)
	#define	PSII_DBG_PRINT(x)		DEBUGMSG(1, x)
#endif 


//OSLess.cpp
#define OSLESS_MALLOC_POOL_SIZE_BY_KB			1000
#define OSLESS_MALLOC_POOL_SIZE_BY_KB2			300
#undef OSLESS_USE_STDLIB			
#undef OAM_32BIT_MEMCPY_OK	
#define OAM_USE_STDLIB

//PAM.cpp
// for SRAM2 on Address Map
#define ONENANDC0_MEM_BASEADDR				0x20000000
#define ONENANDC1_MEM_BASEADDR				0x28000000
#define ONENANDC0_MEM_VIRTADDR				0xB6000000
#define ONENANDC1_MEM_VIRTADDR				0xB8000000

// for OneNAND Controller
#define ONENANDC0_BASEADDR				0x70100000
#define ONENANDC1_BASEADDR				0x70180000
#define ONENANDC0_VIRTADDR				0xB0100000
#define ONENANDC1_VIRTADDR				0xB0180000

#define PAM_USE_ASMCPY					// For using assembly mememory copy


//ONLD.cpp
#undef LLD_STRICT_CHK					// For debugging
#undef LLD_ASYNC_MODE					// We need interrupt signal for using async mode
#ifdef  LLD_ASYNC_MODE
	#define LLD_DEFERRED_CHK			// Should be set defined
#else /* SYNC_MODE */
	#define  LLD_DEFERRED_CHK			// User Can Modify it
#endif
#undef LLD_CACHED_READ					// Deprecated - we can use ONLD_MRead()
#define LLD_ALIGNED_MEMCPY				// For better performance
#undef LLD_SYNC_BURST_READ				// Option
#undef LLD_OTP_UID						// OTP read enable
#define LLD_OTP_PBN						1800 // OTP block nPbn (should be in unlocked region)

#define LLD_ERR_MSG_ON					1
#define LLD_LOG_MSG_ON					1
#define LLD_INF_MSG_ON					1


//GetUID.c
#define GETUID_ERR_MSG_ON				1
#define GETUID_LOG_MSG_ON				0
#define GETUID_INF_MSG_ON				0


//OTP.c
#define OTP_ERR_MSG_ON					1
#define OTP_LOG_MSG_ON					0
#define OTP_INF_MSG_ON					0


⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?