Skip to content

Commit 250011e

Browse files
committed
new definitions from UEFI specs
Signed-off-by: Slice <sergey.slice@gmail.com>
1 parent ff25238 commit 250011e

File tree

5 files changed

+146
-2
lines changed

5 files changed

+146
-2
lines changed

Include/IndustryStandard/ProcessorInfo.h

+3
Original file line numberDiff line numberDiff line change
@@ -213,9 +213,12 @@ enum {
213213
#define CPU_SOCKET_LGA1366 0x19
214214

215215
#define AMD_CPU_FAMILY 0xF
216+
#define AMD_CPU_EXT_FAMILY_0FH 0x0
217+
#define AMD_CPU_EXT_FAMILY_10H 0x1
216218
#define AMD_CPU_EXT_FAMILY_15H 0x6
217219
#define AMD_CPU_EXT_FAMILY_16H 0x7
218220
#define AMD_CPU_EXT_FAMILY_17H 0x8
221+
#define AMD_CPU_EXT_FAMILY_19H 0xA
219222

220223
// CPU_P_STATE_COORDINATION
221224
/// P-State Coordination
+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
/** @file
2+
Guid & data structure used for Device Security.
3+
Copyright (c) 2024, Intel Corporation. All rights reserved.<BR>
4+
SPDX-License-Identifier: BSD-2-Clause-Patent
5+
**/
6+
7+
#ifndef EFI_DEVICE_AUTHENTICATION_GUID_H_
8+
#define EFI_DEVICE_AUTHENTICATION_GUID_H_
9+
10+
/**
11+
This is a signature database for device authentication, instead of image authentication.
12+
The content of the signature database is same as the one in db/dbx. (a list of EFI_SIGNATURE_LIST)
13+
**/
14+
#define EFI_DEVICE_SIGNATURE_DATABASE_GUID \
15+
{0xb9c2b4f4, 0xbf5f, 0x462d, 0x8a, 0xdf, 0xc5, 0xc7, 0xa, 0xc3, 0x5d, 0xad}
16+
#define EFI_DEVICE_SECURITY_DATABASE L"devdb"
17+
18+
extern EFI_GUID gEfiDeviceSignatureDatabaseGuid;
19+
20+
/**
21+
Signature Database:
22+
+---------------------------------------+ <-----------------
23+
| SignatureType (GUID) | |
24+
+---------------------------------------+ |
25+
| SignatureListSize (UINT32) | |
26+
+---------------------------------------+ |
27+
| SignatureHeaderSize (UINT32) | |
28+
+---------------------------------------+ |
29+
| SignatureSize (UINT32) | |-EFI_SIGNATURE_LIST (1)
30+
+---------------------------------------+ |
31+
| SignatureHeader (SignatureHeaderSize) | |
32+
+---------------------------------------+ <-- |
33+
| SignatureOwner (GUID) | | |
34+
+---------------------------------------+ |-EFI_SIGNATURE_DATA (1)
35+
| SignatureData (SignatureSize - 16) | | |
36+
+---------------------------------------+ <-- |
37+
| SignatureOwner (GUID) | | |
38+
+---------------------------------------+ |-EFI_SIGNATURE_DATA (n)
39+
| SignatureData (SignatureSize - 16) | | |
40+
+---------------------------------------+ <-----------------
41+
| SignatureType (GUID) | |
42+
+---------------------------------------+ |
43+
| SignatureListSize (UINT32) | |-EFI_SIGNATURE_LIST (n)
44+
+---------------------------------------+ |
45+
| ... | |
46+
+---------------------------------------+ <-----------------
47+
SignatureType := EFI_CERT_SHAxxx_GUID |
48+
EFI_CERT_RSA2048_GUID |
49+
EFI_CERT_RSA2048_SHAxxx_GUID |
50+
EFI_CERT_X509_GUID |
51+
EFI_CERT_X509_SHAxxx_GUID
52+
(xxx = 256, 384, 512)
53+
**/
54+
55+
#endif

MdePkg/MdePkg.dec

+86
Original file line numberDiff line numberDiff line change
@@ -369,12 +369,18 @@
369369
## Include/Guid/EventGroup.h
370370
gEfiEventReadyToBootGuid = { 0x7CE88FB3, 0x4BD7, 0x4679, { 0x87, 0xA8, 0xA8, 0xD8, 0xDE, 0xE5, 0x0D, 0x2B }}
371371

372+
## Include/Guid/EventGroup.h
373+
gEfiEventAfterReadyToBootGuid = { 0x3a2a00ad, 0x98b9, 0x4cdf, { 0xa4, 0x78, 0x70, 0x27, 0x77, 0xf1, 0xc1, 0x0b }}
374+
372375
## Include/Guid/EventGroup.h
373376
gEfiEventMemoryMapChangeGuid = { 0x78BEE926, 0x692F, 0x48FD, { 0x9E, 0xDB, 0x01, 0x42, 0x2E, 0xF0, 0xD7, 0xAB }}
374377

375378
## Include/Guid/EventGroup.h
376379
gEfiEventVirtualAddressChangeGuid = { 0x13FA7698, 0xC831, 0x49C7, { 0x87, 0xEA, 0x8F, 0x43, 0xFC, 0xC2, 0x51, 0x96 }}
377380

381+
## Include/Guid/EventGroup.h
382+
gEfiEventBeforeExitBootServicesGuid = { 0x8BE0E274, 0x3970, 0x4B44, { 0x80, 0xC5, 0x1A, 0xB9, 0x50, 0x2F, 0x3B, 0xFC }}
383+
378384
## Include/Guid/EventGroup.h
379385
gEfiEventExitBootServicesGuid = { 0x27ABF055, 0xB1B8, 0x4C26, { 0x80, 0x48, 0x74, 0x8F, 0x37, 0xBA, 0xA2, 0xDF }}
380386

@@ -429,6 +435,15 @@
429435
## Include/Guid/Cper.h
430436
gEfiEventNotificationTypeDmarGuid = { 0x667DD791, 0xC6B3, 0x4c27, { 0x8A, 0x6B, 0x0F, 0x8E, 0x72, 0x2D, 0xEB, 0x41 }}
431437

438+
## Include/Guid/Cper.h
439+
gEfiEventNotificationTypeSeaGuid = { 0x9A78788A, 0xBBE8, 0x11E4, { 0x80, 0x9E, 0x67, 0x61, 0x1E, 0x5D, 0x46, 0xB0 }}
440+
441+
## Include/Guid/Cper.h
442+
gEfiEventNotificationTypeSeiGuid = { 0x5C284C81, 0xB0AE, 0x4E87, { 0xA3, 0x22, 0xB0, 0x4C, 0x85, 0x62, 0x43, 0x23 }}
443+
444+
## Include/Guid/Cper.h
445+
gEfiEventNotificationTypePeiGuid = { 0x09A9D5AC, 0x5204, 0x4214, { 0x96, 0xE5, 0x94, 0x99, 0x2E, 0x75, 0x2B, 0xCD }}
446+
432447
## Include/Guid/Cper.h
433448
gEfiProcessorGenericErrorSectionGuid = { 0x9876ccad, 0x47b4, 0x4bdb, { 0xb6, 0x5e, 0x16, 0xf1, 0x93, 0xc4, 0xf3, 0xdb }}
434449

@@ -561,6 +576,7 @@
561576
gEfiRngAlgorithmX9313DesGuid = { 0x63c4785a, 0xca34, 0x4012, {0xa3, 0xc8, 0x0b, 0x6a, 0x32, 0x4f, 0x55, 0x46 }}
562577
gEfiRngAlgorithmX931AesGuid = { 0xacd03321, 0x777e, 0x4d3d, {0xb1, 0xc8, 0x20, 0xcf, 0xd8, 0x88, 0x20, 0xc9 }}
563578
gEfiRngAlgorithmRaw = { 0xe43176d7, 0xb6e8, 0x4827, {0xb7, 0x84, 0x7f, 0xfd, 0xc4, 0xb6, 0x85, 0x61 }}
579+
gEfiRngAlgorithmArmRndr = { 0x43d2fde3, 0x9d4e, 0x4d79, {0x02, 0x96, 0xa8, 0x9b, 0xca, 0x78, 0x08, 0x41 }}
564580

565581
## Include/Protocol/AdapterInformation.h
566582
gEfiAdapterInfoMediaStateGuid = { 0xD7C74207, 0xA831, 0x4A26, {0xB1, 0xF5, 0xD1, 0x93, 0x06, 0x5C, 0xE8, 0xB6 }}
@@ -641,6 +657,32 @@
641657
## Include/Guid/Btt.h
642658
gEfiBttAbstractionGuid = { 0x18633bfc, 0x1735, 0x4217, { 0x8a, 0xc9, 0x17, 0x23, 0x92, 0x82, 0xd3, 0xf8 }}
643659

660+
# GUIDs defined in UEFI2.8
661+
#
662+
## Include/Guid/JsonCapsule.h
663+
gEfiJsonConfigDataTableGuid = { 0x87367f87, 0x1119, 0x41ce, { 0xaa, 0xec, 0x8b, 0xe0, 0x11, 0x1f, 0x55, 0x8a }}
664+
gEfiJsonCapsuleDataTableGuid = { 0x35e7a725, 0x8dd2, 0x4cac, { 0x80, 0x11, 0x33, 0xcd, 0xa8, 0x10, 0x90, 0x56 }}
665+
gEfiJsonCapsuleResultTableGuid = { 0xdbc461c3, 0xb3de, 0x422a, { 0xb9, 0xb4, 0x98, 0x86, 0xfd, 0x49, 0xa1, 0xe5 }}
666+
gEfiJsonCapsuleIdGuid = { 0x67d6f4cd, 0xd6b8, 0x4573, { 0xbf, 0x4a, 0xde, 0x5e, 0x25, 0x2d, 0x61, 0xae }}
667+
668+
## Include/Guid/HiiPlatformSetupFormset.h
669+
gEfiHiiRestStyleFormsetGuid = { 0x790217bd, 0xbecf, 0x485b, { 0x91, 0x70, 0x5f, 0xf7, 0x11, 0x31, 0x8b, 0x27 }}
670+
671+
# GUIDs defined in UEFI2.8a
672+
#
673+
## Include/Guid/RtPropertiesTable.h
674+
gEfiRtPropertiesTableGuid = { 0xeb66918a, 0x7eef, 0x402a, { 0x84, 0x2e, 0x93, 0x1d, 0x21, 0xc3, 0x8a, 0xe9 }}
675+
676+
## Include/Protocol/SerilaIo.h
677+
gEfiSerialTerminalDeviceTypeGuid = { 0x6AD9A60F, 0x5815, 0x4C7C, { 0x8A, 0x10, 0x50, 0x53, 0xD2, 0xBF, 0x7A, 0x1B }}
678+
679+
# GUIDs defined in UEFI2.10
680+
#
681+
## GUID used to specify section with devdb content
682+
## Include/Guid/DeviceAuthentication.h
683+
gEfiDeviceSignatureDatabaseGuid = { 0xb9c2b4f4, 0xbf5f, 0x462d, {0x8a, 0xdf, 0xc5, 0xc7, 0xa, 0xc3, 0x5d, 0xad }}
684+
685+
644686
#
645687
# GUID defined in PI1.0
646688
#
@@ -769,6 +811,14 @@
769811
#
770812
gTianoCustomDecompressGuid = { 0xA31280AD, 0x481E, 0x41B6, { 0x95, 0xE8, 0x12, 0x7F, 0x4C, 0x98, 0x47, 0x79 }}
771813

814+
#
815+
# GUID used to provide initrd to linux via LoadFile2 protocol
816+
#
817+
gLinuxEfiInitrdMediaGuid = {0x5568e427, 0x68fc, 0x4f3d, {0xac, 0x74, 0xca, 0x55, 0x52, 0x31, 0xcc, 0x68}}
818+
819+
## Include/Protocol/CcMeasurement.h
820+
gEfiCcFinalEventsTableGuid = { 0xdd4a4648, 0x2de7, 0x4665, { 0x96, 0x4d, 0x21, 0xd9, 0xef, 0x5f, 0xb4, 0x46 }}
821+
772822
[Guids.IA32, Guids.X64]
773823
## Include/Guid/Cper.h
774824
gEfiIa32X64ErrorTypeCacheCheckGuid = { 0xA55701F5, 0xE3EF, 0x43de, { 0xAC, 0x72, 0x24, 0x9B, 0x57, 0x3F, 0xAD, 0x2C }}
@@ -934,6 +984,12 @@
934984
## Include/Ppi/MmControl.h
935985
gEfiPeiMmControlPpiGuid = { 0x61c68702, 0x4d7e, 0x4f43, { 0x8d, 0xef, 0xa7, 0x43, 0x5, 0xce, 0x74, 0xc5 }}
936986

987+
## Include/Ppi/MmConfiguration.h
988+
gEfiPeiMmConfigurationPpi = { 0xc109319, 0xc149, 0x450e, { 0xa3, 0xe3, 0xb9, 0xba, 0xdd, 0x9d, 0xc3, 0xa4 } }
989+
990+
## Include/Ppi/MmCommunication.h
991+
gEfiPeiMmCommunicationPpiGuid = { 0xae933e1c, 0xcc47, 0x4e38, { 0x8f, 0xe, 0xe2, 0xf6, 0x1d, 0x26, 0x5, 0xdf } }
992+
937993
#
938994
# PPIs defined in PI 1.7.
939995
#
@@ -948,6 +1004,13 @@
9481004
## Include/Protocol/PcdInfo.h
9491005
gGetPcdInfoProtocolGuid = { 0x5be40f57, 0xfa68, 0x4610, { 0xbb, 0xbf, 0xe9, 0xc5, 0xfc, 0xda, 0xd3, 0x65 } }
9501006

1007+
## Include/Protocol/PcdInfo.h
1008+
gGetPcdInfoProtocolGuid = { 0x5be40f57, 0xfa68, 0x4610, { 0xbb, 0xbf, 0xe9, 0xc5, 0xfc, 0xda, 0xd3, 0x65 } }
1009+
1010+
## Include/Protocol/CcMeasurement.h
1011+
gEfiCcMeasurementProtocolGuid = { 0x96751a3d, 0x72f4, 0x41a6, { 0xa7, 0x94, 0xed, 0x5d, 0x0e, 0x67, 0xae, 0x6b }}
1012+
1013+
9511014
#
9521015
# Protocols defined in PI1.0.
9531016
#
@@ -1276,6 +1339,13 @@
12761339
## Include/Protocol/SpiSmmNorFlash.h
12771340
gEfiSpiSmmNorFlashProtocolGuid = { 0xaab18f19, 0xfe14, 0x4666, { 0x86, 0x04, 0x87, 0xff, 0x6d, 0x66, 0x2c, 0x9a }}
12781341

1342+
#
1343+
# Protocols defined in PI 1.7.
1344+
#
1345+
1346+
## Include/Protocol/MmCommunication2.h
1347+
gEfiMmCommunication2ProtocolGuid = { 0x378daedc, 0xf06b, 0x4446, { 0x83, 0x14, 0x40, 0xab, 0x93, 0x3c, 0x87, 0xa3 }}
1348+
12791349
#
12801350
# Protocols defined in UEFI2.1/UEFI2.0/EFI1.1
12811351
#
@@ -1800,6 +1870,22 @@
18001870
## Include/Protocol/NvdimmLabel.h
18011871
gEfiNvdimmLabelProtocolGuid = { 0xd40b6b80, 0x97d5, 0x4282, { 0xbb, 0x1d, 0x22, 0x3a, 0x16, 0x91, 0x80, 0x58 }}
18021872

1873+
#
1874+
# Protocols defined in UEFI2.8
1875+
#
1876+
## Include/Protocol/RestEx.h
1877+
gEfiRestExProtocolGuid = { 0x55648b91, 0xe7d, 0x40a3, { 0xa9, 0xb3, 0xa8, 0x15, 0xd7, 0xea, 0xdf, 0x97 }}
1878+
gEfiRestExServiceBindingProtocolGuid = { 0x456bbe01, 0x99d0, 0x45ea, { 0xbb, 0x5f, 0x16, 0xd8, 0x4b, 0xed, 0xc5, 0x59 }}
1879+
1880+
## Include/Protocol/RestJsonStructure.h
1881+
gEfiRestJsonStructureProtocolGuid = { 0xa9a048f6, 0x48a0, 0x4714, {0xb7, 0xda, 0xa9, 0xad,0x87, 0xd4, 0xda, 0xc9 }}
1882+
1883+
## Include/Protocol/RedfishDiscover.h
1884+
gEfiRedfishDiscoverProtocolGuid = { 0x5db12509, 0x4550, 0x4347, { 0x96, 0xb3, 0x73, 0xc0, 0xff, 0x6e, 0x86, 0x9f }}
1885+
1886+
## Include/Protocol/MemoryAttribute.h
1887+
gEfiMemoryAttributeProtocolGuid = { 0xf4560cf6, 0x40ec, 0x4b4a, { 0xa1, 0x92, 0xbf, 0x1d, 0x57, 0xd0, 0xb1, 0x89 }}
1888+
18031889
#
18041890
# Protocols defined in Shell2.0
18051891
#

buildme

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ tell application "Terminal"
3434
# set font name of window 1 to "Monaco"
3535
# set font size of window 1 to "11"
3636
# set normal text color of window 1 to {3341, 35186, 50092}
37-
set position of first window to {650, 420}
37+
# set position of first window to {650, 420}
3838
end tell
3939
EOF
4040
# ====== Clover workspace SetUp ======

0 commit comments

Comments
 (0)