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.

70 lines
2.0 KiB

  1. ;******************************************************************************
  2. ;
  3. ; (C) Copyright MICROSOFT Corp. 1989
  4. ;
  5. ; Title: EMM386 - MICROSOFT Expanded Memory Manager 386
  6. ;
  7. ; Module: XMM.INC - Definitions for extended memory manger (XMM)
  8. ;
  9. ; Version: 0.01
  10. ;
  11. ; Date: Feb. 15, 1989
  12. ;
  13. ;
  14. ;******************************************************************************
  15. ;
  16. ; Change log:
  17. ;
  18. ; DATE REVISION DESCRIPTION
  19. ; -------- -------- -------------------------------------------------------
  20. ; 02/15/89 Original
  21. ; 02/19/89 pc add other struct and equ
  22. ;
  23. ;******************************************************************************
  24. XMM_MULTIPLEX equ 43h ; XMM multiplex number of INT 2Fh
  25. XMM_INSTALL_CHECK equ 00h ; install check call
  26. XMM_FUNCTION_ADDR equ 10h ; get control function address call
  27. ;
  28. ; XMM functions
  29. ;
  30. XMM_GET_VERSION equ 00h
  31. XMM_REQUEST_HMA equ 01h
  32. XMM_RELEASE_HMA equ 02h
  33. XMM_GLOBAL_ENABLE_A20 equ 03h
  34. XMM_GLOBAL_DISABLE_A20 equ 04h
  35. XMM_LOCAL_ENABLE_A20 equ 05h
  36. XMM_LOCAL_DISABLE_A20 equ 06h
  37. XMM_QUERY_A20 equ 07h
  38. XMM_QUERY_FREE_EXTMEM equ 08h
  39. XMM_ALLOC_EMB equ 09h
  40. XMM_FREE_EMB equ 0Ah
  41. XMM_MOVE_EMB equ 0Bh
  42. XMM_LOCK_EMB equ 0Ch
  43. XMM_UNLOCK_EMB equ 0Dh
  44. XMM_GET_EMB_INFO equ 0Eh
  45. XMM_REALLOC_EMB equ 0Fh
  46. XMM_REQUEST_UMB equ 10h
  47. XMM_RELEASE_UMB equ 11h
  48. ;
  49. ; All error codes has this bit on.
  50. ; Used for test sucess of XMM_QUERY_FREE_EXTMEM
  51. ;
  52. XMM_ERROR_BIT equ 80h
  53. ;
  54. ; Previous HIMEM.SYS versions are not reliable
  55. ;
  56. GOOD_HIMEM_VERSION equ 208h
  57. ;
  58. ; struct pass to XMM_MOVE_EMB in DS:SI
  59. ;
  60. ExtMemMoveStruct struc
  61. mov_length dd ? ; 32 bit number of bytes to transfer
  62. src_handle dw ? ; handle of source block
  63. src_offset dd ? ; 32 bit offset into source
  64. dst_handle dw ? ; handle of destination block
  65. dst_offset dd ? ; 32 bit offset into destination
  66. ExtMemMoveStruct ends
  67. .list ; end of XMM.INC