Fixed some naming issues and update to the EDK II name. I also fixed an issue with the UEFI library forcing UEFI.h to include Tinao protocols. I make the UEFI library a DXE library so it would get the correct includes.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1048 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
DXE modules follow the public Framework specifications and the UEFI
|
||||
specifiations. The build infrastructure must set
|
||||
EFI_SPECIFICATION_VERSION before including this file. To support
|
||||
R9/UEFI2.0 set EFI_SPECIFIATION_VERSION to 0x00020000. To support
|
||||
R8.5/EFI 1.10 set EFI_SPECIFIATION_VERSION to 0x00010010.
|
||||
EDK II/UEFI2.0 set EFI_SPECIFIATION_VERSION to 0x00020000. To support
|
||||
EDK/EFI 1.10 set EFI_SPECIFIATION_VERSION to 0x00010010.
|
||||
EDK_RELEASE_VERSION must be set to a non zero value.
|
||||
EFI_SPECIFIATION_VERSION and EDK_RELEASE_VERSION are set automatically
|
||||
by the build infrastructure for every module.
|
||||
|
@@ -5,8 +5,8 @@
|
||||
The DXE Core has its own module type since its entry point definition is
|
||||
unique. This module type should only be used by the DXE core. The build
|
||||
infrastructure must set EFI_SPECIFICATION_VERSION before including this
|
||||
file. To support R9/UEFI2.0 set EFI_SPECIFIATION_VERSION to 0x00020000. To
|
||||
support R8.5/EFI 1.10 set EFI_SPECIFIATION_VERSION to 0x00010010.
|
||||
file. To support EDK II/UEFI2.0 set EFI_SPECIFIATION_VERSION to 0x00020000. To
|
||||
support EDK/EFI 1.10 set EFI_SPECIFIATION_VERSION to 0x00010010.
|
||||
EDK_RELEASE_VERSION must be set to a non zero value.
|
||||
EFI_SPECIFIATION_VERSION and EDK_RELEASE_VERSION are set automatically
|
||||
by the build infrastructure for every module.
|
||||
|
@@ -400,7 +400,7 @@ EfiSignalEventLegacyBoot (
|
||||
This was bad as Tiano did not own the enum. In UEFI 2.0 CreateEventEx was
|
||||
added and now it's possible to not voilate the UEFI specification by
|
||||
declaring a GUID for the legacy boot event class. This library supports
|
||||
the R8.5/EFI 1.10 form and R9/UEFI 2.0 form and allows common code to
|
||||
the EDK/EFI 1.10 form and EDK II/UEFI 2.0 form and allows common code to
|
||||
work both ways.
|
||||
|
||||
@param LegacyBootEvent Returns the EFI event returned from gBS->CreateEvent(Ex).
|
||||
@@ -450,7 +450,7 @@ EfiCreateEventLegacyBootEx (
|
||||
This was bad as Tiano did not own the enum. In UEFI 2.0 CreateEventEx was
|
||||
added and now it's possible to not voilate the UEFI specification and use
|
||||
the ready to boot event class defined in UEFI 2.0. This library supports
|
||||
the R8.5/EFI 1.10 form and R9/UEFI 2.0 form and allows common code to
|
||||
the EDK/EFI 1.10 form and EDKII/UEFI 2.0 form and allows common code to
|
||||
work both ways.
|
||||
|
||||
@param LegacyBootEvent Returns the EFI event returned from gBS->CreateEvent(Ex).
|
||||
@@ -499,7 +499,7 @@ EfiCreateEventReadyToBootEx (
|
||||
Tiano extended the EFI 1.10 device path nodes. Tiano does not own this enum
|
||||
so as we move to UEFI 2.0 support we must use a mechanism that conforms with
|
||||
the UEFI 2.0 specification to define the FV device path. An UEFI GUIDed
|
||||
device path is defined for PIWG extensions of device path. If the code
|
||||
device path is defined for Tiano extensions of device path. If the code
|
||||
is compiled to conform with the UEFI 2.0 specification use the new device path
|
||||
else use the old form for backwards compatability.
|
||||
|
||||
@@ -520,7 +520,7 @@ EfiInitializeFwVolDevicepathNode (
|
||||
Tiano extended the EFI 1.10 device path nodes. Tiano does not own this enum
|
||||
so as we move to UEFI 2.0 support we must use a mechanism that conforms with
|
||||
the UEFI 2.0 specification to define the FV device path. An UEFI GUIDed
|
||||
device path is defined for PIWG extensions of device path. If the code
|
||||
device path is defined for Tiano extensions of device path. If the code
|
||||
is compiled to conform with the UEFI 2.0 specification use the new device path
|
||||
else use the old form for backwards compatability. The return value to this
|
||||
function points to a location in FvDevicePathNode and it does not allocate
|
||||
|
@@ -5,8 +5,8 @@
|
||||
UEFI modules follow the public EFI 1.10 or UEFI 2.0 specifications and
|
||||
also contains the infrastructure required to build modules. The build
|
||||
infrastructure must set EFI_SPECIFICATION_VERSION before including this
|
||||
file. To support R9/UEFI2.0 set EFI_SPECIFIATION_VERSION to 0x00020000. To
|
||||
support R8.5/EFI 1.10 set EFI_SPECIFIATION_VERSION to 0x00010010.
|
||||
file. To support EDK II/UEFI2.0 set EFI_SPECIFIATION_VERSION to 0x00020000. To
|
||||
support EDK/EFI 1.10 set EFI_SPECIFIATION_VERSION to 0x00010010.
|
||||
Seting EDK_RELEASE_VERSION to zero implies no Tiano extensions and a
|
||||
non zero value implies Tiano extensions are availible.
|
||||
EFI_SPECIFIATION_VERSION and EDK_RELEASE_VERSION are set automatically
|
||||
@@ -49,14 +49,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
#include <Common/UefiBaseTypes.h>
|
||||
#include <Uefi/UefiSpec.h>
|
||||
|
||||
//
|
||||
// Need due to R8.5 Tiano contamination of UEFI enumes.
|
||||
// There is a UEFI library that does things the new way and the old way
|
||||
// This is why these definitions are need in Uefi.h
|
||||
//
|
||||
#include <Guid/EventLegacyBios.h>
|
||||
#include <Guid/FrameworkDevicePath.h>
|
||||
|
||||
|
||||
//
|
||||
// All module types types have access to PCD for build support
|
||||
|
@@ -2137,22 +2137,22 @@ typedef struct {
|
||||
|
||||
typedef struct {
|
||||
EFI_DEVICE_PATH_PROTOCOL Header;
|
||||
EFI_GUID PiwgSpecificDevicePath;
|
||||
EFI_GUID TianoSpecificDevicePath;
|
||||
UINT32 Type;
|
||||
} PIWG_DEVICE_PATH;
|
||||
} TIANO_DEVICE_PATH;
|
||||
|
||||
#define PIWG_MEDIA_FW_VOL_FILEPATH_DEVICE_PATH_TYPE 0x01
|
||||
#define TIANO_MEDIA_FW_VOL_FILEPATH_DEVICE_PATH_TYPE 0x01
|
||||
typedef struct {
|
||||
PIWG_DEVICE_PATH Piwg;
|
||||
TIANO_DEVICE_PATH Tiano;
|
||||
EFI_GUID NameGuid;
|
||||
} MEDIA_FW_VOL_FILEPATH_DEVICE_PATH;
|
||||
|
||||
//
|
||||
// Place holder for a future extension
|
||||
//
|
||||
#define PIWG_MEDIAFW_VOL_DEVICE_PATH_TYPE 0x02
|
||||
#define TIANO_MEDIAFW_VOL_DEVICE_PATH_TYPE 0x02
|
||||
typedef struct {
|
||||
PIWG_DEVICE_PATH Piwg;
|
||||
TIANO_DEVICE_PATH Tiano;
|
||||
EFI_GUID VolumeGuid;
|
||||
} MEDIA_FW_VOL_DEVICE_PATH;
|
||||
|
||||
|
Reference in New Issue
Block a user