📄 cachearmsa1500lib.h
字号:
/* cacheArmSA1500Lib.h - ARM SA-1500 cache library header file *//* Copyright 1998 Wind River Systems, Inc. *//*modification history--------------------01a,24nov98,jpd created*/#ifndef __INCcacheArmSA1500Libh#define __INCcacheArmSA1500Libh#ifdef __cplusplusextern "C" {#endif#define D_CACHE_SIZE (16*1024) /* 16 kbytes DCache */#define MINI_CACHE_SIZE 1024 /* 512 bytes minicache */#define MINI_CACHE_LINE_SIZE 32 /* 32 bytes per line *//* bit definitions within sysCacheArchFlags used to set "features" */ #define ARM_CACHE_FLAG_I_ENABLED (1<<0) /* leave I-cache enabled */#ifndef _ASMLANGUAGE/* * Variable used to hold flags to control behaviour of cache library * (in particular whether to leave the I-cache enabled on startup). */ IMPORT UINT32 sysCacheArchFlags;IMPORT void cacheArmSA1500LibInstall (void * (* physToVirt) (void * addr), void * (* virtToPhys) (void * addr));IMPORT void cacheArmSA1500DClearDisable (void);IMPORT void cacheArmSA1500DFlush (void * addr);IMPORT void cacheArmSA1500DFlushAll (void);IMPORT void cacheArmSA1500DInvalidateAll (void);IMPORT void cacheArmSA1500DInvalidate (void * addr);IMPORT void cacheArmSA1500IInvalidateAll (void);IMPORT void cacheArmSA1500DClearAll (void);IMPORT void cacheArmSA1500DClear (void * addr);IMPORT void cacheArmSA1500IClearDisable (void);IMPORT void cacheArmSA1500ArchPipeFlush (void);#endif /* _ASMLANGUAGE */#ifdef __cplusplus}#endif#endif /* __INCcacheArmSA1500Libh */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -