From 143e4441ed678875f8e499ceb0a801df85dd9dce Mon Sep 17 00:00:00 2001 From: Yeoreum Yun Date: Sun, 5 Jul 2026 18:39:48 +0100 Subject: [PATCH] MdePkg: SMBIOS: add RiscV processor specific block structure Add definitions for RiscV processor specific block structure. Signed-off-by: Yeoreum Yun --- MdePkg/Include/IndustryStandard/SmBios.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/MdePkg/Include/IndustryStandard/SmBios.h b/MdePkg/Include/IndustryStandard/SmBios.h index 67a1aa487d..a26f3d2f8e 100644 --- a/MdePkg/Include/IndustryStandard/SmBios.h +++ b/MdePkg/Include/IndustryStandard/SmBios.h @@ -3030,6 +3030,26 @@ typedef struct X86ProcessorSpecificBlock { UINT32 UseConditionAttributes; } X86_PROCESSOR_SPECIFIC_BLOCK; +/// +/// RiscV processor specific Block. +/// +typedef struct RiscVProcessorSpecificBlock { + /// Revision + UINT16 Revision; + + /// The ID of this RISC-V hart. + UINT64 HartId; + + /// Vendor ID. + UINT64 VendorId; + + /// Machine Architecture ID. + UINT64 ArchId; + + /// Machine Implementation ID. + UINT64 ImplId; +} RISCV_PROCESSOR_SPECIFIC_BLOCK; + /// /// Processor Additional Information(Type 44). ///