Désactivation du driver Axiomtek de marde

This commit is contained in:
2024-08-27 16:47:41 -04:00
parent eeb7eadaf4
commit 5c8a12d84a
24 changed files with 739 additions and 32 deletions
+11 -3
View File
@@ -1,5 +1,8 @@
#include "ComputerBoardInterface.h"
#include "defines.h"
#ifdef ENABLE_CHIPSET_DRIVER
#include "ComputerBoardInterface.h"
#include "AxUfiAPI.h"
#include "GeneralMessagesLogDispatcher.h"
#include "CPUWatchdogConfig.h"
@@ -13,7 +16,7 @@ CComputerBoardInterface::CComputerBoardInterface()
int CComputerBoardInterface::Init()
{
if(LoadLibrary() == RET_OK)
if(LoadAxiomtekLibrary() == RET_OK)
{
CGeneralMessagesLogDispatcher::instance()->AddLogMessage(QString("Librairie Axiomtek chargée avec succès"),"CComputerBoardInterface",true,1,CGeneralMessagesLogDispatcher::GEN_MSG_TXT_SUCCESS_STATUS);
StopCPUWatchdog();
@@ -27,11 +30,12 @@ int CComputerBoardInterface::Init()
return RET_OK;
}
int CComputerBoardInterface::LoadLibrary()
int CComputerBoardInterface::LoadAxiomtekLibrary()
{
int result, Direction;
Direction = 1;
char libname[] = CPU_LIBRARY_NAME;
// Suppress system error dialogs
result = AxBoardLoadLibrary(libname);
if(result)
{
@@ -62,6 +66,9 @@ int CComputerBoardInterface::DeInit()
{
return RET_OK;
}
#include <windows.h>
int CComputerBoardInterface::StartCPUWatchdog()
{
@@ -182,3 +189,4 @@ CComputerBoardState CComputerBoardInterface::GetComputerBoardState()
return CPUState;
}
#endif