Changeset e0f9950 in mainline for uspace/drv/audio/sb16/dma.h


Ignore:
Timestamp:
2011-10-21T13:59:19Z (14 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1a11a16
Parents:
aa5ae788
Message:

sb16: Enable interrupts during initialization.

Fix possible double free on error paths.
Minor dma changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/audio/sb16/dma.h

    raa5ae788 re0f9950  
    6060}
    6161/*----------------------------------------------------------------------------*/
    62 /** Physical mallocator simulator
     62/** DMA mallocator simulator
    6363 *
    6464 * @param[in] size Size of the required memory space
    65  * @return Address of the alligned and big enough memory place, NULL on failure.
     65 * @return Address of the aligned and big enough memory place, NULL on failure.
    6666 */
    6767static inline void * malloc24(size_t size)
     
    7979}
    8080/*----------------------------------------------------------------------------*/
    81 /** Physical mallocator simulator
     81/** DMA mallocator simulator
    8282 *
    83  * @param[in] addr Address of the place allocated by malloc32
     83 * @param[in] addr Address of the place allocated by malloc24
    8484 */
    8585static inline void free24(void *addr)
Note: See TracChangeset for help on using the changeset viewer.