xserver

xserver with xephyr scale patch
git clone https://git.neptards.moe/u3shit/xserver.git
Log | Files | Refs | README | LICENSE

xf86int10module.c (850B)


      1 /*
      2  *                   XFree86 int10 module
      3  *   execute BIOS int 10h calls in x86 real mode environment
      4  *                 Copyright 1999 Egbert Eich
      5  */
      6 #ifdef HAVE_XORG_CONFIG_H
      7 #include <xorg-config.h>
      8 #endif
      9 
     10 #include "xf86.h"
     11 #include "xf86str.h"
     12 #include "xf86Pci.h"
     13 #include "xf86int10.h"
     14 
     15 #ifndef MOD_NAME
     16 #define MOD_NAME int10
     17 #endif
     18 
     19 #define stringify(x) #x
     20 #define STRING(x) stringify(x)
     21 #define concat(x,y) x ## y
     22 #define combine(a,b) concat(a,b)
     23 #define NAME(x) combine(MOD_NAME,x)
     24 
     25 static XF86ModuleVersionInfo NAME(VersRec) = {
     26     STRING(NAME()), MODULEVENDORSTRING, MODINFOSTRING1, MODINFOSTRING2, XORG_VERSION_CURRENT, 1, 0, 0, ABI_CLASS_VIDEODRV,      /* needs the video driver ABI */
     27         ABI_VIDEODRV_VERSION, MOD_CLASS_NONE, {
     28     0, 0, 0, 0}
     29 };
     30 
     31 _X_EXPORT XF86ModuleData NAME(ModuleData) = {
     32 &NAME(VersRec), NULL, NULL};