Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset a38b705 in mainline


Ignore:
Timestamp:
2018-05-22T19:06:50Z (3 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
f175d22
Parents:
c72cd20
git-author:
Jakub Jermar <jakub@…> (2018-04-23 20:58:42)
git-committer:
Jakub Jermar <jakub@…> (2018-05-22 19:06:50)
Message:

Add device status constants

File:
1 edited

Legend:

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

    rc72cd20 ra38b705  
    4949#define VIRTIO_PCI_CAP_PCI_CFG          5
    5050
     51#define VIRTIO_DEV_STATUS_RESET                 0
     52#define VIRTIO_DEV_STATUS_ACKNOWLEDGE           1
     53#define VIRTIO_DEV_STATUS_DRIVER                2
     54#define VIRTIO_DEV_STATUS_DRIVER_OK             4
     55#define VIRTIO_DEV_STATUS_FEATURES_OK           8
     56#define VIRTIO_DEV_STATUS_DEVICE_NEEDS_RESET    64
     57#define VIRTIO_DEV_STATUS_FAILED                128
     58
    5159/** Common configuration structure layout according to VIRTIO v1. */
    5260typedef struct virtio_pci_common_cfg {
Note: See TracChangeset for help on using the changeset viewer.