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.

99 lines
3.2 KiB

  1. ;
  2. ; Modifications: $Header: W:/LCS/ARCHIVES/preboot/lsa2/base/iputil.asv 1.3 Apr 04 1997 10:05:58 GRGUSTAF $
  3. ;
  4. ; Copyright(c) 1997 by Intel Corporation. All Rights Reserved.
  5. ;
  6. ; = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
  7. ; Local includes
  8. ;
  9. include pxe_cmn.inc
  10. ; = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
  11. ; One of the following command op-codes needs to be loaded into the
  12. ; op-code register (BX) before making a call a PXENV API service.
  13. ;
  14. PXENV_UNLOAD_STACK equ 070h
  15. PXENV_GET_BINL_INFO equ 071h
  16. PXENV_RESTART_DHCP equ 072h
  17. PXENV_RESTART_TFTP equ 073h
  18. ; = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
  19. ; Structures and records
  20. ;
  21. ; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  22. ;
  23. s_pxenv_entry struc
  24. en_signature db 6 dup(?) ; 'PXENV+'
  25. en_version dw ? ; MSB=major, LSB=minor
  26. en_bytes db ? ; sizeof s_pxenv_entry
  27. en_checksum db ? ; 8-bit checksum of structure,
  28. ; including this byte shoube be zero.
  29. en_rm_entry_off dw ? ; 16-bit real-mode segment & offset.
  30. en_rm_entry_seg dw ?
  31. en_pm_entry_off dw ? ; 16-bit protected mode 32-bit physical
  32. en_pm_entry_base dd ? ; address and 16-bit offset.
  33. s_pxenv_entry ends
  34. ; = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
  35. ; PXENV API parameter structure typedefs.
  36. ;
  37. ; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  38. s_PXENV_UNLOAD_STACK struc
  39. ul_status dw ? ; Out: See PXENV_STATUS_xxx constants.
  40. ul_rm_entry_off dw ? ; Out: 16-bit real-mode segment and
  41. ul_rm_entry_seg dw ? ; offset of PXENV Entry Point
  42. ; structure.
  43. ul_pm_entry_off dw ? ; Out: 16-bit protected-mode offset
  44. ul_pm_entry_base dd ? ; and segment base address of
  45. ; PXENV Entry Point structure.
  46. s_PXENV_UNLOAD_STACK ends
  47. ; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  48. s_PXENV_GET_BINL_INFO struc
  49. gbi_status dw ? ; Out: See PXENV_STATUS_xxx constants.
  50. gbi_packet_type dw ? ; In: See PXEVN_PACKET_TYPE_xxx */
  51. ; constants.
  52. gbi_buffer_size dw ? ; In: Size of the buffer in
  53. ; bytes. Specifies the maximum
  54. ; amount of data that will be
  55. ; copied by the service. A size
  56. ; of zero is valid.
  57. ; Out: Amount of BINL data, in
  58. ; bytes, that was copied into
  59. ; the buffer. For an input
  60. ; size of zero, no data will be
  61. ; copied and BufferSize will be
  62. ; set to the maximum amount of
  63. ; data available to be copied.
  64. gbi_buffer_offset dw ? ; In: 16-bit offset and segment/
  65. gbi_buffer_segment dw ? ; selector of a buffer to copy
  66. ; the BINL information into.
  67. s_PXENV_GET_BINL_INFO ends
  68. PXENV_PACKET_TYPE_DHCP_DISCOVER equ 1
  69. PXENV_PACKET_TYPE_DHCP_ACK equ 2
  70. PXENV_PACKET_TYPE_BINL_REPLY equ 3
  71. ; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  72. s_PXENV_RESTART_DHCP struc
  73. rd_status dw ? ; Out: See PXENV_STATUS_xxx constants.
  74. s_PXENV_RESTART_DHCP ends
  75. ; EOF - $Workfile: pxe_api.inc $