2025-03-18 18:19:14 +00:00
|
|
|
/*
|
|
|
|
|
* Copyright (C) 2025 Intel Corporation
|
|
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
2025-05-20 12:12:47 +00:00
|
|
|
#include "shared/source/built_ins/sip_kernel_type.h"
|
2025-03-18 18:19:14 +00:00
|
|
|
#include "shared/source/helpers/non_copyable_or_moveable.h"
|
|
|
|
|
#include "shared/source/os_interface/os_library.h"
|
|
|
|
|
|
|
|
|
|
#include <memory>
|
|
|
|
|
#include <string>
|
2025-05-20 12:12:47 +00:00
|
|
|
#include <vector>
|
2025-03-18 18:19:14 +00:00
|
|
|
|
|
|
|
|
namespace NEO {
|
2025-05-20 12:12:47 +00:00
|
|
|
class Device;
|
2025-03-18 18:19:14 +00:00
|
|
|
|
|
|
|
|
class SipExternalLib : NonCopyableAndNonMovableClass {
|
|
|
|
|
public:
|
|
|
|
|
virtual ~SipExternalLib() {}
|
|
|
|
|
static SipExternalLib *getSipExternalLibInstance();
|
2025-05-20 12:12:47 +00:00
|
|
|
virtual int getSipKernelBinary(NEO::Device &device, SipKernelType type, std::vector<char> &retBinary, std::vector<char> &stateSaveAreaHeader) = 0;
|
2025-03-18 18:19:14 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // namespace NEO
|