cachearmsa1500lib.h

来自「IXP425的BSP代码」· C头文件 代码 · 共 57 行

H
57
字号
/* 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 + =
减小字号Ctrl + -
显示快捷键?