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.

63 lines
1.6 KiB

  1. ;******************************************************************************
  2. ;
  3. ; (C) Copyright MICROSOFT Corp. 1989
  4. ;
  5. ; Module: UMB.INC - Definitions for link umb utility
  6. ;
  7. ; Version: 0.01
  8. ;
  9. ; Date: Jun. 26, 1990
  10. ;
  11. ;
  12. ;******************************************************************************
  13. ;
  14. ; Change log:
  15. ;
  16. ; DATE REVISION DESCRIPTION
  17. ; -------- -------- -------------------------------------------------------
  18. ; 06/26/90 Original
  19. ;
  20. ;******************************************************************************
  21. XMM_MULTIPLEX equ 43h ; XMM multiplex number of INT 2Fh
  22. XMM_INSTALL_CHECK equ 00h ; install check call
  23. XMM_FUNCTION_ADDR equ 10h ; get control function address call
  24. ;
  25. ; XMM functions
  26. ;
  27. XMM_GET_VERSION equ 00h
  28. XMM_REQUEST_UMB equ 10h
  29. XMM_RELEASE_UMB equ 11h
  30. ;
  31. ; All error codes has this bit on.
  32. ; Used for test sucess of XMM_QUERY_FREE_EXTMEM
  33. ;
  34. XMM_ERROR_BIT equ 80h
  35. ;
  36. ; Previous HIMEM.SYS versions are not reliable
  37. ;
  38. GOOD_HIMEM_VERSION equ 208h
  39. ;** Arena Header
  40. ;
  41. arena STRUC
  42. arena_signature DB ? ; 4D for valid item, 5A for last item
  43. arena_owner DW ? ; owner of arena item
  44. arena_size DW ? ; size in paragraphs of item
  45. arena_reserved DB 3 DUP(?) ; reserved
  46. arena_name DB 8 DUP(?) ; owner file name
  47. arena ENDS
  48. arena_owner_system EQU 0 ; free block indication
  49. arena_signature_normal EQU 4Dh ; valid signature, not end of arena
  50. arena_signature_end EQU 5Ah ; valid signature, last block in arena
  51. DOS_ARENA EQU 24H ; offset of arena_head var in DOS
  52. ; data segment
  53. UMB_ARENA EQU 8CH ; offset of umb_head in DOS data
  54. .list ; end of UMB.INC
  55.