Changeset ebb1489 in mainline for uspace/drv/block/virtio-blk/virtio-blk.c
- Timestamp:
- 2024-10-13T08:23:40Z (8 weeks ago)
- Children:
- 0472cf17
- Parents:
- 2a0c827c (diff), b3b79981 (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:
- boba-buba <120932204+boba-buba@…> (2024-10-13 08:23:40)
- git-committer:
- GitHub <noreply@…> (2024-10-13 08:23:40)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/block/virtio-blk/virtio-blk.c
r2a0c827c rebb1489 73 73 }; 74 74 75 static void virtio_blk_irq_handler(ipc_call_t *icall, ddf_dev_t *dev) 76 { 77 virtio_blk_t *virtio_blk = (virtio_blk_t *) ddf_dev_data_get(dev); 75 /** VirtIO block IRQ handler. 76 * 77 * @param icall IRQ event notification 78 * @param arg Argument (virtio_blk_t *) 79 */ 80 static void virtio_blk_irq_handler(ipc_call_t *icall, void *arg) 81 { 82 virtio_blk_t *virtio_blk = (virtio_blk_t *)arg; 78 83 virtio_dev_t *vdev = &virtio_blk->virtio_dev; 79 84 … … 145 150 146 151 return register_interrupt_handler(dev, virtio_blk->irq, 147 virtio_blk_irq_handler, &irq_code, &virtio_blk->irq_handle); 152 virtio_blk_irq_handler, (void *)virtio_blk, &irq_code, 153 &virtio_blk->irq_handle); 148 154 } 149 155
Note:
See TracChangeset
for help on using the changeset viewer.