xf86int10module.c 850 B

123456789101112131415161718192021222324252627282930313233
  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. #include "xf86.h"
  10. #include "xf86str.h"
  11. #include "xf86Pci.h"
  12. #include "xf86int10.h"
  13. #ifndef MOD_NAME
  14. #define MOD_NAME int10
  15. #endif
  16. #define stringify(x) #x
  17. #define STRING(x) stringify(x)
  18. #define concat(x,y) x ## y
  19. #define combine(a,b) concat(a,b)
  20. #define NAME(x) combine(MOD_NAME,x)
  21. static XF86ModuleVersionInfo NAME(VersRec) = {
  22. STRING(NAME()), MODULEVENDORSTRING, MODINFOSTRING1, MODINFOSTRING2, XORG_VERSION_CURRENT, 1, 0, 0, ABI_CLASS_VIDEODRV, /* needs the video driver ABI */
  23. ABI_VIDEODRV_VERSION, MOD_CLASS_NONE, {
  24. 0, 0, 0, 0}
  25. };
  26. _X_EXPORT XF86ModuleData NAME(ModuleData) = {
  27. &NAME(VersRec), NULL, NULL};