1 /* 2 * uncached_memory.h 3 * 4 * This module will declare 1 MB of memory and switch off the caching for it. 5 * 6 * pucGetUncachedMemory( ulSize ) returns a trunc of this memory with a length 7 * rounded up to a multiple of 4 KB 8 * 9 * ucIsCachedMemory( pucBuffer ) returns non-zero if a given pointer is NOT 10 * within the range of the 1 MB non-cached memory. 11 * 12 */ 13 14 #ifndef UNCACHEMEMORY_H 15 16 #define UNCACHEMEMORY_H 17 18 uint8_t * pucGetUncachedMemory( uint32_t ulSize ); 19 20 uint8_t ucIsCachedMemory( const uint8_t * pucBuffer ); 21 22 #endif /* UNCACHEMEMORY_H */ 23