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


Ignore:
Timestamp:
2011-10-21T20:57:40Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
dce7e41
Parents:
7257eea6
Message:

sb16: Add interrupt handler.

Set buffer alignment to something that memalign can handle (might be wrong).

File:
1 edited

Legend:

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

    r7257eea6 rf14e6ea  
    4141#include <as.h>
    4242
    43 #define DMA_ALIGNENT 65536
     43#define DMA_ALIGNENT 1024
    4444
    4545/** Get physical address translation
     
    7474        if (size > PAGE_SIZE)
    7575                return NULL;
    76         /* Calculate alignment to make sure the block won't cross page
    77          * boundary */
    7876        return memalign(DMA_ALIGNENT, size);
    7977}
Note: See TracChangeset for help on using the changeset viewer.