VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/MdePkg/Include/IndustryStandard/IpmiNetFnGroupExtension.h

Last change on this file was 108794, checked in by vboxsync, 3 weeks ago

Devices/EFI/FirmwareNew: Merge edk2-stable202502 from the vendor branch and make it build for the important platforms, bugref:4643

  • Property svn:eol-style set to native
File size: 2.7 KB
Line 
1/** @file
2 IPMI 2.0 definitions from the IPMI Specification Version 2.0, Revision 1.1.
3
4 Copyright (c) 1999 - 2015, Intel Corporation. All rights reserved.<BR>
5 Copyright (c) 2024, Ampere Computing LLC. All rights reserved.<BR>
6 SPDX-License-Identifier: BSD-2-Clause-Patent
7
8 @par Revision Reference:
9 - Arm Server Base Manageability Requirements (SBMR) Specification
10 Revision 2.0d, Section F
11 https://developer.arm.com/documentation/den0069
12
13**/
14
15#ifndef _IPMI_NET_FN_GROUP_EXTENSION_H_
16#define _IPMI_NET_FN_GROUP_EXTENSION_H_
17
18#include <Pi/PiStatusCode.h>
19
20//
21// Net function definition for Group Extension command
22//
23#define IPMI_NETFN_GROUP_EXT 0x2C
24
25//
26// All Group Extension commands and their structure definitions to follow here
27//
28
29///
30/// Constants and structure definitions for Boot Progress Codes
31///
32/// See Section F of the Arm Server Base Manageability Requirements 2.0 specification,
33/// https://developer.arm.com/documentation/den0069
34///
35
36#pragma pack(1)
37//
38// Definitions for send progress code command
39//
40#define IPMI_GROUP_EXTENSION_BOOT_PROGRESS_CODE_SEND 0x02
41
42//
43// Definitions for get progress code command
44//
45#define IPMI_GROUP_EXTENSION_BOOT_PROGRESS_CODE_GET 0x03
46
47//
48// Definitions for send and get progress code command response
49//
50#define IPMI_GROUP_EXTENSION_BOOT_PROGRESS_CODE_COMPLETED_NORMALLY 0x00
51#define IPMI_GROUP_EXTENSION_BOOT_PROGRESS_CODE_COMPLETED_ERROR 0x80
52#define IPMI_GROUP_EXTENSION_BOOT_PROGRESS_CODE_DEFINING_BODY 0xAE
53
54//
55// Structure for the format of the boot progress code data
56// See Table 29: SBMR Boot Progress Codes format
57//
58typedef struct {
59 EFI_STATUS_CODE_TYPE CodeType;
60 EFI_STATUS_CODE_VALUE CodeValue;
61 UINT8 Instance;
62} IPMI_GROUP_EXTENSION_BOOT_PROGRESS_CODE_FORMAT;
63
64//
65// Structure for the boot progress code send request
66//
67typedef struct {
68 UINT8 DefiningBody;
69 IPMI_GROUP_EXTENSION_BOOT_PROGRESS_CODE_FORMAT BootProgressCode;
70} IPMI_GROUP_EXTENSION_BOOT_PROGRESS_CODE_SEND_REQUEST;
71
72//
73// Structure for the boot progress code send response
74//
75typedef struct {
76 UINT8 CompletionCode;
77 UINT8 DefiningBody;
78} IPMI_GROUP_EXTENSION_BOOT_PROGRESS_CODE_SEND_RESPONSE;
79
80//
81// Structure for the boot progress code get request
82//
83typedef struct {
84 UINT8 DefiningBody;
85} IPMI_GROUP_EXTENSION_BOOT_PROGRESS_CODE_GET_REQUEST;
86
87//
88// Structure for the boot progress code get response
89//
90typedef struct {
91 UINT8 CompletionCode;
92 UINT8 DefiningBody;
93 IPMI_GROUP_EXTENSION_BOOT_PROGRESS_CODE_FORMAT BootProgressCode;
94} IPMI_GROUP_EXTENSION_BOOT_PROGRESS_CODE_GET_RESPONSE;
95#pragma pack()
96
97#endif
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette