Changeset 31cf8c3c in mainline for uspace/lib/virtio/virtio.c
- Timestamp:
- 2018-05-23T21:22:27Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cede6f8
- Parents:
- 9af56b6
- git-author:
- Jakub Jermar <jakub@…> (2018-05-23 21:22:24)
- git-committer:
- Jakub Jermar <jakub@…> (2018-05-23 21:22:27)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/virtio/virtio.c
r9af56b6 r31cf8c3c 115 115 116 116 /* 117 * Initialize the descriptor table118 */119 for (unsigned i = 0; i < size; i++) {120 q->desc[i].addr = 0;121 q->desc[i].len = 0;122 q->desc[i].flags = 0;123 }124 125 /*126 117 * Write the configured addresses to device's common config 127 118 */
Note:
See TracChangeset
for help on using the changeset viewer.