From e26e327f7e3d27264e1986969a981ecd4d4ea116 Mon Sep 17 00:00:00 2001 From: Konstantin Aladyshev Date: Fri, 5 Aug 2022 16:53:29 +0300 Subject: Update PCDLesson source Signed-off-by: Konstantin Aladyshev --- UefiLessonsPkg/Include/CustomPcdTypes.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 UefiLessonsPkg/Include/CustomPcdTypes.h (limited to 'UefiLessonsPkg/Include') diff --git a/UefiLessonsPkg/Include/CustomPcdTypes.h b/UefiLessonsPkg/Include/CustomPcdTypes.h new file mode 100644 index 0000000..0b9eab0 --- /dev/null +++ b/UefiLessonsPkg/Include/CustomPcdTypes.h @@ -0,0 +1,23 @@ +#ifndef CUSTOM_PCD_TYPES_H +#define CUSTOM_PCD_TYPES_H + +typedef struct { + EFI_GUID Guid; + CHAR16 Name[6]; +} InnerCustomStruct; + +typedef struct { + UINT8 Val8; + UINT32 Val32[2]; + InnerCustomStruct ValStruct; + union { + struct { + UINT8 Field1:1; + UINT8 Field2:4; + UINT8 Filed3:3; + } BitFields; + UINT8 Byte; + } ValUnion; +} CustomStruct; + +#endif -- cgit v1.2.3-18-g5258