mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 15:53:45 +08:00
Sysman: add firmware flash API (#1368)
* Sysman: add firmware flash API Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com> * Sysman: fixed windows implementation of firmware flash API. Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com> * add unit tests to test flashing. Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com> * sysman: add firmware flashing support to zello sysman Signed-off-by: T J Vivek Vilvaraj <t.j.vivek.vilvaraj@intel.com> * sysman: added progress update function to firmware flash API Signed-off-by: T J Vivek Vilvaraj <t.j.vivek.vilvaraj@intel.com>
This commit is contained in:
committed by
GitHub
parent
8c2cb54a3f
commit
b41a8d29dd
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2020 Intel Corporation
|
||||
* Copyright (C) 2020-2021 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -22,6 +22,7 @@ class Firmware : _zes_firmware_handle_t {
|
||||
public:
|
||||
virtual ~Firmware() {}
|
||||
virtual ze_result_t firmwareGetProperties(zes_firmware_properties_t *pProperties) = 0;
|
||||
virtual ze_result_t firmwareFlash(void *pImage, uint32_t size) = 0;
|
||||
|
||||
inline zes_firmware_handle_t toHandle() { return this; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user