summaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
authorcyang29 <cheng.c.yang@intel.com>2018-11-07 05:34:04 +0300
committercyang29 <cheng.c.yang@intel.com>2018-11-08 04:10:19 +0300
commit4190ed5140d1aaed4ee6282f660b6a09d5ffc5bd (patch)
treed3c04ac8fa5c72a5ca8e6f27c9af2a7c49e9f321 /services
parent9d43c8887b2bb3ce677e3cee253cb55a7af18897 (diff)
downloadprovingground-4190ed5140d1aaed4ee6282f660b6a09d5ffc5bd.tar.xz
Change the location of smbios table
Change the location of smbios table in BMC according to the same place of ipmi command. Also change default timeout. Change-Id: I1a8accbe053b9cc31994b3c246d3c2a37813411b Signed-off-by: cyang29 <cheng.c.yang@intel.com>
Diffstat (limited to 'services')
-rw-r--r--services/smbios-mdrv2/include/smbios_mdrv2.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/services/smbios-mdrv2/include/smbios_mdrv2.hpp b/services/smbios-mdrv2/include/smbios_mdrv2.hpp
index 191b2a2..a86fdef 100644
--- a/services/smbios-mdrv2/include/smbios_mdrv2.hpp
+++ b/services/smbios-mdrv2/include/smbios_mdrv2.hpp
@@ -18,8 +18,8 @@
#include <array>
-static constexpr const char *mdrType2File = "/etc/smbios/smbios2";
-static constexpr const char *smbiosPath = "/etc/smbios";
+static constexpr const char *mdrType2File = "/var/lib/smbios/smbios2";
+static constexpr const char *smbiosPath = "/var/lib/smbios";
static constexpr uint16_t mdrSMBIOSSize = 32 * 1024;
@@ -43,7 +43,7 @@ constexpr uint32_t smbiosTableTimestamp = 0x45464748;
constexpr uint32_t smbiosSMMemoryOffset = 0;
constexpr uint32_t smbiosSMMemorySize = 1024 * 1024;
constexpr uint32_t smbiosTableStorageSize = 64 * 1024;
-constexpr uint32_t defaultTimeout = 2000;
+constexpr uint32_t defaultTimeout = 20000;
enum class MDR2SMBIOSStatusEnum
{