Ticket #2331 (closed enhancement: fixed)
Support little-endian hexdump input for decode-dimms
| Reported by: | ticket | Owned by: | khali |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | misc | Version: | |
| Keywords: | decode-dimms | Cc: | paul@… |
Description
Current version of decode-dimms has a command line -x switch to allow the program to interpret hexdump of SPD. Unfortunately, when it recognizes that hexdump has produced two-byte 'words' it assumes that the data is in big-endian format. Since some systems have little-endian format, it would be useful to support both formats. The attached patch accomplishes this by implementing a -X command line switch.
Note that it might be more logical to use a 'little-x' for little-endian vs. 'big-X' for big-endian but this would change the existing interface.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

