Files
compute-runtime/level_zero/sysman/source/firmware/sysman_firmware_imp.h
shubham kumar 501c8e87d7 fix: rename files under sysman to make them unique
Related-To: LOCI-4383

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2023-05-30 10:23:15 +02:00

35 lines
935 B
C++

/*
* Copyright (C) 2020-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "shared/source/helpers/non_copyable_or_moveable.h"
#include "shared/source/helpers/string.h"
#include "level_zero/sysman/source/firmware/sysman_firmware.h"
#include "level_zero/sysman/source/firmware/sysman_os_firmware.h"
#include <level_zero/zes_api.h>
namespace L0 {
namespace Sysman {
class OsFirmware;
class FirmwareImp : public Firmware, NEO::NonCopyableOrMovableClass {
public:
ze_result_t firmwareGetProperties(zes_firmware_properties_t *pProperties) override;
ze_result_t firmwareFlash(void *pImage, uint32_t size) override;
FirmwareImp() = default;
FirmwareImp(OsSysman *pOsSysman, const std::string &fwType);
~FirmwareImp() override;
std::unique_ptr<OsFirmware> pOsFirmware = nullptr;
std::string fwType = "Unknown";
void init();
};
} // namespace Sysman
} // namespace L0