| /* SPDX-License-Identifier: GPL-2.0-only */ |
| * Copyright (C) 2012 VMware, Inc. All rights reserved. |
| #include <linux/vmw_vmci_defs.h> |
| * VMCINotifyResourceInfo: Used to create and destroy doorbells, and |
| * generate a notification for a doorbell or queue pair. |
| struct vmci_dbell_notify_resource_info { |
| struct vmci_handle handle; |
| * Structure used for checkpointing the doorbell mappings. It is |
| * written to the checkpoint as is, so changing this structure will |
| * break checkpoint compatibility. |
| struct vmci_handle handle; |
| int vmci_dbell_host_context_notify(u32 src_cid, struct vmci_handle handle); |
| int vmci_dbell_get_priv_flags(struct vmci_handle handle, u32 *priv_flags); |
| bool vmci_dbell_register_notification_bitmap(u64 bitmap_ppn); |
| void vmci_dbell_scan_notification_entries(u8 *bitmap); |
| #endif /* VMCI_DOORBELL_H */ |