]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS-Plus/Source/FreeRTOS-Plus-TCP/portable/NetworkInterface/Zynq/uncached_memory.h
Added back some TCP/IP stack port layer files.
[freertos] / FreeRTOS-Plus / Source / FreeRTOS-Plus-TCP / portable / NetworkInterface / Zynq / uncached_memory.h
diff --git a/FreeRTOS-Plus/Source/FreeRTOS-Plus-TCP/portable/NetworkInterface/Zynq/uncached_memory.h b/FreeRTOS-Plus/Source/FreeRTOS-Plus-TCP/portable/NetworkInterface/Zynq/uncached_memory.h
new file mode 100644 (file)
index 0000000..5a8e5f3
--- /dev/null
@@ -0,0 +1,23 @@
+/*\r
+ * uncached_memory.h\r
+ *\r
+ * This module will declare 1 MB of memory and switch off the caching for it.\r
+ *\r
+ * pucGetUncachedMemory( ulSize ) returns a trunc of this memory with a length\r
+ * rounded up to a multiple of 4 KB\r
+ *\r
+ * ucIsCachedMemory( pucBuffer ) returns non-zero if a given pointer is NOT\r
+ * within the range of the 1 MB non-cached memory.\r
+ *\r
+ */\r
+\r
+#ifndef UNCACHEMEMORY_H\r
+\r
+#define UNCACHEMEMORY_H\r
+\r
+uint8_t *pucGetUncachedMemory( uint32_t ulSize );\r
+\r
+uint8_t ucIsCachedMemory( const uint8_t *pucBuffer );\r
+\r
+#endif /* UNCACHEMEMORY_H */\r
+\r