[LinuxBIOS] [patch] group register dumps by 8 and remove trailing spaces

Frieder Ferlemann frieder.ferlemann at web.de
Sun Nov 11 17:51:46 CET 2007


Hi,

this patch groups register dumps by 8 and removes trailing spaces.

Output then looks like:

LDN 0x04 (Environment controller)
idx 2b 30 60 61 62 63 70 f0  f1 f2 f3 f4 f5 f6
val 00 01 02 90 02 30 00 80  00 00 00 40 00 ff
def 00 00 02 90 02 30 09 00  00 00 00 00 NA NA

instead of (trailing spaces here manually marked with '_')

LDN 0x04 (Environment controller)
idx 2b 30 60 61 62 63 70 f0 f1 f2 f3 f4 f5 f6_
val 00 01 02 90 02 30 00 80 00 00 00 40 00 ff_
def 00 00 02 90 02 30 09 00 00 00 00 00 NA NA_

as the lines get longer the grouping gets increasingly more helpfull.

Greetings,
Frieder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_group_by_8.patch
Type: text/x-patch
Size: 1676 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20071111/abcaab9b/attachment.patch>


More information about the coreboot mailing list