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.

148 lines
3.0 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. Int31_MCP_Control EQU 0Eh
  79. Get_Status EQU 00h
  80. Set_Emulation EQU 01h
  81. Real_Mode_Call_Struc STRUC
  82. RealMode_EDI dd ?
  83. RealMode_ESI dd ?
  84. RealMode_EBP dd ?
  85. dd ?
  86. RealMode_EBX dd ?
  87. RealMode_EDX dd ?
  88. RealMode_ECX dd ?
  89. RealMode_EAX dd ?
  90. RealMode_Flags dw ?
  91. RealMode_ES dw ?
  92. RealMode_DS dw ?
  93. RealMode_FS dw ?
  94. RealMode_GS dw ?
  95. RealMode_IP dw ?
  96. RealMode_CS dw ?
  97. RealMode_SP dw ?
  98. RealMode_SS dw ?
  99. Real_Mode_Call_Struc ENDS
  100. Real_Mode_Word_Regs STRUC
  101. RealMode_DI dw ?
  102. dw ?
  103. RealMode_SI dw ?
  104. dw ?
  105. RealMode_BP dw ?
  106. dw ?
  107. dd ?
  108. RealMode_BX dw ?
  109. dw ?
  110. RealMode_DX dw ?
  111. dw ?
  112. RealMode_CX dw ?
  113. dw ?
  114. RealMode_AX dw ?
  115. Real_Mode_Word_Regs ENDS
  116. Real_Mode_Byte_Regs STRUC
  117. dd 4 dup (?)
  118. RealMode_BL db ?
  119. RealMode_BH db ?
  120. dw ?
  121. RealMode_DL db ?
  122. RealMode_DH db ?
  123. dw ?
  124. RealMode_CL db ?
  125. RealMode_CH db ?
  126. dw ?
  127. RealMode_AL db ?
  128. RealMode_AH db ?
  129. Real_Mode_Byte_Regs ENDS