mirror of
https://github.com/ipxe/ipxe
synced 2025-12-25 09:01:24 +03:00
[settings] Force settings into alphabetical order within sections
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -251,22 +251,24 @@ struct init_fn cpuid_settings_init_fn __init_fn ( INIT_NORMAL ) = {
|
||||
.initialise = cpuid_settings_init,
|
||||
};
|
||||
|
||||
/** CPUID predefined settings */
|
||||
const struct setting cpuid_predefined_settings[] __setting ( SETTING_HOST_EXTRA ) = {
|
||||
{
|
||||
.name = "cpuvendor",
|
||||
.description = "CPU vendor",
|
||||
.tag = CPUID_TAG ( CPUID_VENDOR_ID, 1, 1, 3,
|
||||
CPUID_EBX, CPUID_EDX, CPUID_ECX, 0 ),
|
||||
.type = &setting_type_string,
|
||||
.scope = &cpuid_settings_scope,
|
||||
},
|
||||
{
|
||||
.name = "cpumodel",
|
||||
.description = "CPU model",
|
||||
.tag = CPUID_TAG ( CPUID_MODEL, 3, 1, 4,
|
||||
CPUID_EAX, CPUID_EBX, CPUID_ECX, CPUID_EDX ),
|
||||
.type = &setting_type_string,
|
||||
.scope = &cpuid_settings_scope,
|
||||
},
|
||||
/** CPU vendor setting */
|
||||
const struct setting cpuvendor_setting __setting ( SETTING_HOST_EXTRA,
|
||||
cpuvendor ) = {
|
||||
.name = "cpuvendor",
|
||||
.description = "CPU vendor",
|
||||
.tag = CPUID_TAG ( CPUID_VENDOR_ID, 1, 1, 3,
|
||||
CPUID_EBX, CPUID_EDX, CPUID_ECX, 0 ),
|
||||
.type = &setting_type_string,
|
||||
.scope = &cpuid_settings_scope,
|
||||
};
|
||||
|
||||
/** CPU model setting */
|
||||
const struct setting cpumodel_setting __setting ( SETTING_HOST_EXTRA,
|
||||
cpumodel ) = {
|
||||
.name = "cpumodel",
|
||||
.description = "CPU model",
|
||||
.tag = CPUID_TAG ( CPUID_MODEL, 3, 1, 4,
|
||||
CPUID_EAX, CPUID_EBX, CPUID_ECX, CPUID_EDX ),
|
||||
.type = &setting_type_string,
|
||||
.scope = &cpuid_settings_scope,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user