|
@@ -1,103 +0,0 @@
|
1
|
|
-#include <errno.h>
|
2
|
|
-#include <ipxe/errortab.h>
|
3
|
|
-
|
4
|
|
-/*
|
5
|
|
- * This table was generated from the relevant section of errno.h using
|
6
|
|
- *
|
7
|
|
- * perl -ne 'if ( /(PXENV_STATUS_(\S+))/ ) {
|
8
|
|
- * $code = $1; $msg = $2;
|
9
|
|
- * $msg =~ s/_/ /g; $msg = ucfirst lc $msg;
|
10
|
|
- * $msg =~ s/(tftp|udp|arp|undi|bis|binl|pxenv|pxe|dhcp)/uc $1/ieg;
|
11
|
|
- * print "\t{ $code, \"$msg\" },\n";
|
12
|
|
- * }'
|
13
|
|
- *
|
14
|
|
- * followed by a little manual tweaking.
|
15
|
|
- *
|
16
|
|
- */
|
17
|
|
-struct errortab pxe_errortab[] __errortab = {
|
18
|
|
- { PXENV_STATUS_SUCCESS, "Success" },
|
19
|
|
- { PXENV_STATUS_FAILURE, "Failure" },
|
20
|
|
- { PXENV_STATUS_BAD_FUNC, "Bad function" },
|
21
|
|
- { PXENV_STATUS_UNSUPPORTED, "Unsupported function" },
|
22
|
|
- { PXENV_STATUS_KEEP_UNDI, "Keep UNDI" },
|
23
|
|
- { PXENV_STATUS_KEEP_ALL, "Keep all" },
|
24
|
|
- { PXENV_STATUS_OUT_OF_RESOURCES, "Out of resources" },
|
25
|
|
- { PXENV_STATUS_ARP_TIMEOUT, "ARP timeout" },
|
26
|
|
- { PXENV_STATUS_UDP_CLOSED, "UDP closed" },
|
27
|
|
- { PXENV_STATUS_UDP_OPEN, "UDP open" },
|
28
|
|
- { PXENV_STATUS_TFTP_CLOSED, "TFTP closed" },
|
29
|
|
- { PXENV_STATUS_TFTP_OPEN, "TFTP open" },
|
30
|
|
- { PXENV_STATUS_MCOPY_PROBLEM, "Memory copy problem" },
|
31
|
|
- { PXENV_STATUS_BIS_INTEGRITY_FAILURE, "BIS integrity failure" },
|
32
|
|
- { PXENV_STATUS_BIS_VALIDATE_FAILURE, "BIS validation failure" },
|
33
|
|
- { PXENV_STATUS_BIS_INIT_FAILURE, "BIS init failure" },
|
34
|
|
- { PXENV_STATUS_BIS_SHUTDOWN_FAILURE, "BIS shutdown failure" },
|
35
|
|
- { PXENV_STATUS_BIS_GBOA_FAILURE, "BIS GBOA failure" },
|
36
|
|
- { PXENV_STATUS_BIS_FREE_FAILURE, "BIS free failure" },
|
37
|
|
- { PXENV_STATUS_BIS_GSI_FAILURE, "BIS GSI failure" },
|
38
|
|
- { PXENV_STATUS_BIS_BAD_CKSUM, "BIS bad checksum" },
|
39
|
|
- { PXENV_STATUS_TFTP_CANNOT_ARP_ADDRESS, "TFTP cannot ARP address" },
|
40
|
|
- { PXENV_STATUS_TFTP_OPEN_TIMEOUT, "TFTP open timeout" },
|
41
|
|
- { PXENV_STATUS_TFTP_UNKNOWN_OPCODE, "TFTP unknown opcode" },
|
42
|
|
- { PXENV_STATUS_TFTP_READ_TIMEOUT, "TFTP read timeout" },
|
43
|
|
- { PXENV_STATUS_TFTP_ERROR_OPCODE, "TFTP error opcode" },
|
44
|
|
- { PXENV_STATUS_TFTP_CANNOT_OPEN_CONNECTION,
|
45
|
|
- "TFTP cannot open connection" },
|
46
|
|
- { PXENV_STATUS_TFTP_CANNOT_READ_FROM_CONNECTION,
|
47
|
|
- "TFTP cannot read from connection" },
|
48
|
|
- { PXENV_STATUS_TFTP_TOO_MANY_PACKAGES, "TFTP too many packages" },
|
49
|
|
- { PXENV_STATUS_TFTP_FILE_NOT_FOUND, "TFTP file not found" },
|
50
|
|
- { PXENV_STATUS_TFTP_ACCESS_VIOLATION, "TFTP access violation" },
|
51
|
|
- { PXENV_STATUS_TFTP_NO_MCAST_ADDRESS, "TFTP no mcast address" },
|
52
|
|
- { PXENV_STATUS_TFTP_NO_FILESIZE, "TFTP no filesize" },
|
53
|
|
- { PXENV_STATUS_TFTP_INVALID_PACKET_SIZE, "TFTP invalid packet size" },
|
54
|
|
- { PXENV_STATUS_DHCP_TIMEOUT, "DHCP timeout" },
|
55
|
|
- { PXENV_STATUS_DHCP_NO_IP_ADDRESS, "DHCP no ip address" },
|
56
|
|
- { PXENV_STATUS_DHCP_NO_BOOTFILE_NAME, "DHCP no bootfile name" },
|
57
|
|
- { PXENV_STATUS_DHCP_BAD_IP_ADDRESS, "DHCP bad ip address" },
|
58
|
|
- { PXENV_STATUS_UNDI_INVALID_FUNCTION, "UNDI invalid function" },
|
59
|
|
- { PXENV_STATUS_UNDI_MEDIATEST_FAILED, "UNDI mediatest failed" },
|
60
|
|
- { PXENV_STATUS_UNDI_CANNOT_INIT_NIC_FOR_MCAST,
|
61
|
|
- "UNDI cannot initialise NIC for multicast" },
|
62
|
|
- { PXENV_STATUS_UNDI_CANNOT_INITIALIZE_NIC,
|
63
|
|
- "UNDI cannot initialise NIC" },
|
64
|
|
- { PXENV_STATUS_UNDI_CANNOT_INITIALIZE_PHY,
|
65
|
|
- "UNDI cannot initialise PHY" },
|
66
|
|
- { PXENV_STATUS_UNDI_CANNOT_READ_CONFIG_DATA,
|
67
|
|
- "UNDI cannot read config data" },
|
68
|
|
- { PXENV_STATUS_UNDI_CANNOT_READ_INIT_DATA,
|
69
|
|
- "UNDI cannot read init data" },
|
70
|
|
- { PXENV_STATUS_UNDI_BAD_MAC_ADDRESS, "UNDI bad MAC address" },
|
71
|
|
- { PXENV_STATUS_UNDI_BAD_EEPROM_CHECKSUM, "UNDI bad EEPROM checksum" },
|
72
|
|
- { PXENV_STATUS_UNDI_ERROR_SETTING_ISR, "UNDI error setting ISR" },
|
73
|
|
- { PXENV_STATUS_UNDI_INVALID_STATE, "UNDI invalid state" },
|
74
|
|
- { PXENV_STATUS_UNDI_TRANSMIT_ERROR, "UNDI transmit error" },
|
75
|
|
- { PXENV_STATUS_UNDI_INVALID_PARAMETER, "UNDI invalid parameter" },
|
76
|
|
- { PXENV_STATUS_BSTRAP_PROMPT_MENU, "Bootstrap prompt menu" },
|
77
|
|
- { PXENV_STATUS_BSTRAP_MCAST_ADDR, "Bootstrap mcast addr" },
|
78
|
|
- { PXENV_STATUS_BSTRAP_MISSING_LIST, "Bootstrap missing list" },
|
79
|
|
- { PXENV_STATUS_BSTRAP_NO_RESPONSE, "Bootstrap no response" },
|
80
|
|
- { PXENV_STATUS_BSTRAP_FILE_TOO_BIG, "Bootstrap file too big" },
|
81
|
|
- { PXENV_STATUS_BINL_CANCELED_BY_KEYSTROKE,
|
82
|
|
- "BINL canceled by keystroke" },
|
83
|
|
- { PXENV_STATUS_BINL_NO_PXE_SERVER, "BINL no PXE server" },
|
84
|
|
- { PXENV_STATUS_NOT_AVAILABLE_IN_PMODE,
|
85
|
|
- "Not available in protected mode" },
|
86
|
|
- { PXENV_STATUS_NOT_AVAILABLE_IN_RMODE, "Not available in real mode" },
|
87
|
|
- { PXENV_STATUS_BUSD_DEVICE_NOT_SUPPORTED,
|
88
|
|
- "BUSD device not supported" },
|
89
|
|
- { PXENV_STATUS_LOADER_NO_FREE_BASE_MEMORY,
|
90
|
|
- "Loader no free base memory" },
|
91
|
|
- { PXENV_STATUS_LOADER_NO_BC_ROMID, "Loader no Base Code ROM ID" },
|
92
|
|
- { PXENV_STATUS_LOADER_BAD_BC_ROMID, "Loader bad Base Code ROM ID" },
|
93
|
|
- { PXENV_STATUS_LOADER_BAD_BC_RUNTIME_IMAGE,
|
94
|
|
- "Loader bad Base Code runtime image" },
|
95
|
|
- { PXENV_STATUS_LOADER_NO_UNDI_ROMID, "Loader no UNDI ROM ID" },
|
96
|
|
- { PXENV_STATUS_LOADER_BAD_UNDI_ROMID, "Loader bad UNDI ROM ID" },
|
97
|
|
- { PXENV_STATUS_LOADER_BAD_UNDI_DRIVER_IMAGE,
|
98
|
|
- "Loader bad UNDI driver image" },
|
99
|
|
- { PXENV_STATUS_LOADER_NO_PXE_STRUCT, "Loader no !PXE struct" },
|
100
|
|
- { PXENV_STATUS_LOADER_NO_PXENV_STRUCT, "Loader no PXENV+ struct" },
|
101
|
|
- { PXENV_STATUS_LOADER_UNDI_START, "Loader UNDI start" },
|
102
|
|
- { PXENV_STATUS_LOADER_BC_START, "Loader Base Code start" },
|
103
|
|
-};
|