[ipxe-devel] iPXE: Coloring of debug output

Heinrich Schuchardt xypron.glpk at gmx.de
Mon Dec 4 17:15:17 UTC 2017


Hello Michael,

the colors used by iPXE seem to depend on random addresses:

interface/efi/efi_wrap.c:47:#define colour &efi_systab_wrapper
interface/efi/efi_timer.c:53:#define colour &efi_jiffies
arch/x86/core/runtime.c:84:#define colour &cmdline_image
arch/x86/core/cachedhcp.c:48:#define colour &cached_dhcpack_phys
arch/x86/core/rdtsc_timer.c:57:#define colour &tsc_per_us

The actual colors did not help me to better understand the output.

Wouldn't it be preferable to use the severity of the message for color
coding?

Best regards

Heinrich



More information about the ipxe-devel mailing list