src/memory.h

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