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.

144 lines
2.9 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. SelMgt_Get_Spec_Sel EQU 0Dh
  37. Int31_DOS_Mem_Mgt EQU 01h
  38. DOSMem_Allocate EQU 00h
  39. DOSMem_Free EQU 01h
  40. DOSMem_Resize EQU 02h
  41. Int31_Int_Serv EQU 02h
  42. Int_Get_Real_Vec EQU 00h
  43. Int_Set_Real_Vec EQU 01h
  44. Int_Get_Excep_Vec EQU 02h
  45. Int_Set_Excep_Vec EQU 03h
  46. Int_Get_PMode_Vec EQU 04h
  47. Int_Set_PMode_Vec EQU 05h
  48. Int31_Trans_Serv EQU 03h
  49. Trans_Sim_Int EQU 00h
  50. Trans_Far_Call EQU 01h
  51. Trans_Call_Int_Proc EQU 02h
  52. Trans_Call_Back EQU 03h
  53. Trans_Free_CB EQU 04h
  54. Trans_Get_Save_Addr EQU 05h
  55. Trans_Get_Sw_Addr EQU 06h
  56. Int31_Get_Version EQU 04h
  57. Int31_Mem_Mgt EQU 05h
  58. MemMgt_Get_Info EQU 00h
  59. MemMgt_Allocate EQU 01h
  60. MemMgt_Free EQU 02h
  61. MemMgt_Resize EQU 03h
  62. Int31_Page_Lock EQU 06h
  63. Lock_Region EQU 00h
  64. Unlock_Region EQU 01h
  65. Mark_Pageable EQU 02h
  66. Mark_Not_Pageable EQU 03h
  67. Get_Page_Size EQU 04h
  68. Int31_Demand_Page_Tune EQU 07h
  69. Page_Candidate EQU 00h
  70. Page_Discard EQU 01h
  71. DPMI_Candidate EQU 02h
  72. DPMI_Discard EQU 03h
  73. Int31_Map_Phys_Addr EQU 08h
  74. Int31_Virt_Int_State EQU 09h
  75. Get_Clear_Int_State EQU 00h
  76. Get_Set_Int_State EQU 01h
  77. Get_Int_State EQU 02h
  78. Real_Mode_Call_Struc STRUC
  79. RealMode_EDI dd ?
  80. RealMode_ESI dd ?
  81. RealMode_EBP dd ?
  82. dd ?
  83. RealMode_EBX dd ?
  84. RealMode_EDX dd ?
  85. RealMode_ECX dd ?
  86. RealMode_EAX dd ?
  87. RealMode_Flags dw ?
  88. RealMode_ES dw ?
  89. RealMode_DS dw ?
  90. RealMode_FS dw ?
  91. RealMode_GS dw ?
  92. RealMode_IP dw ?
  93. RealMode_CS dw ?
  94. RealMode_SP dw ?
  95. RealMode_SS dw ?
  96. Real_Mode_Call_Struc ENDS
  97. Real_Mode_Word_Regs STRUC
  98. RealMode_DI dw ?
  99. dw ?
  100. RealMode_SI dw ?
  101. dw ?
  102. RealMode_BP dw ?
  103. dw ?
  104. dd ?
  105. RealMode_BX dw ?
  106. dw ?
  107. RealMode_DX dw ?
  108. dw ?
  109. RealMode_CX dw ?
  110. dw ?
  111. RealMode_AX dw ?
  112. Real_Mode_Word_Regs ENDS
  113. Real_Mode_Byte_Regs STRUC
  114. dd 4 dup (?)
  115. RealMode_BL db ?
  116. RealMode_BH db ?
  117. dw ?
  118. RealMode_DL db ?
  119. RealMode_DH db ?
  120. dw ?
  121. RealMode_CL db ?
  122. RealMode_CH db ?
  123. dw ?
  124. RealMode_AL db ?
  125. RealMode_AH db ?
  126. Real_Mode_Byte_Regs ENDS