brd_mem.h
来自「本程序为ST公司开发的源代码」· C头文件 代码 · 共 34 行
H
34 行
/****************************************************************** * * * Copyright Mentor Graphics Corporation 2004 * * * * All Rights Reserved. * * * * THIS WORK CONTAINS TRADE SECRET AND PROPRIETARY INFORMATION * * WHICH IS THE PROPERTY OF MENTOR GRAPHICS CORPORATION OR ITS * * LICENSORS AND IS SUBJECT TO LICENSE TERMS. * * * ******************************************************************/#ifndef __MUSB_NONE_AFS_MEMORY_H__#define __MUSB_NONE_AFS_MEMORY_H__/* * AFS-specific memory abstraction * $Revision: 1.2 $ */#include "uhal.h"extern void* MGC_AfsMemRealloc(void* pBuffer, uint32_t iSize);#define MUSB_MemAlloc uHALr_malloc#define MUSB_MemRealloc MGC_AfsMemRealloc#define MUSB_MemFree uHALr_free#define MUSB_MemCopy(_pDest, _pSrc, _iSize) \ uHALr_memcpy((void*)_pDest, (void*)_pSrc, _iSize)#define MUSB_MemSet(_pDest, _iData, _iSize) \ uHALr_memset((void*)_pDest, _iData, _iSize)#endif /* multiple inclusion protection */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?