1.1 diff -r 4c85846b09cd -r a392eb8f9806 src/memory.h 1.2 --- a/src/memory.h Sat Nov 17 19:13:08 2012 +0000 1.3 +++ b/src/memory.h Sat Nov 17 19:18:29 2012 +0000 1.4 @@ -70,4 +70,12 @@ 1.5 */ 1.6 uint32_t mapAddr(uint32_t addr, bool writing); 1.7 1.8 +/** 1.9 + * @brief Check access flags for a DMA transfer and trigger an exception if 1.10 + * the access is not permitted 1.11 + * @param reading true if reading from memory, false if writing 1.12 + * @return true if the access is permitted, false if not 1.13 + */ 1.14 +bool access_check_dma(int reading); 1.15 + 1.16 #endif