2410slib.h
资源名称:arm_exam.rar [点击查看]
上传用户:mhstny
上传日期:2022-08-05
资源大小:793k
文件大小:2k
源码类别:
微处理器开发
开发平台:
Unix_Linux
- //===================================================================
- // File Name : 2410slib.h
- // Function : S3C2410
- // Program : Shin, On Pil (SOP)
- // Date : February 20, 2002
- // Version : 0.0
- // History
- // 0.0 : Programming start (February 20,2002) -> SOP
- //===================================================================
- #ifndef __2410slib_h__
- #define __2410slib_h__
- #ifdef __cplusplus
- extern "C" {
- #endif
- void EnterCritical(U32 *pSave);
- void ExitCritical(U32 *pSave);
- int SET_IF(void);
- void WR_IF(int cpsrValue);
- void CLR_IF(void);
- void MMU_EnableICache(void);
- void MMU_DisableICache(void);
- void MMU_EnableDCache(void);
- void MMU_DisableDCache(void);
- void MMU_EnableAlignFault(void);
- void MMU_DisableAlignFault(void);
- void MMU_EnableMMU(void);
- void MMU_DisableMMU(void);
- void MMU_SetTTBase(U32 base);
- void MMU_SetDomain(U32 domain);
- void MMU_SetFastBusMode(void); //GCLK=HCLK
- void MMU_SetAsyncBusMode(void); //GCLK=FCLK @(FCLK>=HCLK)
- void MMU_InvalidateIDCache(void);
- void MMU_InvalidateICache(void);
- void MMU_InvalidateICacheMVA(U32 mva);
- void MMU_PrefetchICacheMVA(U32 mva);
- void MMU_InvalidateDCache(void);
- void MMU_InvalidateDCacheMVA(U32 mva);
- void MMU_CleanDCacheMVA(U32 mva);
- void MMU_CleanInvalidateDCacheMVA(U32 mva);
- void MMU_CleanDCacheIndex(U32 index);
- void MMU_CleanInvalidateDCacheIndex(U32 index);
- void MMU_WaitForInterrupt(void);
- void MMU_InvalidateTLB(void);
- void MMU_InvalidateITLB(void);
- void MMU_InvalidateITLBMVA(U32 mva);
- void MMU_InvalidateDTLB(void);
- void MMU_InvalidateDTLBMVA(U32 mva);
- void MMU_SetDCacheLockdownBase(U32 base);
- void MMU_SetICacheLockdownBase(U32 base);
- void MMU_SetDTLBLockdown(U32 baseVictim);
- void MMU_SetITLBLockdown(U32 baseVictim);
- void MMU_SetProcessId(U32 pid);
- #ifdef __cplusplus
- }
- #endif
- #endif //__2410slib_h__