2020-12-05 13:08:24 +01:00
|
|
|
#include "stdafx.h"
|
2020-02-15 23:36:20 +01:00
|
|
|
#include "system_config.h"
|
2020-12-18 10:55:54 +01:00
|
|
|
|
|
|
|
|
#include "util/sysinfo.hpp"
|
2020-02-15 23:36:20 +01:00
|
|
|
|
2021-04-03 18:38:02 +02:00
|
|
|
cfg_root g_cfg{};
|
2023-01-21 00:53:49 +01:00
|
|
|
cfg_root g_backup_cfg{};
|
2020-02-15 23:36:20 +01:00
|
|
|
|
2021-11-05 16:32:13 +01:00
|
|
|
bool cfg_root::node_core::enable_tsx_by_default()
|
2020-05-18 15:02:44 +02:00
|
|
|
{
|
2021-11-05 16:32:13 +01:00
|
|
|
return utils::has_rtm() && utils::has_mpx() && !utils::has_tsx_force_abort();
|
2020-05-18 15:02:44 +02:00
|
|
|
}
|