mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-25 01:49:58 +00:00
565. Support for multithreaded libraries on NetBSD when used in conjunction
with the GNU pth library (#4113, Chris Sekiya). 564. Add /usr/pkg/bin to NetBSD's DefaultUserPath (#4112, Bernd Ernesti). 563. Add a (Linux-specific) VESA driver for Keith's small X server (#4111, Juliusz Chroboczek). 562. Update Hungarian xkb maps (#A.145, Peter Soos). remove koi8-r encoding file since it's built-in
This commit is contained in:
parent
f324486791
commit
3095deed77
7 changed files with 1480 additions and 0 deletions
56
hw/kdrive/vesa/vesa.h
Normal file
56
hw/kdrive/vesa/vesa.h
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
/*
|
||||
Copyright (c) 2000 by Juliusz Chroboczek
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
*/
|
||||
/* $XFree86$ */
|
||||
|
||||
#ifndef _VESA_H_
|
||||
#define _VESA_H_
|
||||
|
||||
#include "kdrive.h"
|
||||
#include <sys/vm86.h>
|
||||
#include "vbe.h"
|
||||
|
||||
typedef struct _VesaPriv {
|
||||
int mode;
|
||||
VbeInfoPtr vi;
|
||||
VbeInfoBlock *vib;
|
||||
VbeModeInfoBlock *vmib;
|
||||
void *fb;
|
||||
} VesaPrivRec, *VesaPrivPtr;
|
||||
|
||||
extern int vesa_video_mode;
|
||||
extern Bool vesa_force_mode;
|
||||
|
||||
Bool vesaListModes(void);
|
||||
Bool vesaInitialize(KdCardInfo *card, VesaPrivPtr priv);
|
||||
Bool vesaCardInit(KdCardInfo *card);
|
||||
Bool vesaScreenInit(KdScreenInfo *screen);
|
||||
Bool vesaInitScreen(ScreenPtr pScreen);
|
||||
void vesaEnable(ScreenPtr pScreen);
|
||||
void vesaDisable(ScreenPtr pScreen);
|
||||
void vesaPreserve(KdCardInfo *card);
|
||||
void vesaRestore(KdCardInfo *card);
|
||||
void vesaCardFini(KdCardInfo *card);
|
||||
void vesaScreenFini(KdScreenInfo *screen);
|
||||
void vesaPutColors (ScreenPtr pScreen, int fb, int n, xColorItem *pdefs);
|
||||
void vesaGetColors (ScreenPtr pScreen, int fb, int n, xColorItem *pdefs);
|
||||
|
||||
#endif _VESA_H_
|
||||
Loading…
Reference in a new issue