📄 mdocplus.h
字号:
/*
* $Log: V:/Flite/archives/TrueFFS5/Src/MDOCPLUS.H_V $
*
* Rev 1.17 Aug 22 2002 17:26:46 oris
* Added FL_XSCALE_BOOT_MODE compilation flag - support for xscale special mode.
*
* Rev 1.16 Jul 17 2002 17:41:22 oris
* Exported the setIplSizePlus routine
*
* Rev 1.15 Apr 30 2002 17:22:30 oris
* Bug fix - Bad Blocks table start address definition was incorrect for
* Millennium Plus 16MB.
*
* Rev 1.14 Apr 15 2002 07:37:48 oris
* Added OUT_CNTRL_STICKY_BIT_ENABLE definition.
* Added FOUNDRY_WRITE_ENABLE definition.
* Changed OUT_CNTRL_BSY_EN_MASK to OUT_CNTRL_BSY_DISABLE_MASK and used the complimentary value.
*
* Rev 1.13 Jan 29 2002 20:09:50 oris
* Added IPL_SA_MODE_MARK and IPL_XSCALE_MODE_MARK definitions.
* Changed DPS1_COPY0_16 to unit 3 instead of unit 2.
* Changed IPL_SA_MARK_OFFSET1 to IPL_MODE_MARK_OFFSET.
*
* Rev 1.12 Jan 17 2002 23:03:12 oris
* Changed flash addresses to interleave-1 to fit both 32MB and 16MB Plus DiskOnChip devices
* include docsys file instead of docsysp.
* Add 16MB Plus DiskOnChip ID 0x41
*
* Rev 1.11 Nov 22 2001 19:48:56 oris
* Changed FLS__SEL_WP_MASK and FLS__SEL_CE_MASK to MPLUS_SEL_CE and MPLUS_SEL_WP.
*
* Rev 1.10 Sep 15 2001 23:47:26 oris
* Include docsysp.h instead of docsys.h
*
* Rev 1.9 Jul 13 2001 01:08:20 oris
* Added BBT_MEDIA_OFFSET definition.
* Moved VERIFY_WRITE and VERIFY_ERASE compilation flag to flcustom.h.
*
* Rev 1.8 May 16 2001 21:20:44 oris
* Added busy delay for download operation DOWNLOAD_BUSY_DELAY.
* Moved SYNDROM_BYTES definition to flflash.h.
*
* Rev 1.7 May 09 2001 00:33:24 oris
* Removed the IPL_CODE and READ_BBT_CODE defintion.
*
* Rev 1.6 May 06 2001 22:42:12 oris
* redundant was misspelled.
*
* Rev 1.5 Apr 30 2001 18:02:40 oris
* Added READ_BBT_CODE defintion.
*
* Rev 1.4 Apr 24 2001 17:11:40 oris
* Bug fix - otp start address definition did not take interleave into acount.
*
* Rev 1.3 Apr 18 2001 21:25:58 oris
* Added OTPLockStruct record.
*
* Rev 1.2 Apr 16 2001 13:55:20 oris
* Removed warrnings.
*
* Rev 1.1 Apr 09 2001 15:08:22 oris
* End with an empty line.
*
* Rev 1.0 Apr 01 2001 07:42:32 oris
* Initial revision.
*
*/
/*******************************************************************
*
* DESCRIPTION: basic mtd functions for the MDOC32
*
* AUTHOR: arie tamam
*
* HISTORY: created november 14, 2000
*
*******************************************************************/
/***********************************************************************************/
/* M-Systems Confidential */
/* Copyright (C) M-Systems Flash Disk Pioneers Ltd. 1995-2001 */
/* All Rights Reserved */
/***********************************************************************************/
/* NOTICE OF M-SYSTEMS OEM */
/* SOFTWARE LICENSE AGREEMENT */
/* */
/* THE USE OF THIS SOFTWARE IS GOVERNED BY A SEPARATE LICENSE */
/* AGREEMENT BETWEEN THE OEM AND M-SYSTEMS. REFER TO THAT AGREEMENT */
/* FOR THE SPECIFIC TERMS AND CONDITIONS OF USE, */
/* OR CONTACT M-SYSTEMS FOR LICENSE ASSISTANCE: */
/* E-MAIL = info@m-sys.com */
/***********************************************************************************/
#ifndef MDOCPLUS_H
#define MDOCPLUS_H
/** include files **/
#include "docsys.h"
/** public functions **/
extern FLStatus changeInterleave(FLFlash vol, byte interNum);
extern FLStatus chkASICmode (FLFlash vol);
#ifndef MTD_STANDALONE
extern FLBoolean checkWinForDOCPLUS(unsigned driveNo, NDOC2window memWinPtr);
#endif /* MTD_STANDALONE */
/*哪哪哪哪哪哪哪哪哪哪哪哪哪
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -