index 41173432d336634232d148bb80eb2c17b502417c..8dca8aa0638fb12a791916b7f55469bfba841bad 100644 (file)
struct proc_vdev {
/* Address for the vdev info */
void *vdev_info;
+ /* Vdev interrupt control block */
+ struct proc_intr intr_info;
/* Number of vrings */
unsigned int num_vrings;
/* Virtio device features */
struct proc_chnl chnls[HIL_MAX_NUM_CHANNELS];
/* Initialized status */
int is_initialized;
- /* Attrbites to represent processor role, master or remote . This field is for
- * future use. */
- unsigned long attr;
- /*
- * CPU bitmask - shared variable updated by each core
- * after it has been initialized. This field is for future use.
- */
- unsigned long cpu_bitmask;
- /* Spin lock - This field is for future use. */
- volatile unsigned int *slock;
/* private data */
void *pdata;
/* List node */
*/
int hil_enable_vring_notifications(int vring_index, struct virtqueue *vq);
+/**
+ * hil_vdev_notify()
+ *
+ * This function generates IPI to let the other side know that there is
+ * change to virtio device configs.
+ *
+ * @param vdev - pointer to virtio device
+ *
+ */
+void hil_vdev_notify(struct virtio_device *vdev);
+
/**
* hil_vring_notify()
*