freebsd-dev/sys/dev/vmware/vmci/vmci_doorbell.h
Mark Peek 3eeb751122 Update VMCI license based on comments from core, the FreeBSD Foundation,
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
2018-04-08 01:32:56 +00:00

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_ */