X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ReleaseNotes.txt;h=dce5e1eb9a73cae5bcc2f300f500d874e0ca0582;hb=1465cc8ba9c8e93234de43be29067809d867c456;hp=911b3afe16f77f540a9e2caceb308ef2b96b2db5;hpb=01d2ed5e8bcf337438e6f6a42037b618c08b0b08;p=mirror_edk2.git diff --git a/ReleaseNotes.txt b/ReleaseNotes.txt index 911b3afe16..dce5e1eb9a 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: @@ -369,7 +406,7 @@ Of particular note: 1) EDK 2.0 contains new hardware feature support for the ICH SMBUS Libraries. These libraries are provided to make Memory Reference Code (MRC) development easier. -2) The MDE Libraries - The MDE libraries resent significant changes in source +2) The MDE Libraries - The MDE libraries represent significant changes in source (with only limited changes in functionality.) These new libraries conform to the "MDE Library Specification". 3) The Fat Binary and the EDK Shell Binary Packages are functionally identical