mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
Update recent changes in ManageabilityPkg to follow the latest EDK II C Coding Standards Specification (5.3) to use '#pragma once' instead of traditional macro-based include guards in header files. https://tianocore-docs.github.io/edk2-CCodingStandardsSpecification/draft/5_source_files/53_include_files.html#53-include-files Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
38 lines
1,016 B
C
38 lines
1,016 B
C
/** @file
|
|
|
|
This file defines the manageability IPMI protocol specific transport data.
|
|
|
|
Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved.<BR>
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
**/
|
|
|
|
#pragma once
|
|
|
|
#include <Library/ManageabilityTransportLib.h>
|
|
|
|
///
|
|
/// The IPMI command header which is apart from
|
|
/// the payload.
|
|
///
|
|
typedef struct {
|
|
UINT8 Lun : 2;
|
|
UINT8 NetFn : 6;
|
|
UINT8 Command;
|
|
} MANAGEABILITY_IPMI_TRANSPORT_HEADER;
|
|
|
|
///
|
|
/// Unless otherwise specified, commands that are listed as mandatory must be accessed
|
|
/// via LUN 00b.
|
|
///
|
|
#define MANAGEABILITY_IPMI_BMC_LUN 0
|
|
|
|
#define MANAGEABILITY_IPMI_NET_FUNC_MAX 0x3F
|
|
|
|
///
|
|
/// The IPMI Completion Code mapping.
|
|
///
|
|
typedef struct {
|
|
UINT8 CompletionCode;
|
|
CHAR16 *CompletionCodeString;
|
|
MANAGEABILITY_TRANSPORT_ADDITIONAL_STATUS AdditionalStatus;
|
|
} MANAGEABILITY_IPMI_COMPLETTION_CODE_MAPPING;
|