TianoCore EDK2 master
Loading...
Searching...
No Matches
Pldm.h File Reference

Go to the source code of this file.

Data Structures

struct  PLDM_MESSAGE_HEADER
 
struct  PLDM_RESPONSE_HEADER
 

Macros

#define PLDM_MESSAGE_HEADER_VERSION   0
 
#define PLDM_MESSAGE_HEADER_IS_REQUEST   1
 
#define PLDM_MESSAGE_HEADER_IS_RESPONSE   0
 
#define PLDM_MESSAGE_HEADER_IS_DATAGRAM   1
 
#define PLDM_MESSAGE_HEADER_INSTANCE_ID_MASK   0x1f
 
#define PLDM_HEADER_VERSION   0x00
 
#define PLDM_COMPLETION_CODE_SUCCESS   0x00
 
#define PLDM_COMPLETION_CODE_ERROR   0x01
 
#define PLDM_COMPLETION_CODE_ERROR_INVALID_DATA   0x02
 
#define PLDM_COMPLETION_CODE_ERROR_INVALID_LENGTH   0x03
 
#define PLDM_COMPLETION_CODE_ERROR_NOT_READY   0x04
 
#define PLDM_COMPLETION_CODE_ERROR_UNSUPPORTED_PLDM_CMD   0x05
 
#define PLDM_COMPLETION_CODE_ERROR_INVALID_PLDM_TYPE   0x20
 
#define PLDM_COMPLETION_CODE_SPECIFIC_START   0x80
 
#define PLDM_COMPLETION_CODE_SPECIFIC_END   0xff
 
#define PLDM_TYPE_MESSAGE_CONTROL_AND_DISCOVERY   0x00
 
#define PLDM_TYPE_SMBIOS   0x01
 
#define PLDM_TYPE_PLATFORM_MONITORING_AND_CONTROL   0x02
 
#define PLDM_TYPE_BIOS_CONTROL_AND_CONFIGURATION   0x03
 
#define PLDM_TRANSFER_FLAG_START   0x01
 
#define PLDM_TRANSFER_FLAG_MIDDLE   0x02
 
#define PLDM_TRANSFER_FLAG_END   0x04
 
#define PLDM_TRANSFER_FLAG_START_AND_END   0x05
 
#define PLDM_TRANSFER_OPERATION_FLAG_GET_NEXT_PART   0x00
 
#define PLDM_TRANSFER_OPERATION_FLAG_GET_FIRST_PART   0x01
 

Typedefs

typedef PLDM_MESSAGE_HEADER PLDM_REQUEST_HEADER
 

Detailed Description

The definitions of DMTF Platform Level Data Model (PLDM) Base Specification.

Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent

Revision Reference:
DMTF Platform Level Data Model (PLDM) Base Specification Version 1.1.0 https://www.dmtf.org/sites/default/files/standards/documents/DSP0240_1.1.0.pdf

Definition in file Pldm.h.

Macro Definition Documentation

◆ PLDM_COMPLETION_CODE_ERROR

#define PLDM_COMPLETION_CODE_ERROR   0x01

Definition at line 57 of file Pldm.h.

◆ PLDM_COMPLETION_CODE_ERROR_INVALID_DATA

#define PLDM_COMPLETION_CODE_ERROR_INVALID_DATA   0x02

Definition at line 58 of file Pldm.h.

◆ PLDM_COMPLETION_CODE_ERROR_INVALID_LENGTH

#define PLDM_COMPLETION_CODE_ERROR_INVALID_LENGTH   0x03

Definition at line 59 of file Pldm.h.

◆ PLDM_COMPLETION_CODE_ERROR_INVALID_PLDM_TYPE

#define PLDM_COMPLETION_CODE_ERROR_INVALID_PLDM_TYPE   0x20

Definition at line 62 of file Pldm.h.

◆ PLDM_COMPLETION_CODE_ERROR_NOT_READY

#define PLDM_COMPLETION_CODE_ERROR_NOT_READY   0x04

Definition at line 60 of file Pldm.h.

◆ PLDM_COMPLETION_CODE_ERROR_UNSUPPORTED_PLDM_CMD

#define PLDM_COMPLETION_CODE_ERROR_UNSUPPORTED_PLDM_CMD   0x05

Definition at line 61 of file Pldm.h.

◆ PLDM_COMPLETION_CODE_SPECIFIC_END

#define PLDM_COMPLETION_CODE_SPECIFIC_END   0xff

Definition at line 64 of file Pldm.h.

◆ PLDM_COMPLETION_CODE_SPECIFIC_START

#define PLDM_COMPLETION_CODE_SPECIFIC_START   0x80

Definition at line 63 of file Pldm.h.

◆ PLDM_COMPLETION_CODE_SUCCESS

#define PLDM_COMPLETION_CODE_SUCCESS   0x00

Definition at line 56 of file Pldm.h.

◆ PLDM_HEADER_VERSION

#define PLDM_HEADER_VERSION   0x00

Definition at line 54 of file Pldm.h.

◆ PLDM_MESSAGE_HEADER_INSTANCE_ID_MASK

#define PLDM_MESSAGE_HEADER_INSTANCE_ID_MASK   0x1f

Definition at line 45 of file Pldm.h.

◆ PLDM_MESSAGE_HEADER_IS_DATAGRAM

#define PLDM_MESSAGE_HEADER_IS_DATAGRAM   1

Definition at line 44 of file Pldm.h.

◆ PLDM_MESSAGE_HEADER_IS_REQUEST

#define PLDM_MESSAGE_HEADER_IS_REQUEST   1

Definition at line 42 of file Pldm.h.

◆ PLDM_MESSAGE_HEADER_IS_RESPONSE

#define PLDM_MESSAGE_HEADER_IS_RESPONSE   0

Definition at line 43 of file Pldm.h.

◆ PLDM_MESSAGE_HEADER_VERSION

#define PLDM_MESSAGE_HEADER_VERSION   0

Definition at line 21 of file Pldm.h.

◆ PLDM_TRANSFER_FLAG_END

#define PLDM_TRANSFER_FLAG_END   0x04

Definition at line 78 of file Pldm.h.

◆ PLDM_TRANSFER_FLAG_MIDDLE

#define PLDM_TRANSFER_FLAG_MIDDLE   0x02

Definition at line 77 of file Pldm.h.

◆ PLDM_TRANSFER_FLAG_START

#define PLDM_TRANSFER_FLAG_START   0x01

Definition at line 76 of file Pldm.h.

◆ PLDM_TRANSFER_FLAG_START_AND_END

#define PLDM_TRANSFER_FLAG_START_AND_END   0x05

Definition at line 79 of file Pldm.h.

◆ PLDM_TRANSFER_OPERATION_FLAG_GET_FIRST_PART

#define PLDM_TRANSFER_OPERATION_FLAG_GET_FIRST_PART   0x01

Definition at line 82 of file Pldm.h.

◆ PLDM_TRANSFER_OPERATION_FLAG_GET_NEXT_PART

#define PLDM_TRANSFER_OPERATION_FLAG_GET_NEXT_PART   0x00

Definition at line 81 of file Pldm.h.

◆ PLDM_TYPE_BIOS_CONTROL_AND_CONFIGURATION

#define PLDM_TYPE_BIOS_CONTROL_AND_CONFIGURATION   0x03

Definition at line 74 of file Pldm.h.

◆ PLDM_TYPE_MESSAGE_CONTROL_AND_DISCOVERY

#define PLDM_TYPE_MESSAGE_CONTROL_AND_DISCOVERY   0x00

Type Code definitions from Platform Level Data Model (PLDM) IDs and Codes Specification (DMTF DSP0245) https://www.dmtf.org/sites/default/files/standards/documents/DSP0245_1.3.0.pdf

Definition at line 71 of file Pldm.h.

◆ PLDM_TYPE_PLATFORM_MONITORING_AND_CONTROL

#define PLDM_TYPE_PLATFORM_MONITORING_AND_CONTROL   0x02

Definition at line 73 of file Pldm.h.

◆ PLDM_TYPE_SMBIOS

#define PLDM_TYPE_SMBIOS   0x01

Definition at line 72 of file Pldm.h.

Typedef Documentation

◆ PLDM_REQUEST_HEADER

Definition at line 40 of file Pldm.h.