xsrconfig.h

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

H
53
字号
/*****************************************************************************/
/*                                                                           */
/* PROJECT : AnyStore II                                                     */
/* MODULE  : XSR configuration heade file                                    */
/* NAME    : XSR Configuration Definition                                    */
/* FILE    : XsrConfig.h                                                     */
/* PURPOSE : This file sets configuration parameters for XSR                 */
/*                                                                           */
/*---------------------------------------------------------------------------*/
/*                                                                           */
/*        COPYRIGHT 2003-2004, SAMSUNG ELECTRONICS CO., LTD.                 */
/*                      ALL RIGHTS RESERVED                                  */
/*                                                                           */
/*   Permission is hereby granted to licensees of Samsung Electronics        */
/*   Co., Ltd. products to use or abstract this computer program for the     */
/*   sole purpose of implementing a product based on Samsung                 */
/*   Electronics Co., Ltd. products. No other rights to reproduce, use,      */
/*   or disseminate this computer program, whether in part or in whole,      */
/*   are granted.                                                            */
/*                                                                           */
/*   Samsung Electronics Co., Ltd. makes no representation or warranties     */
/*   with respect to the performance of this computer program, and           */
/*   specifically disclaims any responsibility for any damages,              */
/*   special or consequential, connected with the use of this program.       */
/*                                                                           */
/*---------------------------------------------------------------------------*/
/*                                                                           */
/* REVISION HISTORY                                                          */
/*                                                                           */
/*   25-JUL-2003 [SongHo Yoon]  : first writing                              */
/*   08-AUG-2003 [HyoJun Kim]   : ADD STL_FULL_FREE_CHECK option             */
/*   22-DEC-2003 [SongHo Yoon]  : removed XSR_MAX_VOL/XSR_MAX_DEV            */
/*   12-MAY-2004 [Jihyun In]    : removed STL_FULL_FREE_CHECK                */
/*****************************************************************************/

#ifndef _XSR_CONFIG_H_
#define _XSR_CONFIG_H_

/*****************************************************************************/
/* Configuration parameters which are used for STL only                      */
/*****************************************************************************/
/* #define     UNIT_HEADER_SIGNATURE           (('1' << 24) | ('R' << 16) | ('S' << 8) | ('X' << 0)) */	/* removed for XSR v1.5.x */
#define     STL_MAX_VOL                     2

/* STL wear leveling bounds */
#define     STL_WEAR_LEVEL_BOUNDS	        1000

#define     STI_CONFIG_CHECK_CNT            3

/* Check Free Sector by checking both spare & main array */
#define     STL_FULL_FREE_CHECK             1

#endif	/* _XSR_CONFIG_H_ */

⌨️ 快捷键说明

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