📄 davpin.h
字号:
/* Copyright (c) 1995-2004 Intel Corporation */
/* Intel Confidential */
/* ###########################################################################
### DAV - Direct Access Volume Enhancement to FDI
###
### Module: davpin.h - Pin Flash Header File
###
### $Workfile: davpin.h $
### $Revision: 1 $
### $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_pin_h /* sentry header */
#define __dav_pin_h
# if (DIRECT_ACCESS_VOLUME == TRUE)
/*### Global Declarations
#########################*/
typedef enum
{
enNotPinned = 0,
enStartPinned,
enEndPinned,
enBothPinned
} EnPinnedObjectPortion, __FAR_ * EnPinnedObjectPortionPtr;
typedef UINT32 PinnedObject;
typedef PinnedObject __FAR_ * PinnedObjectPtr;
typedef UINT8 PinnedBlock;
typedef PinnedBlock __FAR_ * PinnedBlockPtr;
/*### Global Functions
#########################*/
ERR_CODE FDI_PinFlash(FDI_ObjectInfoPtr obj_info_ptr, UINT8 pin_flag);
ERR_CODE PIN_LIST_CreateGlbPinBlockTableFromGlbPinObjectList();
EnPinnedObjectPortion PIN_LIST_IsObjectPinned(UINT32 aObjectOffset,
UINT32 aObjectSizeInPages);
BOOLEAN PIN_LIST_IsObjectInList(UINT32 aObjectOffset);
#endif /* DIRECT_ACCESS_VOLUME */
#endif /* sentry */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -