📄 davalloc.h
字号:
/* Copyright (c) 1995-2004 Intel Corporation */
/* Intel Confidential */
/* ###########################################################################
### DAV - Direct Access Volume Enhancement to FDI
###
### Module: davalloc.h - AllocateFlash Header File
###
### $Workfile: davalloc.h $
### $Revision: 64 $
### $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_alloc_h /* sentry header */
#define __dav_alloc_h
/*### Global Declarations
#########################*/
#if (DIRECT_ACCESS_VOLUME == TRUE)
/*### Global Functions
#########################*/
#define AllocateFlash FDI_AllocateFlash
/*#if (PERF_TEST == FALSE)*/
typedef enum
{
ALLOC_FIRST_FIT
} ALLOC_AllocationEnum;
/*Unsupported Option Start*/
/*#else
typedef enum
{
ALLOC_FIRST_FIT,
ALLOC_BEST_FIT,
ALLOC_FREE_POOL
} ALLOC_AllocationEnum;
#endif*/
/*Unsupported Option End*/
ERR_CODE FDI_AllocateFlash( FDI_ObjectInfoPtr obj_info_ptr, UINT8 option );
ERR_CODE FDI_AllocateFlashFreeChunk( FDI_HandlePtr aHandlePtr, UINT32 aFreeSizeInPages );
#endif /* DIRECT_ACCESS_VOLUME */
#endif /* sentry */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -