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.

87 lines
2.5 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. ;* Result codes returned in AX by a PXE API service.
  8. ;*
  9. PXENV_EXIT_SUCCESS equ 0
  10. PXENV_EXIT_FAILURE equ 1
  11. PXENV_EXIT_CHAIN equ 0FFFFh ; used internally
  12. ;* = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
  13. ;* CPU types
  14. ;*
  15. PXENV_CPU_X86 equ 0
  16. PXENV_CPU_ALPHA equ 1
  17. PXENV_CPU_PPC equ 2
  18. ;* = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
  19. ;* Bus types
  20. ;*
  21. PXENV_BUS_ISA equ 0
  22. PXENV_BUS_EISA equ 1
  23. PXENV_BUS_MCA equ 2
  24. PXENV_BUS_PCI equ 3
  25. PXENV_BUS_VESA equ 4
  26. PXENV_BUS_PCMCIA equ 5
  27. ;* = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
  28. ;* Status codes returned in the status word of PXE API parameter structures.
  29. ;*
  30. PXENV_STATUS_SUCCESS equ 0
  31. PXENV_STATUS_FAILURE equ 1 ; general failure
  32. PXENV_STATUS_BAD_FUNC equ 2 ; invalid function number
  33. PXENV_STATUS_UNSUPPORTED equ 3 ; Function is not yet supported.
  34. PXENV_STATUS_1A_HOOKED equ 4 ; Int 1Ah cannot be unhooked.
  35. ; ARP errors
  36. PXENV_STATUS_ARP_TIMEOUT equ 11h
  37. ; TFTP errors
  38. PXENV_STATUS_TFTP_CANNOT_ARP_ADDRESS equ 30h
  39. PXENV_STATUS_TFTP_OPEN_TIMEOUT equ 32h
  40. PXENV_STATUS_TFTP_UNKNOWN_OPCODE equ 33h
  41. PXENV_STATUS_TFTP_ERROR_OPCODE equ 34h
  42. PXENV_STATUS_TFTP_READ_TIMEOUT equ 35h
  43. PXENV_STATUS_TFTP_WRITE_TIMEOUT equ 37h
  44. PXENV_STATUS_TFTP_CANNOT_OPEN_CONNECTION equ 38h
  45. PXENV_STATUS_TFTP_CANNOT_READ_FROM_CONNECTION equ 39h
  46. PXENV_STATUS_TFTP_CANNOT_WRITE_TO_CONNECTION equ 3Ah
  47. ; BOOTP errors
  48. PXENV_STATUS_BOOTP_TIMEOUT equ 41h
  49. PXENV_STATUS_BOOTP_NO_CLIENT_OR_SERVER_IP equ 42h
  50. PXENV_STATUS_BOOTP_NO_BOOTFILE_NAME equ 43h
  51. PXENV_STATUS_BOOTP_CANNOT_ARP_REDIR_SRVR equ 44h
  52. ; DHCP errors
  53. PXENV_STATUS_DHCP_TIMEOUT equ 51h
  54. ; UNDI Errors
  55. PXENV_STATUS_UNDI_MEDIATEST_FAILED equ 61h
  56. ; MTFTP errors
  57. PXENV_STATUS_MTFTP_CANNOT_ARP_ADDRESS equ 90h
  58. PXENV_STATUS_MTFTP_OPEN_TIMEOUT equ 92h
  59. PXENV_STATUS_MTFTP_UNKNOWN_OPCODE equ 93h
  60. PXENV_STATUS_MTFTP_READ_TIMEOUT equ 95h
  61. PXENV_STATUS_MTFTP_WRITE_TIMEOUT equ 97h
  62. PXENV_STATUS_MTFTP_CANNOT_OPEN_CONNECTION equ 98h
  63. PXENV_STATUS_MTFTP_CANNOT_READ_FROM_CONNECTION equ 99h
  64. PXENV_STATUS_MTFTP_CANNOT_WRITE_TO_CONNECTION equ 9Ah
  65. PXENV_STATUS_MTFTP_CANNOT_INIT_NIC_FOR_MCAST equ 9Bh
  66. PXENV_STATUS_MTFTP_TOO_MANY_PACKAGES equ 9Ch
  67. PXENV_STATUS_MTFTP_MCOPY_PROBLEM equ 9Dh
  68. ; EOF - $Workfile: pxe_api.inc $