Changeset 722912e in mainline for uspace/lib/c
- Timestamp:
- 2012-06-29T13:04:54Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ea150dc6
- Parents:
- 6843a9c
- Location:
- uspace/lib/c
- Files:
-
- 2 edited
-
generic/device/hw_res_parsed.c (modified) (1 diff)
-
include/device/hw_res_parsed.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/device/hw_res_parsed.c
r6843a9c r722912e 44 44 assert((res->type == DMA_CHANNEL_8) || (res->type == DMA_CHANNEL_16)); 45 45 46 const intchannel = (res->type == DMA_CHANNEL_8) ?46 const unsigned channel = (res->type == DMA_CHANNEL_8) ? 47 47 res->res.dma_channel.dma8 : res->res.dma_channel.dma16; 48 48 const size_t count = out->dma_channels.count; -
uspace/lib/c/include/device/hw_res_parsed.h
r6843a9c r722912e 100 100 /** List of IRQs */ 101 101 irq_list_t irqs; 102 103 /** List of DMA channels */104 dma_list_t dma_channels;105 102 106 103 /** List of DMA channels */
Note:
See TracChangeset
for help on using the changeset viewer.
