Changeset f14e6ea in mainline for uspace/drv/audio/sb16/dma.h
- Timestamp:
- 2011-10-21T20:57:40Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- dce7e41
- Parents:
- 7257eea6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/audio/sb16/dma.h
r7257eea6 rf14e6ea 41 41 #include <as.h> 42 42 43 #define DMA_ALIGNENT 6553643 #define DMA_ALIGNENT 1024 44 44 45 45 /** Get physical address translation … … 74 74 if (size > PAGE_SIZE) 75 75 return NULL; 76 /* Calculate alignment to make sure the block won't cross page77 * boundary */78 76 return memalign(DMA_ALIGNENT, size); 79 77 }
Note:
See TracChangeset
for help on using the changeset viewer.