linux/drivers/gpu/drm/vboxvideo/vboxvideo_vbe.h

/* SPDX-License-Identifier: MIT */
/* Copyright (C) 2006-2016 Oracle Corporation */

#ifndef __VBOXVIDEO_VBE_H__
#define __VBOXVIDEO_VBE_H__

/* GUEST <-> HOST Communication API */

#define VBE_DISPI_BANK_ADDRESS
#define VBE_DISPI_BANK_SIZE_KB

#define VBE_DISPI_MAX_XRES
#define VBE_DISPI_MAX_YRES
#define VBE_DISPI_MAX_BPP

#define VBE_DISPI_IOPORT_INDEX
#define VBE_DISPI_IOPORT_DATA

#define VBE_DISPI_IOPORT_DAC_WRITE_INDEX
#define VBE_DISPI_IOPORT_DAC_DATA

#define VBE_DISPI_INDEX_ID
#define VBE_DISPI_INDEX_XRES
#define VBE_DISPI_INDEX_YRES
#define VBE_DISPI_INDEX_BPP
#define VBE_DISPI_INDEX_ENABLE
#define VBE_DISPI_INDEX_BANK
#define VBE_DISPI_INDEX_VIRT_WIDTH
#define VBE_DISPI_INDEX_VIRT_HEIGHT
#define VBE_DISPI_INDEX_X_OFFSET
#define VBE_DISPI_INDEX_Y_OFFSET
#define VBE_DISPI_INDEX_VBOX_VIDEO
#define VBE_DISPI_INDEX_FB_BASE_HI

#define VBE_DISPI_ID0
#define VBE_DISPI_ID1
#define VBE_DISPI_ID2
#define VBE_DISPI_ID3
#define VBE_DISPI_ID4

#define VBE_DISPI_ID_VBOX_VIDEO
/* The VBOX interface id. Indicates support for VBVA shared memory interface. */
#define VBE_DISPI_ID_HGSMI
#define VBE_DISPI_ID_ANYX

#define VBE_DISPI_DISABLED
#define VBE_DISPI_ENABLED
#define VBE_DISPI_GETCAPS
#define VBE_DISPI_8BIT_DAC

#define VGA_PORT_HGSMI_HOST
#define VGA_PORT_HGSMI_GUEST

#endif