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.

69 lines
1.8 KiB

  1. BOOT_SIZE EQU 512
  2. BOOTSEC STRUC
  3. bsJump DB 3 DUP (?)
  4. bsOemName DB 8 DUP (?)
  5. bsBPB DB SIZE BPB DUP (?)
  6. bsDriveNumber DB ?
  7. bsReserved1 DB ?
  8. bsBootSignature DB ?
  9. bsVolumeID DD ?
  10. bsVolumeLabel DB 11 DUP (?)
  11. bsFileSysType DB 8 DUP (?)
  12. BOOTSEC ENDS
  13. BIGFATBOOTSEC STRUC
  14. bgbsJump DB 3 DUP (?)
  15. bgbsOemName DB 8 DUP (?)
  16. bgbsBPB DB SIZE BIGFATBPB DUP (?)
  17. bgbsDriveNumber DB ?
  18. bgbsReserved1 DB ?
  19. bgbsBootSignature DB ?
  20. bgbsVolumeID DD ?
  21. bgbsVolumeLabel DB 11 DUP (?)
  22. bgbsFileSysType DB 8 DUP (?)
  23. BIGFATBOOTSEC ENDS
  24. BOOTSECTRAILSIGL EQU 0000H
  25. BOOTSECTRAILSIGH EQU 0AA55H
  26. BOOTSECTRAILSIG EQU 0AA550000H
  27. OFFSETTRLSIG EQU <(BOOT_SIZE-4)>
  28. BOOT_SIGNATURE EQU <(BOOT_SIZE-2)>
  29. BOOT_TRAILSIG EQU BOOTSECTRAILSIGH
  30. DOREAD_OFFSET EQU 014BH
  31. DOREAD_MOVDL_OFFSET EQU 0016H
  32. DOREAD_LENGTH EQU 0035H
  33. MBR_BOOTFAILBACKUP EQU 6
  34. MBR_BOOTFLBCKUP EQU MBR_BOOTFAILBACKUP
  35. SECONDBOOTSECSIG EQU 41615252H
  36. SECONDBOOTSECSIGL EQU 5252H
  37. SECONDBOOTSECSIGH EQU 4161H
  38. BIGFATBOOTFSINFO STRUC
  39. bfFSInf_Sig DD ?
  40. bfFSInf_free_clus_cnt DD ?
  41. bfFSInf_next_free_clus DD ?
  42. bfFSInf_resvd DD 3 DUP (?)
  43. BIGFATBOOTFSINFO ENDS
  44. EXT_BIGIBMBOOT_FSINFO EQU <BIGFATBOOTFSINFO>
  45. EXT_BGFSInf_Sig EQU <bfFSInf_Sig>
  46. EXT_BGFSInf_free_clus_cnt EQU <bfFSInf_free_clus_cnt>
  47. EXT_BGFSInf_resvd EQU <bfFSInf_next_free_clus>
  48. FSINFOSIG EQU 61417272H
  49. FSINFOSIGL EQU 7272H
  50. FSINFOSIGH EQU 6141H
  51. OFFSETFSINFOFRMSECSTRT EQU <(OFFSETTRLSIG-SIZE BIGFATBOOTFSINFO)>
  52. OFFSETEXTFSINFOFRMSECSTRT EQU <OFFSETFSINFOFRMSECSTRT>
  53. BS2BYTJMP EQU 0EBH
  54. BS3BYTJMP EQU 0E9H
  55. BOOT_2BYTJMP EQU BS2BYTJMP
  56. BOOT_3BYTJMP EQU BS3BYTJMP
  57. BSEXTSIG EQU 29H
  58. EXT_BOOT_SIGNATURE EQU BSEXTSIG
  59. BSFSTYPFAT12 EQU <"FAT12 ">
  60. BSFSTYPFAT16 EQU <"FAT16 ">
  61. BSFSTYPFAT32 EQU <"FAT32 ">
  62. ifdef NOTFAT32
  63. IBMLOADSIZE EQU 3
  64. else
  65. IBMLOADSIZE EQU 4
  66. endif