cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

virtio_bt.h (787B)


      1/* SPDX-License-Identifier: BSD-3-Clause */
      2
      3#ifndef _UAPI_LINUX_VIRTIO_BT_H
      4#define _UAPI_LINUX_VIRTIO_BT_H
      5
      6#include <linux/virtio_types.h>
      7
      8/* Feature bits */
      9#define VIRTIO_BT_F_VND_HCI	0	/* Indicates vendor command support */
     10#define VIRTIO_BT_F_MSFT_EXT	1	/* Indicates MSFT vendor support */
     11#define VIRTIO_BT_F_AOSP_EXT	2	/* Indicates AOSP vendor support */
     12
     13enum virtio_bt_config_type {
     14	VIRTIO_BT_CONFIG_TYPE_PRIMARY	= 0,
     15	VIRTIO_BT_CONFIG_TYPE_AMP	= 1,
     16};
     17
     18enum virtio_bt_config_vendor {
     19	VIRTIO_BT_CONFIG_VENDOR_NONE	= 0,
     20	VIRTIO_BT_CONFIG_VENDOR_ZEPHYR	= 1,
     21	VIRTIO_BT_CONFIG_VENDOR_INTEL	= 2,
     22	VIRTIO_BT_CONFIG_VENDOR_REALTEK	= 3,
     23};
     24
     25struct virtio_bt_config {
     26	__u8  type;
     27	__u16 vendor;
     28	__u16 msft_opcode;
     29} __attribute__((packed));
     30
     31#endif /* _UAPI_LINUX_VIRTIO_BT_H */