2021-05-06 07:28:40 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2021 Intel Corporation.
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2021-05-06 07:38:22 +08:00
|
|
|
#ifndef __VRP_H
|
|
|
|
#define __VRP_H
|
2021-05-06 07:28:40 +08:00
|
|
|
|
|
|
|
#include "vpci.h"
|
|
|
|
|
2021-05-06 07:38:22 +08:00
|
|
|
#define VRP_VENDOR 0x8086U
|
|
|
|
#define VRP_DEVICE 0x9d14U
|
2021-05-06 07:28:40 +08:00
|
|
|
|
2021-05-06 07:38:22 +08:00
|
|
|
extern const struct pci_vdev_ops vrp_ops;
|
|
|
|
|
2021-07-07 17:23:40 +08:00
|
|
|
int32_t create_vrp(struct acrn_vm *vm, struct acrn_vdev *dev);
|
2021-05-06 07:38:22 +08:00
|
|
|
int32_t destroy_vrp(struct pci_vdev *vdev);
|
2021-05-06 07:28:40 +08:00
|
|
|
|
|
|
|
#endif
|