mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-01 21:23:59 +00:00
IC_ADD_HV_VDEV -> ACRN_IOCTL_CREATE_VDEV IC_REMOVE_HV_VDEV -> ACRN_IOCTL_DESTROY_VDEV struct acrn_emul_dev -> struct acrn_vdev Also, move struct acrn_vdev to acrn_common.h as this structure is used by both DM and HV. Tracked-On: #6282 Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com>
22 lines
365 B
C
22 lines
365 B
C
/*
|
|
* Copyright (c) 2021 Intel Corporation.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*
|
|
*/
|
|
|
|
#ifndef __VRP_H
|
|
#define __VRP_H
|
|
|
|
#include "vpci.h"
|
|
|
|
#define VRP_VENDOR 0x8086U
|
|
#define VRP_DEVICE 0x9d14U
|
|
|
|
extern const struct pci_vdev_ops vrp_ops;
|
|
|
|
int32_t create_vrp(struct acrn_vm *vm, struct acrn_vdev *dev);
|
|
int32_t destroy_vrp(struct pci_vdev *vdev);
|
|
|
|
#endif
|