Source code of Windows XP (NT5)
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.

136 lines
2.7 KiB

  1. ;******************************************************************************
  2. ;
  3. ; (C) Copyright MICROSOFT Corp., 1989-1990
  4. ;
  5. ; Title: INT31.INC - Equates and Structures for Int 31h Interface
  6. ;
  7. ; Version: 3.00
  8. ;
  9. ; Date: 22-May-1989
  10. ;
  11. ; Author: RAL
  12. ;
  13. ;------------------------------------------------------------------------------
  14. ;
  15. ; Change log:
  16. ;
  17. ; DATE REV DESCRIPTION
  18. ; ----------- --- -----------------------------------------------------------
  19. ; 22-May-1989 RAL Original
  20. ;
  21. ;==============================================================================
  22. Int31_Sel_Mgt EQU 00h
  23. SelMgt_Alloc_Sel EQU 00h
  24. SelMgt_Free_Sel EQU 01h
  25. SelMgt_Seg_To_Sel EQU 02h
  26. SelMgt_Get_LDT_Base EQU 03h
  27. SelMgt_Lock_Sel EQU 04h
  28. SelMgt_Unlock_Sel EQU 05h
  29. SelMgt_Get_Base EQU 06h
  30. SelMgt_Set_Base EQU 07h
  31. SelMgt_Set_Limit EQU 08h
  32. SelMgt_Set_Acc_Bits EQU 09h
  33. SelMgt_Alias_Sel EQU 0Ah
  34. SelMgt_Get_Desc EQU 0Bh
  35. SelMgt_Set_Desc EQU 0Ch
  36. Int31_DOS_Mem_Mgt EQU 01h
  37. DOSMem_Allocate EQU 00h
  38. DOSMem_Free EQU 01h
  39. DOSMem_Resize EQU 02h
  40. Int31_Int_Serv EQU 02h
  41. Int_Get_Real_Vec EQU 00h
  42. Int_Set_Real_Vec EQU 01h
  43. Int_Get_Excep_Vec EQU 02h
  44. Int_Set_Excep_Vec EQU 03h
  45. Int31_Trans_Serv EQU 03h
  46. Trans_Sim_Int EQU 00h
  47. Trans_Far_Call EQU 01h
  48. Trans_Call_Int_Proc EQU 02h
  49. Trans_Call_Back EQU 03h
  50. Trans_Free_CB EQU 04h
  51. Int31_Get_Version EQU 04h
  52. Int31_Mem_Mgt EQU 05h
  53. MemMgt_Get_Info EQU 00h
  54. MemMgt_Allocate EQU 01h
  55. MemMgt_Free EQU 02h
  56. MemMgt_Resize EQU 03h
  57. Int31_Page_Lock EQU 06h
  58. Lock_Region EQU 00h
  59. Unlock_Region EQU 01h
  60. Mark_Pageable EQU 02h
  61. Mark_Not_Pageable EQU 03h
  62. Int31_Demand_Page_Tune EQU 07h
  63. Page_Candidate EQU 00h
  64. Page_Discard EQU 01h
  65. Int31_Map_Phys_Addr EQU 08h
  66. Int31_Virt_Int_State EQU 09h
  67. Get_Clear_Int_State EQU 00h
  68. Get_Set_Int_State EQU 01h
  69. Get_Int_State EQU 02h
  70. Real_Mode_Call_Struc STRUC
  71. RealMode_EDI dd ?
  72. RealMode_ESI dd ?
  73. RealMode_EBP dd ?
  74. dd ?
  75. RealMode_EBX dd ?
  76. RealMode_EDX dd ?
  77. RealMode_ECX dd ?
  78. RealMode_EAX dd ?
  79. RealMode_Flags dw ?
  80. RealMode_ES dw ?
  81. RealMode_DS dw ?
  82. RealMode_FS dw ?
  83. RealMode_GS dw ?
  84. RealMode_IP dw ?
  85. RealMode_CS dw ?
  86. RealMode_SP dw ?
  87. RealMode_SS dw ?
  88. Real_Mode_Call_Struc ENDS
  89. Real_Mode_Word_Regs STRUC
  90. RealMode_DI dw ?
  91. dw ?
  92. RealMode_SI dw ?
  93. dw ?
  94. RealMode_BP dw ?
  95. dw ?
  96. dd ?
  97. RealMode_BX dw ?
  98. dw ?
  99. RealMode_DX dw ?
  100. dw ?
  101. RealMode_CX dw ?
  102. dw ?
  103. RealMode_AX dw ?
  104. Real_Mode_Word_Regs ENDS
  105. Real_Mode_Byte_Regs STRUC
  106. dd 4 dup (?)
  107. RealMode_BL db ?
  108. RealMode_BH db ?
  109. dw ?
  110. RealMode_DL db ?
  111. RealMode_DH db ?
  112. dw ?
  113. RealMode_CL db ?
  114. RealMode_CH db ?
  115. dw ?
  116. RealMode_AL db ?
  117. RealMode_AH db ?
  118. Real_Mode_Byte_Regs ENDS