Changeset b8ef198b in mainline for uspace/lib/virtio/virtio-pci.h


Ignore:
Timestamp:
2018-06-20T18:58:44Z (7 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9afd2a8
Parents:
3d135e9
Message:

Implement virtio-net interrupt handler

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/virtio/virtio-pci.h

    r3d135e9 rb8ef198b  
    143143        /** Virtual address of the used ring */
    144144        virtq_used_t *used;
     145        uint16_t used_last_idx;
    145146
    146147        /** Address of the queue's notification register */
     
    182183
    183184extern void virtio_virtq_produce_available(virtio_dev_t *, uint16_t, uint16_t);
     185extern bool virtio_virtq_consume_used(virtio_dev_t *, uint16_t, uint16_t *,
     186    uint32_t *);
    184187
    185188extern errno_t virtio_virtq_setup(virtio_dev_t *, uint16_t, uint16_t);
Note: See TracChangeset for help on using the changeset viewer.