|
@@ -28,6 +28,51 @@ FILE_LICENCE ( GPL2_OR_LATER );
|
28
|
28
|
#define PRODUCT_SHORT_NAME "iPXE"
|
29
|
29
|
#define PRODUCT_URI "http://ipxe.org"
|
30
|
30
|
|
|
31
|
+/*
|
|
32
|
+ * Error messages
|
|
33
|
+ *
|
|
34
|
+ * iPXE error messages comprise a summary error message
|
|
35
|
+ * (e.g. "Permission denied") and a 32-bit error number. This number
|
|
36
|
+ * is incorporated into an error URI such as
|
|
37
|
+ *
|
|
38
|
+ * "No such file or directory (http://ipxe.org/2d0c613b)"
|
|
39
|
+ *
|
|
40
|
+ * or
|
|
41
|
+ *
|
|
42
|
+ * "Operation not supported (http://ipxe.org/3c092003)"
|
|
43
|
+ *
|
|
44
|
+ * Users may browse to the URI within the error message, which is
|
|
45
|
+ * provided by a database running on the iPXE web site
|
|
46
|
+ * (http://ipxe.org). This database provides details for all possible
|
|
47
|
+ * errors generated by iPXE, including:
|
|
48
|
+ *
|
|
49
|
+ * - the detailed error message (e.g. "Not an OCSP signing
|
|
50
|
+ * certificate") to complement the summary message (e.g. "Permission
|
|
51
|
+ * denied") which is compiled into the iPXE binary.
|
|
52
|
+ *
|
|
53
|
+ * - an instruction to the user to upgrade, if the error cannot be
|
|
54
|
+ * generated by the latest version of iPXE.
|
|
55
|
+ *
|
|
56
|
+ * - hints on how to fix the error (e.g. "This error indicates that
|
|
57
|
+ * the file was not found on the TFTP server. Check that you can
|
|
58
|
+ * retrieve the file using an alternative TFTP client, such as
|
|
59
|
+ * tftp-hpa on Linux.")
|
|
60
|
+ *
|
|
61
|
+ * - details of which source file within the iPXE codebase generated
|
|
62
|
+ * the error.
|
|
63
|
+ *
|
|
64
|
+ * - a direct link to the line(s) of code which generated the error.
|
|
65
|
+ *
|
|
66
|
+ * If you have a customer support team and would like your customers
|
|
67
|
+ * to contact your support team for all problems, instead of using the
|
|
68
|
+ * existing support infrastructure provided by http://ipxe.org, then
|
|
69
|
+ * you may define a custom URI to be included within error messages.
|
|
70
|
+ *
|
|
71
|
+ * Note that the custom URI is a printf() format string which must
|
|
72
|
+ * include a format specifier for the 32-bit error number.
|
|
73
|
+ */
|
|
74
|
+#define PRODUCT_ERROR_URI "http://ipxe.org/%08x"
|
|
75
|
+
|
31
|
76
|
#include <config/local/branding.h>
|
32
|
77
|
|
33
|
78
|
#endif /* CONFIG_BRANDING_H */
|