X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=ReleaseNotes.txt;h=e9a0caca8e820faaf22533734dea4c58d32beb1e;hp=911b3afe16f77f540a9e2caceb308ef2b96b2db5;hb=64fcaeada58caaecdec5477f88222823de7210ff;hpb=63ee273cb0667491a5e96512992dca6a0873c147 diff --git a/ReleaseNotes.txt b/ReleaseNotes.txt index 911b3afe16..e9a0caca8e 100644 --- a/ReleaseNotes.txt +++ b/ReleaseNotes.txt @@ -309,44 +309,81 @@ The common operations by developers of new modules are: - This release requires manual editing of the SPD file, adding the protocol to the ProtocolDeclarations section of the file. - Add the Protocol .h file to the Include\Protocol directory. - - Add an entry to the Protocol.info file + - Add an to the element in the + .spd file * Each line contains Protocol base name then the global variable name and then the hex value of the Protocol GUID. -Example Protocol.info file (2 lines): -UnicodeCollation gEfiUnicodeCollationProtocolGuid - { 0x1d85cd7f, 0xf43d, 0x11d2, 0x9a, 0xc, 0x0, 0x90, 0x27, 0x3f, 0xc1, 0x4d } -UsbHc gEfiUsbHcProtocolGuid - { 0xf5089266, 0x1aa0, 0x4953, 0x97, 0xd8, 0x56, 0x2f, 0x8a, 0x73, 0xb5, 0x19 } +Example Protocol Entries (NOTE: The Guid entry is a single line in the SPD file): + + + gEfiUnicodeCollationProtocolGuid + { 0x1d85cd7f, 0xf43d, 0x11d2, 0x9a, 0xc, 0x0, 0x90, 0x27, + 0x3f, 0xc1, 0x4d } + + gEfiUsbHcProtocolGuid + { 0xf5089266, 0x1aa0, 0x4953, 0x97, 0xd8, 0x56, 0x2f, 0x8a, + 0x73, 0xb5, 0x19 } --------------------------------- 5) Declare a new PPI in a package: - This release requires manual editing of the SPD file - Add the PPI .h file to the Include\Ppi directory. - - Add an entry to the Ppi.info file + - Add an to the package element in the + .spd file * Each line contains PPI base name then the global variable name and then the hex value of the PPI GUID. -Example Ppi.info file (2 lines): -NtPeiLoadFile gNtPeiLoadFilePpiGuid - { 0xfd0c65eb, 0x405, 0x4cd2, 0x8a, 0xee, 0xf4, 0x0, 0xef, 0x13, 0xba, 0xc2 } -NtThunk gPeiNtThunkPpiGuid - { 0x98c281e5, 0xf906, 0x43dd, 0xa9, 0x2b, 0xb0, 0x3, 0xbf, 0x27, 0x65, 0xda } +Example Ppi Entries (NOTE: The Guid entry is a single line in the SPD file): + + + gNtPeiLoadFilePpiGuid + { 0xfd0c65eb, 0x405, 0x4cd2, 0x8a, 0xee, 0xf4, 0x0, 0xef, 0x13, + 0xba, 0xc2 } + + + gPeiNtThunkPpiGuid + { 0x98c281e5, 0xf906, 0x43dd, 0xa9, 0x2b, 0xb0, 0x3, 0xbf, + 0x27, 0x65, 0xda } + + + ---------------------------------- 6) Declare a new GUID in a package: - This release requires manual editing of the SPD file to include the new - Guid. + Guid. This is identical to adding a ProtocolDeclaration or PpiDeclaration + element as described above. --------------------------------------- -7) Declare a new PCD entry in a package: +7) Define a new PCD entry in a package: - This release requires manual editing of the SPD file to include the new - PCD. + PCD. New Pcd entries are added to the PcdDefinitions section of the + .spd file using the following example for the format: + NOTE: The hex value must be unique. + + + + PcdMaximumUnicodeStringLength + 0x00000001 + UINT32 + 1000000 + + ------------------------------ 8) Declare a new Library Class: - This release requires manual editing of the SPD file to include the new - Library Class. + Library Class. New Library Class entries are added to the + LibraryClassDeclarations seection of the .spd file using + the following example for the format: + + + + BaseLib + Include/Library/BaseLib.h + + -------------------------------------- 9) Add a library instance to a package: