usrcache.c

来自「IXP425的BSP代码」· C语言 代码 · 共 38 行

C
38
字号
/* usrCache.c - cache configuration file *//* Copyright 1984-1998 Wind River Systems, Inc. *//*modification history--------------------01a,02jun98,ms   written*//*DESCRIPTIONUser configurable cache initialization.*//******************************************************************************** usrCacheEnable - configure the processor caches*/STATUS usrCacheEnable (void)    {#ifdef  USER_I_CACHE_ENABLE    cacheEnable (INSTRUCTION_CACHE);            /* enable instruction cache */#endif  /* USER_I_CACHE_ENABLE */#ifdef  USER_D_CACHE_ENABLE    cacheEnable (DATA_CACHE);                   /* enable data cache */#endif  /* USER_D_CACHE_ENABLE */#if	defined(USER_B_CACHE_ENABLE) && (CPU==MC68060)    cacheEnable (BRANCH_CACHE);                 /* enable branch cache */#endif  /* USER_B_CACHE_ENABLE */    return (OK);    }

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?