📄 davohdr.h
字号:
/* Copyright (c) 1995-2004 Intel Corporation */
/* Intel Confidential */
/* ###########################################################################
### DAV - Direct Access Volume Enhancement to FDI
###
### Module: davohdr.h - DAV Object Header Types & Macros Include File
###
### $Workfile: davohdr.h $
### $Revision: 2 $
### $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_obj_header_h /* sentry header */
#define __dav_obj_header_h
#if (DIRECT_ACCESS_VOLUME == TRUE)
/*########################################################################*/
/*### Fixed Header macros and types */
/* Object Data Leader Header */
typedef struct
{
UINT16 UniqueId1;
UINT16 RFU16_1;
UINT32 Type;
UINT32 SecureId;
UINT8 NameSize;
UINT8 RFU8_1;
UINT16 UniqueId2;
UINT8 Name[FDI_MaxNameLength];
} HDR_ObjectHeader, __FAR_ * HDR_ObjectHeaderPtr;
typedef UINT8 __FAR_ * HDR_NamePtr;
#define HDR_SizeOfObjectHeaderWithoutName (sizeof(HDR_ObjectHeader) - FDI_MaxNameLength)
#define OHDR_CalcHeaderSize() \
(sizeof(HDR_ObjectHeader))
ERR_CODE OHDR_ReadObjectHeader(FDI_Handle aHandle,
HDR_ObjectHeaderPtr aHeaderPtr,
BOOLEAN aReadName);
ERR_CODE OHDR_WriteObjectHeader(FDI_Handle aHandle,
HDR_ObjectHeaderPtr aHeaderPtr);
#endif /* DIRECT_ACCESS_VOLUME */
#endif /* sentry */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -