core,common: Give memory layout setting an enum
Allows for 6GB and 8GB layouts to be selected.
This commit is contained in:
parent
ff6a5031d5
commit
127b3da0f1
4 changed files with 31 additions and 9 deletions
|
@ -153,8 +153,12 @@ struct Values {
|
|||
|
||||
// Core
|
||||
SwitchableSetting<bool> use_multi_core{linkage, true, "use_multi_core", Category::Core};
|
||||
SwitchableSetting<bool> use_unsafe_extended_memory_layout{
|
||||
linkage, false, "use_unsafe_extended_memory_layout", Category::Core};
|
||||
SwitchableSetting<MemoryLayout, true> memory_layout_mode{linkage,
|
||||
MemoryLayout::Memory_4Gb,
|
||||
MemoryLayout::Memory_4Gb,
|
||||
MemoryLayout::Memory_8Gb,
|
||||
"memory_layout_mode",
|
||||
Category::Core};
|
||||
SwitchableSetting<bool> use_speed_limit{
|
||||
linkage, true, "use_speed_limit", Category::Core, Specialization::Paired, false, true};
|
||||
SwitchableSetting<u16, true> speed_limit{linkage,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue