mirror of
https://github.com/opnsense/src.git
synced 2026-06-04 14:26:03 -04:00
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:
parent
96ab16ebab
commit
5e6bddfc43
2 changed files with 16 additions and 0 deletions
16
sys/compat/linuxkpi/common/include/video/vga.h
Normal file
16
sys/compat/linuxkpi/common/include/video/vga.h
Normal 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
|
||||
Loading…
Reference in a new issue