mirror of
https://github.com/ipxe/ipxe
synced 2025-12-23 05:21:49 +03:00
[settings] Impose a fixed order on settings
Improve the appearance of the "config" user interface by ensuring that settings appear in some kind of logical order. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -165,7 +165,7 @@ struct init_fn smbios_init_fn __init_fn ( INIT_NORMAL ) = {
|
||||
};
|
||||
|
||||
/** UUID setting obtained via SMBIOS */
|
||||
struct setting uuid_setting __setting = {
|
||||
struct setting uuid_setting __setting ( SETTING_HOST ) = {
|
||||
.name = "uuid",
|
||||
.description = "UUID",
|
||||
.tag = SMBIOS_RAW_TAG ( SMBIOS_TYPE_SYSTEM_INFORMATION,
|
||||
@@ -174,7 +174,7 @@ struct setting uuid_setting __setting = {
|
||||
};
|
||||
|
||||
/** Other SMBIOS named settings */
|
||||
struct setting smbios_named_settings[] __setting = {
|
||||
struct setting smbios_named_settings[] __setting ( SETTING_HOST_EXTRA ) = {
|
||||
{
|
||||
.name = "manufacturer",
|
||||
.description = "Manufacturer",
|
||||
|
||||
Reference in New Issue
Block a user