summaryrefslogtreecommitdiff
path: root/MdePkg/Include
diff options
context:
space:
mode:
authorajfish <ajfish@6f19259b-4bc3-4df7-8a09-765794883524>2006-07-19 12:24:11 +0000
committerajfish <ajfish@6f19259b-4bc3-4df7-8a09-765794883524>2006-07-19 12:24:11 +0000
commita537f1483c1312f9a937b7ec854396170006ff8d (patch)
tree8a06d04fd6fb69a2df8aaea1bd3cc520619511b6 /MdePkg/Include
parent58c5839f2cd597dc0c345000d6482b38dfb42a4b (diff)
downloadedk2-platforms-a537f1483c1312f9a937b7ec854396170006ff8d.tar.xz
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
Diffstat (limited to 'MdePkg/Include')
-rw-r--r--MdePkg/Include/Dxe.h4
-rw-r--r--MdePkg/Include/DxeCore.h4
-rw-r--r--MdePkg/Include/Library/UefiLib.h8
-rw-r--r--MdePkg/Include/Uefi.h12
-rw-r--r--MdePkg/Include/Uefi/UefiSpec.h12
5 files changed, 16 insertions, 24 deletions
diff --git a/MdePkg/Include/Dxe.h b/MdePkg/Include/Dxe.h
index d97209d1a4..42168297b9 100644
--- a/MdePkg/Include/Dxe.h
+++ b/MdePkg/Include/Dxe.h
@@ -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.
diff --git a/MdePkg/Include/DxeCore.h b/MdePkg/Include/DxeCore.h
index 9554fb8c23..4a4f6376fd 100644
--- a/MdePkg/Include/DxeCore.h
+++ b/MdePkg/Include/DxeCore.h
@@ -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.
diff --git a/MdePkg/Include/Library/UefiLib.h b/MdePkg/Include/Library/UefiLib.h
index 428235cbf2..dd27078396 100644
--- a/MdePkg/Include/Library/UefiLib.h
+++ b/MdePkg/Include/Library/UefiLib.h
@@ -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
diff --git a/MdePkg/Include/Uefi.h b/MdePkg/Include/Uefi.h
index 34fcdf6c0e..7c9c7480cc 100644
--- a/MdePkg/Include/Uefi.h
+++ b/MdePkg/Include/Uefi.h
@@ -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
diff --git a/MdePkg/Include/Uefi/UefiSpec.h b/MdePkg/Include/Uefi/UefiSpec.h
index 3410ad2821..1f2862776c 100644
--- a/MdePkg/Include/Uefi/UefiSpec.h
+++ b/MdePkg/Include/Uefi/UefiSpec.h
@@ -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;