stub.c 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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 "xf86_OSproc.h"
  12. #define _INT10_PRIVATE
  13. #include "xf86int10.h"
  14. xf86Int10InfoPtr
  15. xf86InitInt10(int entityIndex)
  16. {
  17. return xf86ExtendedInitInt10(entityIndex, 0);
  18. }
  19. xf86Int10InfoPtr
  20. xf86ExtendedInitInt10(int entityIndex, int Flags)
  21. {
  22. return NULL;
  23. }
  24. Bool
  25. MapCurrentInt10(xf86Int10InfoPtr pInt)
  26. {
  27. return FALSE;
  28. }
  29. void
  30. xf86FreeInt10(xf86Int10InfoPtr pInt)
  31. {
  32. return;
  33. }
  34. void *
  35. xf86Int10AllocPages(xf86Int10InfoPtr pInt, int num, int *off)
  36. {
  37. *off = 0;
  38. return NULL;
  39. }
  40. void
  41. xf86Int10FreePages(xf86Int10InfoPtr pInt, void *pbase, int num)
  42. {
  43. return;
  44. }
  45. Bool
  46. xf86Int10ExecSetup(xf86Int10InfoPtr pInt)
  47. {
  48. return FALSE;
  49. }
  50. void
  51. xf86ExecX86int10(xf86Int10InfoPtr pInt)
  52. {
  53. return;
  54. }
  55. void *
  56. xf86int10Addr(xf86Int10InfoPtr pInt, uint32_t addr)
  57. {
  58. return 0;
  59. }