Changeset bb4c141c in mainline for uspace/drv/audio/sb16/dma.h
- Timestamp:
- 2012-07-05T22:17:53Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7ed5153b
- Parents:
- 9d5244f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/audio/sb16/dma.h
r9d5244f rbb4c141c 41 41 #include <as.h> 42 42 43 #include "ddf_log.h" 44 43 45 #define DMA_ALIGNENT 1024 44 46 … … 70 72 as_area_create(AS_AREA_ANY, size, AS_AREA_READ | AS_AREA_WRITE); 71 73 bzero(address, size); 74 uintptr_t ptr = 0; 75 as_get_physical_mapping(address, &ptr); 76 ddf_log_debug2("Buffer mapped at %x.", ptr); 72 77 return address; 73 78 }
Note:
See TracChangeset
for help on using the changeset viewer.