cacheArmSA1100Lib.h
资源名称:ixp425BSP.rar [点击查看]
上传用户:luoyougen
上传日期:2008-05-12
资源大小:23136k
文件大小:1k
源码类别:
VxWorks
开发平台:
C/C++
- /* cacheArmSA1100Lib.h - ARM SA-1100 cache library header file */
- /* Copyright 1998 Wind River Systems, Inc. */
- /*
- modification history
- --------------------
- 01a,24nov98,jpd created
- */
- #ifndef __INCcacheArmSA1100Libh
- #define __INCcacheArmSA1100Libh
- #ifdef __cplusplus
- extern "C" {
- #endif
- #define D_CACHE_SIZE (8*1024) /* 8 kbytes DCache */
- #define MINI_CACHE_SIZE 512 /* 512 bytes minicache */
- #define MINI_CACHE_LINE_SIZE 32 /* 32 bytes per line*/
- #ifndef _ASMLANGUAGE
- IMPORT void cacheArmSA1100LibInstall (void * (* physToVirt) (void * addr),
- void * (* virtToPhys) (void * addr));
- IMPORT void cacheArmSA1100DClearDisable (void);
- IMPORT void cacheArmSA1100DFlush (void * addr);
- IMPORT void cacheArmSA1100DFlushAll (void);
- IMPORT void cacheArmSA1100DInvalidateAll (void);
- IMPORT void cacheArmSA1100DInvalidate (void * addr);
- IMPORT void cacheArmSA1100IInvalidateAll (void);
- IMPORT void cacheArmSA1100DClearAll (void);
- IMPORT void cacheArmSA1100DClear (void * addr);
- IMPORT void cacheArmSA1100IClearDisable (void);
- IMPORT void cacheArmSA1100ArchPipeFlush (void);
- #endif /* _ASMLANGUAGE */
- #ifdef __cplusplus
- }
- #endif
- #endif /* __INCcacheArmSA1100Libh */