⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 davparecl.h

📁 FDI Intel开发的FLASH文件系统,功能很强大
💻 H
字号:
/* Copyright (c) 1995-2004 Intel Corporation */
/* Intel Confidential                        */

/* ###########################################################################
###  DAV - Direct Access Volume Enhancement to FDI
###
###  Module: davrshdr.h - DAV Reserved Header Types & Macros Include File
###
###  $Workfile: DavPaRecl.h $
###  $Revision: 4 $
###  $NoKeywords: $
########################################################################### */

/*                                                               
 *****************************************************************
 * NOTICE OF LICENSE AGREEMENT                                    
 *                                                                
 * This code is provided by Intel Corp., and the use is governed  
 * under the terms of a license agreement. See license agreement  
 * for complete terms of license.                                 
 *                                                                
 * YOU MAY ONLY USE THE SOFTWARE WITH INTEL FLASH PRODUCTS.  YOUR 
 * USE OF THE SOFTWARE WITH ANY OTHER FLASH PRODUCTS IS EXPRESSLY 
 * PROHIBITED UNLESS AND UNTIL YOU APPLY FOR, AND ARE GRANTED IN  
 * INTEL'S SOLE DISCRETION, A SEPARATE WRITTEN SOFTWARE LICENSE   
 * FROM INTEL LICENSING ANY SUCH USE.                             
 *****************************************************************
 */
#ifndef __DAV_PARAGRAPH_RECLAIM_H__  /* sentry header */
#define __DAV_PARAGRAPH_RECLAIM_H__

#if (DIRECT_ACCESS_VOLUME == TRUE)

/*### Global Declarations
#########################*/

/*########################################################################*/
/*### Reserved Header                                                     */

typedef enum
{
   enPerformCfgEntryReclaim = 1, /* Recreate headers from Pa ONLY    */
   enPerformHeaderRelocate       /* Recreate headers from OTT and Pa */
} EnParagraphReclaimUserRequest;

typedef enum
{
   enStartOfParagraphReclaim,
   enCopyParagraphSpaceToReclaimBlock,
   enEraseEntireParagraphSpace,
   enCopyReclaimBlockToParagraphSpace,
   enEraseEntireReclaimBlock,
   enParagraphReclaimCleanup,
   enParagraphReclaimComplete
} EnParagraphReclaimOperation;

typedef struct
{
   EnParagraphReclaimUserRequest userRequest;
   EnParagraphReclaimOperation   startOperation;
   FDI_Handle                    currentReclaimHeaderHandle; /* Current write handle for headers */
   FDI_Handle                    currentReclaimTableHandle;  /* Current write handle for tables */
   BOOLEAN                       plrRestart;                 /* PLR */
} PARAGRAPH_RECLAIM_Address;

/* ====================== PUBLIC FUNCTIONS ==================*/

ERR_CODE RECLAIM_PARAGRAPH_PerformReclaim(EnParagraphReclaimUserRequest aType, BOOLEAN aRestartFromRecovery);
ERR_CODE RECLAIM_PARAGRAPH_StartReclaim(PARAGRAPH_RECLAIM_Address* aRef);

#endif /* DIRECT_ACCESS_VOLUME */

#endif /* sentrydif */

⌨️ 快捷键说明

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