Changeset 8565a42 in mainline for uspace/lib/c/include/device/hw_res_parsed.h
- Timestamp:
- 2018-03-02T20:34:50Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a1a81f69, d5e5fd1
- Parents:
- 3061bc1 (diff), 34e1206 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:34:50)
- git-committer:
- GitHub <noreply@…> (2018-03-02 20:34:50)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/device/hw_res_parsed.h
r3061bc1 r8565a42 64 64 /** Start address */ 65 65 address64_t address; 66 66 67 67 /** Area size */ 68 68 size_t size; … … 82 82 /** Irq count */ 83 83 size_t count; 84 84 85 85 /** Array of IRQs */ 86 86 int *irqs; … … 100 100 /** Areas count */ 101 101 size_t count; 102 102 103 103 /** Array of areas */ 104 104 addr_range_t *ranges; … … 115 115 /** List of IRQs */ 116 116 irq_list_t irqs; 117 117 118 118 /** List of DMA channels */ 119 119 dma_list_t dma_channels; 120 120 121 121 /** List of memory areas */ 122 122 mem_range_list_t mem_ranges; 123 123 124 124 /** List of IO areas */ 125 125 io_range_list_t io_ranges; … … 136 136 if (list == NULL) 137 137 return; 138 138 139 139 free(list->irqs.irqs); 140 140 free(list->io_ranges.ranges); 141 141 free(list->mem_ranges.ranges); 142 142 free(list->dma_channels.channels); 143 143 144 144 memset(list, 0, sizeof(hw_res_list_parsed_t)); 145 145 }
Note:
See TracChangeset
for help on using the changeset viewer.