LinuxKPI: Add video/vga.h header

Sponsored by:	Serenity Cyber Security, LLC
Obtained from:	OpenBSD
Reviewed by:	manu, bz
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D42793
This commit is contained in:
Vladimir Kondratyev 2023-12-24 11:19:58 +03:00
parent 96ab16ebab
commit 5e6bddfc43
2 changed files with 16 additions and 0 deletions

View file

@ -0,0 +1,16 @@
/* Public domain. */
#ifndef _LINUXKPI_VIDEO_VGA_H
#define _LINUXKPI_VIDEO_VGA_H
#define VGA_MIS_W 0x3c2
#define VGA_SEQ_I 0x3c4
#define VGA_SEQ_D 0x3c5
#define VGA_MIS_R 0x3cc
#define VGA_SR01_SCREEN_OFF (1 << 5)
#define VGA_FB_PHYS_BASE 0xA0000
#define VGA_FB_PHYS_SIZE 65536
#endif