File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ build_script:
1515- cmake --build build --config Release --parallel
1616
1717after_build :
18- - cmd : 7z a pcm-all.zip %APPVEYOR_BUILD_FOLDER%\build\bin\Release\*.exe %APPVEYOR_BUILD_FOLDER%\build\bin\Release\*.dll %APPVEYOR_BUILD_FOLDER%\build\src\Release\*.lib %APPVEYOR_BUILD_FOLDER%\build\src\Release\*.exp
18+ - cmd : 7z a pcm-all.zip %APPVEYOR_BUILD_FOLDER%\build\bin\Release\*.exe %APPVEYOR_BUILD_FOLDER%\build\bin\Release\*.dll %APPVEYOR_BUILD_FOLDER%\build\src\Release\*.lib %APPVEYOR_BUILD_FOLDER%\build\src\Release\*.exp %APPVEYOR_BUILD_FOLDER%\src\windows\PCM-Service.exe.config
1919artifacts :
2020- path : pcm-all.zip
21- name : pcm-all
21+ name : pcm-all
Original file line number Diff line number Diff line change @@ -303,7 +303,9 @@ constexpr auto IA32_PQR_ASSOC = 0xc8f;
303303constexpr auto IA32_QM_EVTSEL = 0xc8d ;
304304constexpr auto IA32_QM_CTR = 0xc8e ;
305305
306+ #ifndef KERNEL
306307constexpr auto PCM_INVALID_QOS_MONITORING_DATA = (std::numeric_limits<uint64>::max)();
308+ #endif
307309
308310/* \brief Event Select Register format
309311
@@ -1445,7 +1447,9 @@ struct ICX_IIOPMUCNTCTLRegister
14451447
14461448constexpr auto MSR_PACKAGE_THERM_STATUS = 0x01B1 ;
14471449constexpr auto MSR_IA32_THERM_STATUS = 0x019C ;
1450+ #ifndef KERNEL
14481451constexpr auto PCM_INVALID_THERMAL_HEADROOM = (std::numeric_limits<int32_t >::min)();
1452+ #endif
14491453
14501454constexpr auto MSR_IA32_BIOS_SIGN_ID = 0x8B ;
14511455
Original file line number Diff line number Diff line change 2727#endif
2828
2929#ifndef _MSC_VER
30+ #include < unistd.h>
3031#include < csignal>
3132#include < ctime>
3233#include < cmath>
3940#ifdef __linux__
4041#include < unistd.h>
4142#endif
42-
4343namespace pcm {
4444 std::string safe_getenv (const char * env);
4545}
You can’t perform that action at this time.
0 commit comments