mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-08 12:19:37 +03:00
28 lines
715 B
C
28 lines
715 B
C
|
/*
|
||
|
* Copyright (c) 2021, Liav A. <liavalb@hotmail.co.il>
|
||
|
*
|
||
|
* SPDX-License-Identifier: BSD-2-Clause
|
||
|
*/
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#define MAX_RESOLUTION_WIDTH 4096
|
||
|
#define MAX_RESOLUTION_HEIGHT 2160
|
||
|
|
||
|
#define VBE_DISPI_IOPORT_INDEX 0x01CE
|
||
|
#define VBE_DISPI_IOPORT_DATA 0x01CF
|
||
|
|
||
|
#define VBE_DISPI_INDEX_ID 0x0
|
||
|
#define VBE_DISPI_INDEX_XRES 0x1
|
||
|
#define VBE_DISPI_INDEX_YRES 0x2
|
||
|
#define VBE_DISPI_INDEX_BPP 0x3
|
||
|
#define VBE_DISPI_INDEX_ENABLE 0x4
|
||
|
#define VBE_DISPI_INDEX_BANK 0x5
|
||
|
#define VBE_DISPI_INDEX_VIRT_WIDTH 0x6
|
||
|
#define VBE_DISPI_INDEX_VIRT_HEIGHT 0x7
|
||
|
#define VBE_DISPI_INDEX_X_OFFSET 0x8
|
||
|
#define VBE_DISPI_INDEX_Y_OFFSET 0x9
|
||
|
#define VBE_DISPI_DISABLED 0x00
|
||
|
#define VBE_DISPI_ENABLED 0x01
|
||
|
#define VBE_DISPI_LFB_ENABLED 0x40
|