xref: /linux/tools/virtio/oot-stubs.h (revision 8f0cbedc86cfc93ea869bbff420a2d86f6373f57)
1*39cfe193SMichael S. Tsirkin #include <linux/bug.h>
2*39cfe193SMichael S. Tsirkin #include <linux/string.h>
3*39cfe193SMichael S. Tsirkin #include <linux/virtio_features.h>
4*39cfe193SMichael S. Tsirkin 
5*39cfe193SMichael S. Tsirkin #ifndef VIRTIO_FEATURES_BITS
6*39cfe193SMichael S. Tsirkin #define VIRTIO_FEATURES_BITS 128
7*39cfe193SMichael S. Tsirkin #endif
8*39cfe193SMichael S. Tsirkin #ifndef VIRTIO_U64
9*39cfe193SMichael S. Tsirkin #define VIRTIO_U64(b)           ((b) >> 6)
10*39cfe193SMichael S. Tsirkin #endif
11