📄 davrcvr.h
字号:
/* Copyright (c) 1995-2002 Intel Corporation */
/* Intel Confidential */
/* ###########################################################################
### RECOVER - Powerloss Recover
###
### Module: davrcvr.h - Powerloss Recovery Include File
###
### $Workfile: davrcvr.h $
### $Revision: 58 $
### $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_recover_h /* Sentry Header */
#define __dav_recover_h
/*### Local Include Files
#########################*/
# if (DIRECT_ACCESS_VOLUME == TRUE)
/*### Global Declarations
#########################*/
typedef enum
{
enReclaimRecoveryNotDetermined,
enReclaimRecoveryNotPossible, /* When PLR during a format */
enReclaimRecoveryNotNeeded,
enReclaimRecoveryBackedOut,
enReclaimRecoveryRequired
} EnReclaimRecovery;
typedef struct
{
CFGTBL_ObjectTable plrCfgTable;
FDI_Handle plrCfgTableHandle;
EnReclaimRecovery plrHeaderRecoveryState;
EnReclaimRecovery plrParaRecoveryState;
EnReclaimRecovery plrPageRecoveryState;
EnReclaimRecovery plrApiRecoveryState;
} RECOVER_Info;
/*## Possible status a config header can be found in*/
typedef enum
{
enConfigHeaderEmpty, /* No header, all 1's*/
enConfigHeaderExists, /* A header exists */
enConfigHeaderNotOurs, /* A header exists, however, it does not belong to the CFGTBL */
enConfigHeaderBad, /* Header marked as bad, therefore, corrupted */
enConfigHeaderInvalid, /* Header marked as invalid, therefore, corrupted */
enConfigHeaderWriteInProgress, /* CfgHeader, WIP */
enConfigHeaderCorrupted
} EnRECOVER_CfgEntryStatus;
/*### Global Functions
#########################*/
ERR_CODE RECOVER_ValidateSystem(void);
#endif /* sentry header */
#endif /* DIRECT_ACCESS_VOLUME */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -