1 /* SPDX-License-Identifier: MIT */
2 /* Copyright (C) 2006-2017 Oracle Corporation */
4 #ifndef __HGSMI_CH_SETUP_H__
5 #define __HGSMI_CH_SETUP_H__
8 * Tell the host the location of hgsmi_host_flags structure, where the host
9 * can write information about pending buffers, etc, and which can be quickly
10 * polled by the guest without a need to port IO.
12 #define HGSMI_CC_HOST_FLAGS_LOCATION 0
14 struct hgsmi_buffer_location
{
19 /* HGSMI setup and configuration data structures. */
21 #define HGSMIHOSTFLAGS_COMMANDS_PENDING 0x01u
22 #define HGSMIHOSTFLAGS_IRQ 0x02u
23 #define HGSMIHOSTFLAGS_VSYNC 0x10u
24 #define HGSMIHOSTFLAGS_HOTPLUG 0x20u
25 #define HGSMIHOSTFLAGS_CURSOR_CAPABILITIES 0x40u
27 struct hgsmi_host_flags
{