aboutsummaryrefslogtreecommitdiffstats
path: root/UefiLessonsPkg/Include/CustomPcdTypes.h
diff options
context:
space:
mode:
authorKonstantin Aladyshev <aladyshev22@gmail.com>2022-08-05 16:53:29 +0300
committerKonstantin Aladyshev <aladyshev22@gmail.com>2022-08-05 16:53:29 +0300
commite26e327f7e3d27264e1986969a981ecd4d4ea116 (patch)
tree33d052ff91840147e74836d0c3f5800726540906 /UefiLessonsPkg/Include/CustomPcdTypes.h
parent557f0954c053d3d1ea1c6497bac1aebf3fb72acf (diff)
downloadUEFI-Lessons-e26e327f7e3d27264e1986969a981ecd4d4ea116.tar.gz
UEFI-Lessons-e26e327f7e3d27264e1986969a981ecd4d4ea116.tar.bz2
UEFI-Lessons-e26e327f7e3d27264e1986969a981ecd4d4ea116.zip
Update PCDLesson source
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
Diffstat (limited to 'UefiLessonsPkg/Include/CustomPcdTypes.h')
-rw-r--r--UefiLessonsPkg/Include/CustomPcdTypes.h23
1 files changed, 23 insertions, 0 deletions
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