X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=ReleaseNotes.txt;h=80ecbf1a3b64c51118332a372991384433373daf;hp=61d545dd8c27f3941799aeb3c3eccbee268e5e78;hb=c43c67195a60f1e002553cd8b2cf876903e3f801;hpb=aa0bf4f41b60608311cd96d1b98c014f4b94bdd8 diff --git a/ReleaseNotes.txt b/ReleaseNotes.txt index 61d545dd8c..80ecbf1a3b 100644 --- a/ReleaseNotes.txt +++ b/ReleaseNotes.txt @@ -53,7 +53,7 @@ Compiler Tool Chain Assembler Tool Chain Microsoft Macro Assembler, version 6.15 or later or - GCC version 4.x or later + GNU binutils 2.16.1 or later Java Development Kit ( Java 5.0 or later) Sun* jdk-1.5.0_04 or later (http://java.sun.com) @@ -62,7 +62,8 @@ Java Development Kit ( Java 5.0 or later) Java Tools Apache-ANT, version 1.6.5 or later (http://ant.apache.org) - Ant-contrib, version 1.0b2 or later (http://antcontrib.sourceforge.net) + Ant-contrib, version 1.0b2 or later + (http://sourceforge.net/project/showfiles.php?group_id=36177) Saxon8, version 8.1.1 (http://prdownloads.sourceforge.net/saxon/saxonb8-1-1.zip?download) XMLBeans, version 2.1.0 or later (http://xmlbeans.apache.org) @@ -73,9 +74,11 @@ Other Tools Optional Tools -------------- Compiler Tool Chains: - Intel C++ Compiler for Windows, ver. 9.0 or later (http://www.intel,com) - Intel C Compiler for EFI Byte Code, ver. 1.2 or later + Intel C++ Compiler for Windows, ver. 9.0 or later (http://www.intel.com) + Intel C Compiler for EFI Byte Code, ver. 1.2 or later + (http://www.intel.com/cd/software/products/asmo-na/eng/compilers/efibc/index.htm) Microsoft Driver Development Kit, version 3790.1830 or later + (http://www.microsoft.com/whdc/devtools/ddk/orderddkcd.mspx) Microsoft ACPI Source Language Assembler, Version 1.0.13NT or later Intel ACPI Component Architecture, version 20060113 @@ -129,6 +132,7 @@ Java Development Kit: For the JDK, the install path would be C:\Java\jdk1.5.0_06 For the JRE, the install path would be C:\Java\jre1.5.0_06 Alternatively, you can specify C:\sunjavajdk and C:\sunjavajre. + NOTE: You cannot combine the location for the JDK and the JRE, as the JRE install removes most of the binaries and libraries installed by the JDK install. @@ -136,14 +140,14 @@ Java Development Kit: Java Tools: The Apache-ANT requires the ANT_HOME environment variable to be set before attempting to build: - i.e. set ANT_HOME=c:\ant + i.e. set ANT_HOME=c:\ The ant-contrib.jar file should be installed in the %ANT_HOME%\lib directory. The XMLBeans, requires the XMLBEANS_HOME environment variable to be set before attempting to build: - i.e. set XMLBEANS_HOME=C:\XMLBEANS + i.e. set XMLBEANS_HOME=C:\ The saxon8.jar file should be copied to the %XMLBEANS_HOME%\lib directory. @@ -156,10 +160,10 @@ Java Tools: ------------------------------------------------------------------------------- Quick Start ----------- -Edit the text file, tools_def.txt, located in the Tools/Conf directory. This -file contains the names of the compiler tool chains and the location of the -compiler binaries. It has been pre-populated with the standard location for -the Microsoft tool chains and includes the standard location of the Intel C +Edit the text file, msft_tools_def.txt, located in the Tools/Conf directory. +This file contains the names of the compiler tool chains and the location of +the compiler binaries. It has been pre-populated with the standard location +for the Microsoft tool chains and includes the standard location of the Intel C Compiler for EFI Byte Code (EBC) Follow the instructions at https://edk2.tianocore.org/servlets/ProjectSource to @@ -195,6 +199,10 @@ After running the setup command, you can build individual packages. The EdkNt32Pkg has a special target; "run" that will execute the Nt32 emulation platform under Microsoft Windows. +To exit the Nt32 emulation platform, you may type reset at the EFI Shell> +command prompt. Alternately, you may use the Graphical interface, Boot +Maintenance Manager screen's Reset System command. + ------------------------ Individual Module Builds ------------------------ @@ -231,7 +239,7 @@ General Information: =============================================================== Mechanisms: ---------- -A quick understanding: +A brief overview: A) Surface Area Package Description (SPD) file contains information about the modules that the package contains, including the location of all MSA files, and @@ -308,44 +316,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: @@ -368,7 +413,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