Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[Contribs] Add README, license text, and invert error code dictionaries.
- Loading branch information
Showing
4 changed files
with
106 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
Error Code Lookup for gPXE | ||
========================== | ||
This program looks up gPXE error codes so you can locate the line of source | ||
code which produced the error. | ||
|
||
Setup | ||
----- | ||
You must run: | ||
./build_errcodedb.py >errcodedb.py | ||
|
||
This extracts error code definitions from the gPXE source code and produces a | ||
"database" which is used by the main program. | ||
|
||
Once you have done this errcode.py and errcodedb.py are the only files you | ||
need. They are now independent of the gPXE source code and can be moved | ||
anywhere. | ||
|
||
[OPTIONAL] | ||
A PHP script is provided as a web interface. First edit errcode.php to point | ||
$ERRCODE_PATH to the errcode.py script. Then move errcode.php to a location | ||
visible from your web server. | ||
|
||
Usage | ||
----- | ||
Looking up error codes on the command-line: | ||
./errcode.py 0x12345678 | ||
|
||
Further information | ||
------------------- | ||
See http://etherboot.org/. | ||
|
||
Released under the GPL and written by Stefan Hajnoczi <stefanha@gmail.com>. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters