fbmem.h

来自「Lido PXA270平台开发板的最新BSP,包括源代码」· C头文件 代码 · 共 59 行

H
59
字号
/*!****************************************************************************
@File			fbmem.h

@Title			Framebuffer memory manager header

@Author			Imagination Technologies

@date   		6th June 2002
 
@Copyright     	Copyright 2003-2004 by Imagination Technologies Limited.
                All rights reserved. No part of this software, either
                material or conceptual may be copied or distributed,
                transmitted, transcribed, stored in a retrieval system
                or translated into any human or computer language in any
                form by any means, electronic, mechanical, manual or
                other-wise, or disclosed to third parties without the
                express written permission of Imagination Technologies
                Limited, Unit 8, HomePark Industrial Estate,
                King's Langley, Hertfordshire, WD4 8LZ, U.K.

@Platform		Generic

@Description	Functions relating to Framebuffer memory management

@DoxygenVer		

******************************************************************************/

/******************************************************************************
Modifications :-

$Log: fbmem.h $
*****************************************************************************/
#if !defined (__FBMEM_H__)
#define __FBMEM_H__

#include "services.h"
#include "img_defs.h"


#define INVALID_PHYSICAL_ADDRESS 0xffffffff /*!< An address where code is guarenteed not to be */

#define PHYS_MEMBLK_SIGNATURE	'AovM'



PVRSRV_ERROR AllocStaticFBMem(	PPVRSRV_DEV_INFO psDevInfo,
								IMG_UINT32 ui32Flags,
								IMG_UINT32 ui32Size,
								IMG_UINT32 ui32Alignment,
								IMG_CPU_VIRTADDR *pCpuVAddr,
								IMG_DEV_VIRTADDR *pDevVAddr);
PVRSRV_ERROR FreeStaticFBMem (PPVRSRV_DEV_INFO psDevInfo, IMG_VOID *pvLinAddr);

#endif /* __FBMEM_H__ */
/*****************************************************************************
 End of file (FBMEM.H)
*****************************************************************************/

⌨️ 快捷键说明

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