?? cm_mem.h
字號(hào):
/********************************************************************20**
Name: Common Memory Manager
Type: C include file
Desc: Defines that are required by the Common Memory Manager.
File: cm_mem.h
Sid: cm_mem.h 1.2 - 08/12/98 13:53:26
Prg: rm
*********************************************************************21*/
#ifndef __CMMEMH_
#define __CMMEMH_
#ifdef __cplusplus
extern "C" {
#endif
#define CMM_MINBUFSIZE (PTRALIGN(sizeof(CmHEntry)))
#define CMM_DATALIGN(s, msz) (((Size)(s) % msz) ? ((Size)(s) + ((msz - (Size)(s) % msz))): (Size)(s))
#define CMM_BUFSIZE(s, msz) ((Size)(s) < (Size) msz ? \
(Size) msz : \
(Size) CMM_DATALIGN(s, msz))
/* defines */
#define CMM_MAX_BKT_ENT 30
#define CMM_MAX_MAP_ENT 128
/* Valid Physical Bit */
#define CMM_REG_PHY_VALID 0x01
#define CMM_REG_OUTBOARD 0x02
#define DFLT_REG_FLAG CMM_REG_PHY_VALID
#ifdef __cplusplus
}
#endif
#endif
/********************************************************************30**
End of file: cm_mem.h 1.2 - 08/12/98 13:53:26
*********************************************************************31*/
/********************************************************************40**
Notes:
*********************************************************************41*/
/********************************************************************50**
*********************************************************************51*/
/********************************************************************60**
Revision history:
*********************************************************************61*/
/********************************************************************90**
ver pat init description
------------ -------- ---- -----------------------------------------------
1.1 --- rm 1. initial release
1.2 --- kp 1. C++ compilable
*********************************************************************91*/
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -