Skip to content

Commit

Permalink
Add sysman API to retrieve firmware console logs
Browse files Browse the repository at this point in the history
Resolves: #277

Signed-off-by: Kumar, Sanil <sanil.kumar@intel.com>
  • Loading branch information
sanilkumar0 authored Feb 1, 2024
1 parent a0ef5c8 commit a25a9ec
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions scripts/sysman/firmware.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,27 @@ params:
name: pCompletionPercent
desc: "[in,out] Pointer to the Completion Percentage of Firmware Update"
--- #--------------------------------------------------------------------------
type: function
desc: "Get Firmware Console Logs"
version: "1.9"
class: $sFirmware
name: GetConsoleLogs
details:
- "The caller may pass nullptr for pFirmwareLog and set pSize to zero when querying only for size."
- "The caller must provide memory for Firmware log."
- "The application may call this function from simultaneous threads."
- "The implementation of this function should be lock-free."
params:
- type: $s_firmware_handle_t
name: hFirmware
desc: "[in] Handle for the component."
- type: "size_t*"
name: pSize
desc: "[in,out] size of firmware log"
- type: "char*"
name: pFirmwareLog
desc: "[in,out][optional] pointer to null-terminated string of the log."
--- #--------------------------------------------------------------------------
type: class
desc: "C++ wrapper for a Sysman device firmware"
name: $sFirmware
Expand Down

0 comments on commit a25a9ec

Please sign in to comment.