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:
15
15
- cmake --build build --config Release --parallel
16
16
17
17
after_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
19
19
artifacts :
20
20
- 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;
303
303
constexpr auto IA32_QM_EVTSEL = 0xc8d ;
304
304
constexpr auto IA32_QM_CTR = 0xc8e ;
305
305
306
+ #ifndef KERNEL
306
307
constexpr auto PCM_INVALID_QOS_MONITORING_DATA = (std::numeric_limits<uint64>::max)();
308
+ #endif
307
309
308
310
/* \brief Event Select Register format
309
311
@@ -1445,7 +1447,9 @@ struct ICX_IIOPMUCNTCTLRegister
1445
1447
1446
1448
constexpr auto MSR_PACKAGE_THERM_STATUS = 0x01B1 ;
1447
1449
constexpr auto MSR_IA32_THERM_STATUS = 0x019C ;
1450
+ #ifndef KERNEL
1448
1451
constexpr auto PCM_INVALID_THERMAL_HEADROOM = (std::numeric_limits<int32_t >::min)();
1452
+ #endif
1449
1453
1450
1454
constexpr auto MSR_IA32_BIOS_SIGN_ID = 0x8B ;
1451
1455
Original file line number Diff line number Diff line change 27
27
#endif
28
28
29
29
#ifndef _MSC_VER
30
+ #include < unistd.h>
30
31
#include < csignal>
31
32
#include < ctime>
32
33
#include < cmath>
39
40
#ifdef __linux__
40
41
#include < unistd.h>
41
42
#endif
42
-
43
43
namespace pcm {
44
44
std::string safe_getenv (const char * env);
45
45
}
You can’t perform that action at this time.
0 commit comments