Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

96 lines
2.1 KiB

  1. ;++
  2. ;
  3. ; Copyright (c) 1989 Microsoft Corporation
  4. ;
  5. ; Module Name:
  6. ;
  7. ; eisa.inc
  8. ;
  9. ; Abstract:
  10. ;
  11. ; This module contains the assembly structures and definitions
  12. ; for making 16-bit real mode EISA BIOS calls.
  13. ;
  14. ; Author:
  15. ;
  16. ; Shie-Lin (shielint) 7-June-1991
  17. ;
  18. ; Revision History:
  19. ;
  20. ;--
  21. ;
  22. ; EISA BIOS call function number.
  23. ;
  24. GET_EISA_SLOT_INFORMATION equ 0D800h
  25. GET_EISA_FUNCTION_INFORMATION equ 0D801h
  26. ;
  27. ; Length of EISA information block
  28. ;
  29. EISA_INFORMATION_BLOCK_LENGTH equ 320
  30. ;
  31. ; Structure for EISA slot information block
  32. ;
  33. EISA_SLOT_INFORMATION struc
  34. SlotReturn db 0
  35. SlotFlags db 0
  36. SlotMajorRevision db 0
  37. SlotMinorRevision db 0
  38. SlotChecksum dw 0
  39. SlotNumberFunctions db 0
  40. SlotFunctionInformation db 0
  41. SlotCompressedId dd 0
  42. EISA_SLOT_INFORMATION ends
  43. ;
  44. ; Structure for EISA function information block
  45. ;
  46. EISA_FUNCTION_INFORMATION struc
  47. FunctionReturn db 0
  48. FunctionInformation db EISA_INFORMATION_BLOCK_LENGTH dup (0)
  49. EISA_FUNCTION_INFORMATION ends
  50. ;
  51. ; Structure definitions and equates for INT 15 function E820
  52. ;
  53. E820Frame struc
  54. ErrorFlag dd ?
  55. Key dd ?
  56. DescSize dd ?
  57. BaseAddrLow dd ?
  58. BaseAddrHigh dd ?
  59. SizeLow dd ?
  60. SizeHigh dd ?
  61. MemoryType dd ?
  62. E820Frame ends
  63. MemoryDescriptorFramePointer struc
  64. E820FramePointer dd ?
  65. MemoryDescriptorFramePointer ends
  66. ;
  67. ; Structure definitions for INT 15 E980
  68. ;
  69. E980Info struc
  70. Signature dw ?
  71. CommandPortAddress dw ?
  72. EventPortAddress dw ?
  73. PollInterval dw ?
  74. CommandDataValue db ?
  75. EventPortBitmask db ?
  76. MaxLevelAc db ?
  77. MaxLevelDc db ?
  78. E980Info ends