The following patch set adds user-friendly features to the settings
user interface, transforming the "config" command into a settings
browser capable of navigating the configuration hierarchy, highlighting
variables set at the current level while still showing inheritted values,
and alerting the user of attempts to edit read-only variables.
Details are included in each patch, and screenshots will follow.

In total, these patches require 768 bytes (uncompressed), and I leave
it to the gPXE maintainers to judge if the cost is acceptable.  The
cost per-patch is as follows:

abfca7e [settings] Introduce TAG_TYPE().
text    data    bss     filename
----    ----    ---     --------
6       -       -       bin/smbios_settings.o

8d75f17 [settings] Add optionally-recursive fetch_setting_ex().
text    data    bss     filename
----    ----    ---     --------
21      -       -       bin/settings.o

7b009c8 [settings_ui] Display only relevant settings.
text    data    bss     filename
----    ----    ---     --------
129     -       -       bin/settings_ui.o

3375845 [settings_ui] Highlight locally-set variables.
text    data    bss     filename
----    ----    ---     --------
157     -       -       bin/settings_ui.o

c447594 [settings] Export settings_name()
text    data    bss     filename
----    ----    ---     --------
88      -       16      bin/settings.o

1e780dc [settings_ui] Add hierarchy navigation.
text    data    bss     filename
----    ----    ---     --------
367     -       -       bin/settings_ui.o

Thanks to Michael Brown for the settings tag description on this list.
Michael will likely want to comment on the first patch in the set.

--Glenn
_______________________________________________
gPXE-devel mailing list
gPXE-devel@etherboot.org
http://etherboot.org/mailman/listinfo/gpxe-devel

Reply via email to