comparison packages/hal/arm/iq80310/current/include/hal_cache.h @ 154:e2d866e32dac

Merge from eCos master repository on 2001-02-26-23:18:05-GMT
author jlarmour
date Tue, 27 Feb 2001 01:21:45 +0000
parents f935b880e96c
children e0c0827131d1
comparison
equal deleted inserted replaced
153:5e8f3b328bb3 154:e2d866e32dac
49 // 49 //
50 //============================================================================= 50 //=============================================================================
51 51
52 #include <cyg/infra/cyg_type.h> 52 #include <cyg/infra/cyg_type.h>
53 //#include <cyg/hal/hal_mmu.h> 53 //#include <cyg/hal/hal_mmu.h>
54
55 //-----------------------------------------------------------------------------
56 // FIXME: This definition forces the IO flash driver to use a
57 // known-good procedure for fiddling flash before calling flash device
58 // driver functions. The procedure breaks on other platform/driver
59 // combinations though so is depricated. Hence this definition.
60 //
61 // If you work on this target, please try to remove this definition
62 // and verify that the flash driver still works (both from RAM and
63 // flash). If it does, remove the definition and this comment for good
64 // [and the old macro definition if this happens to be the last client
65 // of that code].
66 #define HAL_FLASH_CACHES_OLD_MACROS
54 67
55 //----------------------------------------------------------------------------- 68 //-----------------------------------------------------------------------------
56 // Cache dimensions 69 // Cache dimensions
57 70
58 #define HAL_DCACHE_SIZE 0x8000 // Size of data cache in bytes 71 #define HAL_DCACHE_SIZE 0x8000 // Size of data cache in bytes