2b8899b47a
and VMware legal: - Add a dual BSD-2 Clause/GPLv2 LICENSE file in the VMCI directory - Remove the use of "All Rights Reserved" - Per best practice, remove copyright/license info from Makefile Reviewed by: imp, emaste, jhb, Vishnu Dasa <vdasa@vmware.com> Approved by: VMware legal via Mark Peek <markpeek@vmware.com> Differential Revision: https://reviews.freebsd.org/D14979
30 lines
722 B
C
30 lines
722 B
C
/*-
|
|
* Copyright (c) 2018 VMware, Inc.
|
|
*
|
|
* SPDX-License-Identifier: (BSD-2-Clause OR GPL-2.0)
|
|
*
|
|
* $FreeBSD$
|
|
*/
|
|
|
|
/* Internal functions in the VMCI Doorbell API. */
|
|
|
|
#ifndef _VMCI_DOORBELL_H_
|
|
#define _VMCI_DOORBELL_H_
|
|
|
|
#include "vmci_defs.h"
|
|
|
|
int vmci_doorbell_init(void);
|
|
void vmci_doorbell_exit(void);
|
|
void vmci_doorbell_hibernate(bool enter_hibernate);
|
|
void vmci_doorbell_sync(void);
|
|
|
|
int vmci_doorbell_host_context_notify(vmci_id src_CID,
|
|
struct vmci_handle handle);
|
|
int vmci_doorbell_get_priv_flags(struct vmci_handle handle,
|
|
vmci_privilege_flags *priv_flags);
|
|
|
|
bool vmci_register_notification_bitmap(PPN bitmap_PPN);
|
|
void vmci_scan_notification_bitmap(uint8_t *bitmap);
|
|
|
|
#endif /* !_VMCI_DOORBELL_H_ */
|