📄 m82xxdpramlib.h
字号:
/* m82xxDpramLib.h - 82xx DPRAM memory allocation driver *//* Copyright 1984-2001 Wind River Systems, Inc. */#include "copyright_wrs.h"/*modification history--------------------01c,26nov01,rcs renamed m82xxDpramLib.h and moved to target/h/drv/mem01b,17jul01,g_h cleaning and renaming to sys82xxDpramLib.h01a,16jul01,p_h created*//*DESCRIPTIONThis module contains m82xx DPRAM memory allocation driver.*/#ifndef __INCm82xxDpramh#define __INCm82xxDpramh#ifdef __cplusplusextern "C" {#endif#include "vxWorks.h"/* Define part */#define ALLOCTABLESIZE 64typedef struct ADDR_RESOURCE { UINT32 start; UINT32 size; struct ADDR_RESOURCE * pNext; } ADDR_RESOURCE;typedef struct { UINT32 start; UINT32 limit; ADDR_RESOURCE * pHead; } POOL;/* Prototypes */void m82xxDpramLibInit (void);void* m82xxDpramMalloc (size_t Length);void* m82xxDpramAlignedMalloc (size_t Length, size_t Alignment);void m82xxDpramFree (void* Addr);void* m82xxDpramFccMalloc (size_t Length, size_t Alignment);void m82xxDpramFccFree (void* Addr);#ifdef __cplusplus}#endif #endif /* __INCm82xxDpramh */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -