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.

71 lines
2.7 KiB

  1. ; SCCSID = @(#)sysvar.asm 1.1 85/04/10
  2. SysInitVars STRUC
  3. SYSI_DPB DD ? ; DPB chain
  4. SYSI_SFT DD ? ; SFT chain
  5. SYSI_CLOCK DD ? ; CLOCK device
  6. SYSI_CON DD ? ; CON device
  7. SYSI_MAXSEC DW ? ; maximum sector size
  8. SYSI_BUF DD ? ; points to Hashinitvar
  9. SYSI_CDS DD ? ; CDS list
  10. SYSI_FCB DD ? ; FCB chain
  11. SYSI_Keep DW ? ; keep count
  12. SYSI_NUMIO DB ? ; Number of block devices
  13. SYSI_NCDS DB ? ; number of CDS's
  14. SYSI_DEV DD ? ; device list
  15. SYSI_ATTR DW ? ; null device attribute word
  16. SYSI_STRAT DW ? ; null device strategy entry point
  17. SYSI_INTER DW ? ; null device interrupt entry point
  18. SYSI_NAME DB 8 DUP(?) ; null device name
  19. SYSI_SPLICE DB 0 ; TRUE -> splicees being done
  20. SYSI_IBMDOS_SIZE DW ? ; DOS size in paragraphs
  21. SYSI_IFS_DOSCALL@ DD ? ; IFS DOS service rountine entry
  22. SYSI_IFS DD ? ; IFS header chain
  23. SYSI_BUFFERS DW ?,0 ; BUFFERS= values (m,n)
  24. SYSI_BOOT_DRIVE DB ? ; boot drive A=1 B=2,..
  25. SYSI_DWMOVE DB 0 ; 1 if 386 machine
  26. SYSI_EXT_MEM DW 0 ; Extended memory size in KB.
  27. SysInitVars ENDS
  28. ;This is added for more information exchage between DOS, BIOS.
  29. ;DOS will give the pointer to SysInitTable in ES:DI. - J.K. 5/29/86
  30. SysInitVars_Ext struc
  31. SYSI_InitVars DD 0 ; Points to the above structure.
  32. SYSI_Country_Tab DD 0 ; DOS_Country_cdpg_info
  33. SysInitVars_Ext ends
  34. ;The SYSI_BUF of SysInitVars points to the follwong structure
  35. EMS_MAP_BUFF_SIZE EQU 12 ; EMS map buffer size
  36. Buffinfo STRUC
  37. Buff_Queue DD ? ; Head of list of buffers
  38. Dirty_Buff_Count DW ? ; number of dirty buffers in list
  39. Cache_ptr DD ? ; pointer to secondary cache
  40. Cache_count DW 0 ; number of secondary cache entries
  41. Buff_In_HMA db 0 ; flag to indicate that buffers
  42. ; are in HMA
  43. Lo_Mem_Buff dd 0 ; Ptr to scratch buff in Low Mem
  44. ; used to read/write on disks
  45. ;smr; removal of BUFFERFLAG; IF BUFFERFLAG
  46. UU_EMS_FIRST_PAGE DW 0, 0
  47. UU_EMS_NPA640 DW 0
  48. ;smr; removal of BUFFERFLAG; ENDIF
  49. UU_EMS_mode DB -1 ; no EMS = -1
  50. UU_EMS_handle DW ? ; EMS handle for buffers
  51. UU_EMS_PageFrame_Number DW -1 ; EMS page frame number
  52. UU_EMS_Seg_Cnt DW 1 ; EMS segment count
  53. UU_EMS_Page_Frame DW -1 ; EMS page frame segment address
  54. UU_EMS_reserved DW 0 ; EMS segment count
  55. ;smr; removal of BUFFERFLAG; IF BUFFERFLAG
  56. UU_EMS_Map_Buff DB 0 ; map buffer
  57. ;smr; removal of BUFFERFLAG; ELSE
  58. ;smr; removal of BUFFERFLAG; EMS_Map_Buff DB 12 dup(0)
  59. ;smr; removal of BUFFERFLAG; ENDIF
  60. Buffinfo ENDS
  61.