Clean up: update "EFI" to "UEFI" if applicable.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4317 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -52,7 +52,7 @@ OemHookStatusCodeInitialize (
|
|||||||
|
|
||||||
@param CallerId This optional parameter may be used to identify the caller.
|
@param CallerId This optional parameter may be used to identify the caller.
|
||||||
This parameter allows the status code driver to apply different rules to different callers.
|
This parameter allows the status code driver to apply different rules to different callers.
|
||||||
Type EFI_GUID is defined in InstallProtocolInterface() in the EFI 1.10 Specification.
|
Type EFI_GUID is defined in InstallProtocolInterface() in the UEFI 2.0 Specification.
|
||||||
|
|
||||||
|
|
||||||
@param Data This optional parameter may be used to pass additional data
|
@param Data This optional parameter may be used to pass additional data
|
||||||
|
@ -705,7 +705,7 @@ Returns:
|
|||||||
}
|
}
|
||||||
//
|
//
|
||||||
// The length of the field 'Position Set Code Length Array Size' in Block Header.
|
// The length of the field 'Position Set Code Length Array Size' in Block Header.
|
||||||
// For EFI 1.1 de/compression algorithm(Version 1), mPBit = 4
|
// For UEFI 2.0 de/compression algorithm(Version 1), mPBit = 4
|
||||||
// For Tiano de/compression algorithm(Version 2), mPBit = 5
|
// For Tiano de/compression algorithm(Version 2), mPBit = 5
|
||||||
//
|
//
|
||||||
switch (Version) {
|
switch (Version) {
|
||||||
|
@ -72,7 +72,7 @@ typedef struct {
|
|||||||
|
|
||||||
//
|
//
|
||||||
// The length of the field 'Position Set Code Length Array Size' in Block Header.
|
// The length of the field 'Position Set Code Length Array Size' in Block Header.
|
||||||
// For EFI 1.1 de/compression algorithm, mPBit = 4
|
// For UEFI 2.0 de/compression algorithm, mPBit = 4
|
||||||
// For Tiano de/compression algorithm, mPBit = 5
|
// For Tiano de/compression algorithm, mPBit = 5
|
||||||
//
|
//
|
||||||
UINT8 mPBit;
|
UINT8 mPBit;
|
||||||
|
@ -52,7 +52,7 @@ OemHookStatusCodeInitialize (
|
|||||||
|
|
||||||
@param CallerId This optional parameter may be used to identify the caller.
|
@param CallerId This optional parameter may be used to identify the caller.
|
||||||
This parameter allows the status code driver to apply different rules to different callers.
|
This parameter allows the status code driver to apply different rules to different callers.
|
||||||
Type EFI_GUID is defined in InstallProtocolInterface() in the EFI 1.10 Specification.
|
Type EFI_GUID is defined in InstallProtocolInterface() in the UEFI 2.0 Specification.
|
||||||
|
|
||||||
|
|
||||||
@param Data This optional parameter may be used to pass additional data
|
@param Data This optional parameter may be used to pass additional data
|
||||||
|
@ -173,7 +173,7 @@ ReleaseRecord (
|
|||||||
|
|
||||||
@param CallerId This optional parameter may be used to identify the caller.
|
@param CallerId This optional parameter may be used to identify the caller.
|
||||||
This parameter allows the status code driver to apply different rules to different callers.
|
This parameter allows the status code driver to apply different rules to different callers.
|
||||||
Type EFI_GUID is defined in InstallProtocolInterface() in the EFI 1.10 Specification.
|
Type EFI_GUID is defined in InstallProtocolInterface() in the UEFI 2.0 Specification.
|
||||||
|
|
||||||
|
|
||||||
@param Data This optional parameter may be used to pass additional data
|
@param Data This optional parameter may be used to pass additional data
|
||||||
|
@ -132,7 +132,7 @@ EfiSerialStatusCodeInitializeWorker (
|
|||||||
|
|
||||||
@param CallerId This optional parameter may be used to identify the caller.
|
@param CallerId This optional parameter may be used to identify the caller.
|
||||||
This parameter allows the status code driver to apply different rules to different callers.
|
This parameter allows the status code driver to apply different rules to different callers.
|
||||||
Type EFI_GUID is defined in InstallProtocolInterface() in the EFI 1.10 Specification.
|
Type EFI_GUID is defined in InstallProtocolInterface() in the UEFI 2.0 Specification.
|
||||||
|
|
||||||
|
|
||||||
@param Data This optional parameter may be used to pass additional data
|
@param Data This optional parameter may be used to pass additional data
|
||||||
@ -226,7 +226,7 @@ DataHubStatusCodeInitializeWorker (
|
|||||||
|
|
||||||
@param CallerId This optional parameter may be used to identify the caller.
|
@param CallerId This optional parameter may be used to identify the caller.
|
||||||
This parameter allows the status code driver to apply different rules to different callers.
|
This parameter allows the status code driver to apply different rules to different callers.
|
||||||
Type EFI_GUID is defined in InstallProtocolInterface() in the EFI 1.10 Specification.
|
Type EFI_GUID is defined in InstallProtocolInterface() in the UEFI 2.0 Specification.
|
||||||
|
|
||||||
|
|
||||||
@param Data This optional parameter may be used to pass additional data
|
@param Data This optional parameter may be used to pass additional data
|
||||||
|
@ -64,7 +64,7 @@ EfiSerialStatusCodeInitializeWorker (
|
|||||||
|
|
||||||
@param CallerId This optional parameter may be used to identify the caller.
|
@param CallerId This optional parameter may be used to identify the caller.
|
||||||
This parameter allows the status code driver to apply different rules to different callers.
|
This parameter allows the status code driver to apply different rules to different callers.
|
||||||
Type EFI_GUID is defined in InstallProtocolInterface() in the EFI 1.10 Specification.
|
Type EFI_GUID is defined in InstallProtocolInterface() in the UEFI 2.0 Specification.
|
||||||
|
|
||||||
|
|
||||||
@param Data This optional parameter may be used to pass additional data
|
@param Data This optional parameter may be used to pass additional data
|
||||||
|
@ -58,7 +58,7 @@
|
|||||||
|
|
||||||
@param CallerId This optional parameter may be used to identify the caller.
|
@param CallerId This optional parameter may be used to identify the caller.
|
||||||
This parameter allows the status code driver to apply different rules to different callers.
|
This parameter allows the status code driver to apply different rules to different callers.
|
||||||
Type EFI_GUID is defined in InstallProtocolInterface() in the EFI 1.10 Specification.
|
Type EFI_GUID is defined in InstallProtocolInterface() in the UEFI 2.0 Specification.
|
||||||
|
|
||||||
|
|
||||||
@param Data This optional parameter may be used to pass additional data
|
@param Data This optional parameter may be used to pass additional data
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
@param CallerId This optional parameter may be used to identify the caller.
|
@param CallerId This optional parameter may be used to identify the caller.
|
||||||
This parameter allows the status code driver to apply different rules to different callers.
|
This parameter allows the status code driver to apply different rules to different callers.
|
||||||
Type EFI_GUID is defined in InstallProtocolInterface() in the EFI 1.10 Specification.
|
Type EFI_GUID is defined in InstallProtocolInterface() in the UEFI 2.0 Specification.
|
||||||
|
|
||||||
|
|
||||||
@param Data This optional parameter may be used to pass additional data
|
@param Data This optional parameter may be used to pass additional data
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/** @file
|
/** @file
|
||||||
Include file that supportes Framework extension to the EFI 1.10 spec.
|
Include file that supportes Framework extension to the UEFI 2.0 spec.
|
||||||
|
|
||||||
This include file must only contain things defined in the Framework
|
This include file must only contain things defined in the Framework
|
||||||
specifications. If a code construct is defined in the Framework specification
|
specifications. If a code construct is defined in the Framework specification
|
||||||
@ -66,7 +66,7 @@ typedef struct {
|
|||||||
EFI_RESET_SYSTEM ResetSystem;
|
EFI_RESET_SYSTEM ResetSystem;
|
||||||
|
|
||||||
//
|
//
|
||||||
// Framework extension to EFI 1.10 runtime table
|
// Framework extension to UEFI 2.0 runtime table
|
||||||
// It was moved to a protocol to not conflict with UEFI 2.0
|
// It was moved to a protocol to not conflict with UEFI 2.0
|
||||||
//
|
//
|
||||||
EFI_REPORT_STATUS_CODE ReportStatusCode;
|
EFI_REPORT_STATUS_CODE ReportStatusCode;
|
||||||
|
@ -143,7 +143,7 @@ EFI_STATUS
|
|||||||
The GetPciRom() function gets the PCI device's option ROM from a platform-specific location.
|
The GetPciRom() function gets the PCI device's option ROM from a platform-specific location.
|
||||||
The option ROM will be loaded into memory. This member function is used to return an image
|
The option ROM will be loaded into memory. This member function is used to return an image
|
||||||
that is packaged as a PCI 2.2 option ROM. The image may contain both legacy and EFI option
|
that is packaged as a PCI 2.2 option ROM. The image may contain both legacy and EFI option
|
||||||
ROMs. See the EFI 1.10 Specification for details. This member function can be used to return
|
ROMs. See the UEFI 2.0 Specification for details. This member function can be used to return
|
||||||
option ROM images for embedded controllers. Option ROMs for embedded controllers are typically
|
option ROM images for embedded controllers. Option ROMs for embedded controllers are typically
|
||||||
stored in platform-specific storage, and this member function can retrieve it from that storage
|
stored in platform-specific storage, and this member function can retrieve it from that storage
|
||||||
and return it to the PCI bus driver. The PCI bus driver will call this member function before
|
and return it to the PCI bus driver. The PCI bus driver will call this member function before
|
||||||
|
@ -244,7 +244,7 @@ Returns:
|
|||||||
DriverEntry->DepexProtocolError = TRUE;
|
DriverEntry->DepexProtocolError = TRUE;
|
||||||
} else {
|
} else {
|
||||||
//
|
//
|
||||||
// If no Depex assume EFI 1.1 driver model
|
// If no Depex assume UEFI 2.0 driver model
|
||||||
//
|
//
|
||||||
DriverEntry->Depex = NULL;
|
DriverEntry->Depex = NULL;
|
||||||
DriverEntry->Dependent = TRUE;
|
DriverEntry->Dependent = TRUE;
|
||||||
|
@ -280,7 +280,7 @@ Returns:
|
|||||||
|
|
||||||
if (DriverEntry->Depex == NULL) {
|
if (DriverEntry->Depex == NULL) {
|
||||||
//
|
//
|
||||||
// A NULL Depex means treat the driver like an EFI 1.0 thing.
|
// A NULL Depex means treat the driver like an UEFI 2.0 thing.
|
||||||
//
|
//
|
||||||
Status = CoreAllEfiServicesAvailable ();
|
Status = CoreAllEfiServicesAvailable ();
|
||||||
if (EFI_ERROR (Status)) {
|
if (EFI_ERROR (Status)) {
|
||||||
|
@ -595,7 +595,7 @@ CoreExitBootServices (
|
|||||||
|
|
||||||
Routine Description:
|
Routine Description:
|
||||||
|
|
||||||
EFI 1.0 API to terminate Boot Services
|
UEFI 2.0 API to terminate Boot Services
|
||||||
|
|
||||||
Arguments:
|
Arguments:
|
||||||
|
|
||||||
|
@ -330,7 +330,7 @@ Returns:
|
|||||||
Function = NotifyFunction;
|
Function = NotifyFunction;
|
||||||
|
|
||||||
//
|
//
|
||||||
// Convert EFI 1.10 Events to thier UEFI 2.0 CreateEventEx mapping
|
// Convert EFI 1.10 Events to their UEFI 2.0 CreateEventEx mapping
|
||||||
//
|
//
|
||||||
if (Type == EVT_SIGNAL_EXIT_BOOT_SERVICES) {
|
if (Type == EVT_SIGNAL_EXIT_BOOT_SERVICES) {
|
||||||
GuidPtr = &gEfiEventExitBootServicesGuid;
|
GuidPtr = &gEfiEventExitBootServicesGuid;
|
||||||
|
@ -13,13 +13,13 @@ Module Name:
|
|||||||
LoadPe32Image.h
|
LoadPe32Image.h
|
||||||
|
|
||||||
Abstract:
|
Abstract:
|
||||||
Load File protocol as defined in the EFI 1.0 specification.
|
Load File protocol.
|
||||||
|
|
||||||
Load file protocol exists to supports the addition of new boot devices,
|
Load file protocol exists to supports the addition of new boot devices,
|
||||||
and to support booting from devices that do not map well to file system.
|
and to support booting from devices that do not map well to file system.
|
||||||
Network boot is done via a LoadFile protocol.
|
Network boot is done via a LoadFile protocol.
|
||||||
|
|
||||||
EFI 1.0 can boot from any device that produces a LoadFile protocol.
|
UEFI 2.0 can boot from any device that produces a LoadFile protocol.
|
||||||
|
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/**@file
|
/**@file
|
||||||
This is the main routine for initializing the Graphics Console support routines.
|
This is the main routine for initializing the Graphics Console support routines.
|
||||||
Remaining Tasks
|
Remaining Tasks
|
||||||
Add all standard Glyphs from EFI 1.02 Specification
|
Add all standard Glyphs from UEFI 2.0 Specification
|
||||||
Implement optimal automatic Mode creation algorithm
|
Implement optimal automatic Mode creation algorithm
|
||||||
Solve palette issues for mixed graphics and text
|
Solve palette issues for mixed graphics and text
|
||||||
When does this protocol reset the palette?
|
When does this protocol reset the palette?
|
||||||
|
@ -1160,7 +1160,7 @@ Symbols used in table below
|
|||||||
^ = CTRL
|
^ = CTRL
|
||||||
|
|
||||||
+=========+======+===========+==========+==========+
|
+=========+======+===========+==========+==========+
|
||||||
| | EFI | EFI 1.10 | | |
|
| | EFI | UEFI 2.0 | | |
|
||||||
| | Scan | | VT100+ | |
|
| | Scan | | VT100+ | |
|
||||||
| KEY | Code | PC ANSI | VTUTF8 | VT100 |
|
| KEY | Code | PC ANSI | VTUTF8 | VT100 |
|
||||||
+=========+======+===========+==========+==========+
|
+=========+======+===========+==========+==========+
|
||||||
|
@ -500,7 +500,7 @@ Routine Description:
|
|||||||
EFI_UNSUPPORTED
|
EFI_UNSUPPORTED
|
||||||
|
|
||||||
Arguments:
|
Arguments:
|
||||||
Per EFI 1.10 driver model
|
Per UEFI 2.0 driver model
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
EFI_UNSUPPORTED
|
EFI_UNSUPPORTED
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/** @file
|
/** @file
|
||||||
Decode a hard disk partitioned with the GPT scheme in the EFI 1.0
|
Decode a hard disk partitioned with the GPT scheme in the UEFI 2.0
|
||||||
specification.
|
specification.
|
||||||
|
|
||||||
Copyright (c) 2006 - 2007, Intel Corporation
|
Copyright (c) 2006 - 2007, Intel Corporation
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
/** @file
|
/** @file
|
||||||
SimpleFileSystem guid and data structure as defined in the EFI 1.0 specification.
|
SimpleFileSystem guid and data structure as defined in the UEFI 2.0 specification.
|
||||||
|
|
||||||
The SimpleFileSystem protocol is the programatic access to the FAT (12,16,32)
|
The SimpleFileSystem protocol is the programatic access to the FAT (12,16,32)
|
||||||
file system specified in EFI 1.0. It can also be used to abstract any
|
file system specified in UEFI 2.0. It can also be used to abstract any
|
||||||
file system other than FAT.
|
file system other than FAT.
|
||||||
|
|
||||||
EFI 1.0 can boot from any valid EFI image contained in a SimpleFileSystem
|
UEFI 2.0 can boot from any valid EFI image contained in a SimpleFileSystem
|
||||||
|
|
||||||
Copyright (c) 2006, Intel Corporation
|
Copyright (c) 2006, Intel Corporation
|
||||||
All rights reserved. This program and the accompanying materials
|
All rights reserved. This program and the accompanying materials
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/** @file
|
/** @file
|
||||||
FileSystemInfo guid and data structure as defined in the EFI 1.0 specification.
|
FileSystemInfo guid and data structure as defined in the UEFI 2.0 specification.
|
||||||
|
|
||||||
Copyright (c) 2006, Intel Corporation
|
Copyright (c) 2006, Intel Corporation
|
||||||
All rights reserved. This program and the accompanying materials
|
All rights reserved. This program and the accompanying materials
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/** @file
|
/** @file
|
||||||
FileSystemVolumeLabelInfo guid and data structure as defined in the EFI 1.0 specification.
|
FileSystemVolumeLabelInfo guid and data structure as defined in the UEFI 2.0 specification.
|
||||||
|
|
||||||
Copyright (c) 2006, Intel Corporation
|
Copyright (c) 2006, Intel Corporation
|
||||||
All rights reserved. This program and the accompanying materials
|
All rights reserved. This program and the accompanying materials
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/** @file
|
/** @file
|
||||||
GUIDs used for MPS entries in the EFI 1.0 system table
|
GUIDs used for MPS entries in the UEFI 2.0 system table
|
||||||
ACPI is the primary means of exporting MP information to the OS. MPS obly was
|
ACPI is the primary means of exporting MP information to the OS. MPS obly was
|
||||||
included to support Itanium-based platform power on. So don't use it if you don't have too.
|
included to support Itanium-based platform power on. So don't use it if you don't have too.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/** @file
|
/** @file
|
||||||
GUIDs used to locate the SMBIOS tables in the EFI 1.0 system table.
|
GUIDs used to locate the SMBIOS tables in the UEFI 2.0 system table.
|
||||||
|
|
||||||
This GUID in the system table is the only legal way to search for and
|
This GUID in the system table is the only legal way to search for and
|
||||||
locate the SMBIOS tables. Do not search the 0xF0000 segment to find SMBIOS
|
locate the SMBIOS tables. Do not search the 0xF0000 segment to find SMBIOS
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/** @file
|
/** @file
|
||||||
Block IO protocol as defined in the EFI 1.0 specification.
|
Block IO protocol as defined in the UEFI 2.0 specification.
|
||||||
|
|
||||||
The Block IO protocol is used to abstract block devices like hard drives,
|
The Block IO protocol is used to abstract block devices like hard drives,
|
||||||
DVD-ROMs and floppy drives.
|
DVD-ROMs and floppy drives.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/** @file
|
/** @file
|
||||||
Bus Specific Driver Override protocol as defined in the EFI 1.1 specification.
|
Bus Specific Driver Override protocol as defined in the UEFI 2.0 specification.
|
||||||
|
|
||||||
Copyright (c) 2006, Intel Corporation
|
Copyright (c) 2006, Intel Corporation
|
||||||
All rights reserved. This program and the accompanying materials
|
All rights reserved. This program and the accompanying materials
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/** @file
|
/** @file
|
||||||
Device IO protocol as defined in the EFI 1.0 specification.
|
Device IO protocol as defined in the EFI 1.10 specification.
|
||||||
|
|
||||||
Device IO is used to abstract hardware access to devices. It includes
|
Device IO is used to abstract hardware access to devices. It includes
|
||||||
memory mapped IO, IO, PCI Config space, and DMA.
|
memory mapped IO, IO, PCI Config space, and DMA.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/** @file
|
/** @file
|
||||||
The device path protocol as defined in EFI 1.0.
|
The device path protocol as defined in UEFI 2.0.
|
||||||
|
|
||||||
The device path represents a programatic path to a device. It's the view
|
The device path represents a programatic path to a device. It's the view
|
||||||
from a software point of view. It also must persist from boot to boot, so
|
from a software point of view. It also must persist from boot to boot, so
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/** @file
|
/** @file
|
||||||
Disk IO protocol as defined in the EFI 1.0 specification.
|
Disk IO protocol as defined in the UEFI 2.0 specification.
|
||||||
|
|
||||||
The Disk IO protocol is used to convert block oriented devices into byte
|
The Disk IO protocol is used to convert block oriented devices into byte
|
||||||
oriented devices. The Disk IO protocol is intended to layer on top of the
|
oriented devices. The Disk IO protocol is intended to layer on top of the
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
#include <Protocol/DriverConfiguration2.h>
|
#include <Protocol/DriverConfiguration2.h>
|
||||||
|
|
||||||
//
|
//
|
||||||
// Global ID for the Driver Configuration Protocol defined in EFI 1.10
|
// Global ID for the Driver Configuration Protocol defined in UEFI 2.0
|
||||||
//
|
//
|
||||||
#define EFI_DRIVER_CONFIGURATION_PROTOCOL_GUID \
|
#define EFI_DRIVER_CONFIGURATION_PROTOCOL_GUID \
|
||||||
{ \
|
{ \
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
#define __EFI_DRIVER_DIAGNOSTICS_H__
|
#define __EFI_DRIVER_DIAGNOSTICS_H__
|
||||||
|
|
||||||
//
|
//
|
||||||
// Global ID for the Driver Diagnostics Protocol as defined in EFI 1.10.
|
// Global ID for the Driver Diagnostics Protocol as defined in UEFI 2.0.
|
||||||
//
|
//
|
||||||
#define EFI_DRIVER_DIAGNOSTICS_PROTOCOL_GUID \
|
#define EFI_DRIVER_DIAGNOSTICS_PROTOCOL_GUID \
|
||||||
{ \
|
{ \
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
/** @file
|
/** @file
|
||||||
Load File protocol as defined in the EFI 1.0 specification.
|
Load File protocol as defined in the UEFI 2.0 specification.
|
||||||
|
|
||||||
Load file protocol exists to supports the addition of new boot devices,
|
Load file protocol exists to supports the addition of new boot devices,
|
||||||
and to support booting from devices that do not map well to file system.
|
and to support booting from devices that do not map well to file system.
|
||||||
Network boot is done via a LoadFile protocol.
|
Network boot is done via a LoadFile protocol.
|
||||||
|
|
||||||
EFI 1.0 can boot from any device that produces a LoadFile protocol.
|
UEFI 2.0 can boot from any device that produces a LoadFile protocol.
|
||||||
|
|
||||||
Copyright (c) 2006, Intel Corporation
|
Copyright (c) 2006, Intel Corporation
|
||||||
All rights reserved. This program and the accompanying materials
|
All rights reserved. This program and the accompanying materials
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/** @file
|
/** @file
|
||||||
EFI 1.0 Loaded image protocol definition.
|
UEFI 2.0 Loaded image protocol definition.
|
||||||
|
|
||||||
Every EFI driver and application is passed an image handle when it is loaded.
|
Every EFI driver and application is passed an image handle when it is loaded.
|
||||||
This image handle will contain a Loaded Image Protocol.
|
This image handle will contain a Loaded Image Protocol.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/** @file
|
/** @file
|
||||||
PCI Root Bridge I/O protocol as defined in the EFI 1.1 specification.
|
PCI Root Bridge I/O protocol as defined in the UEFI 2.0 specification.
|
||||||
|
|
||||||
PCI Root Bridge I/O protocol is used by PCI Bus Driver to perform PCI Memory, PCI I/O,
|
PCI Root Bridge I/O protocol is used by PCI Bus Driver to perform PCI Memory, PCI I/O,
|
||||||
and PCI Configuration cycles on a PCI Root Bridge. It also provides services to perform
|
and PCI Configuration cycles on a PCI Root Bridge. It also provides services to perform
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/** @file
|
/** @file
|
||||||
Platform Driver Override protocol as defined in the EFI 1.1 specification.
|
Platform Driver Override protocol as defined in the UEFI 2.1 specification.
|
||||||
|
|
||||||
Copyright (c) 2006, Intel Corporation
|
Copyright (c) 2006, Intel Corporation
|
||||||
All rights reserved. This program and the accompanying materials
|
All rights reserved. This program and the accompanying materials
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
This code abstracts time and data functions. Used to provide
|
This code abstracts time and data functions. Used to provide
|
||||||
Time and date related EFI runtime services.
|
Time and date related EFI runtime services.
|
||||||
|
|
||||||
The GetTime (), SetTime (), GetWakeupTime (), and SetWakeupTime () EFI 1.0
|
The GetTime (), SetTime (), GetWakeupTime (), and SetWakeupTime () UEFI 2.0
|
||||||
services are added to the EFI system table and the
|
services are added to the EFI system table and the
|
||||||
EFI_REAL_TIME_CLOCK_ARCH_PROTOCOL_GUID protocol is registered with a NULL
|
EFI_REAL_TIME_CLOCK_ARCH_PROTOCOL_GUID protocol is registered with a NULL
|
||||||
pointer.
|
pointer.
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Used to provide ResetSystem runtime services
|
Used to provide ResetSystem runtime services
|
||||||
|
|
||||||
The ResetSystem () EFI 1.0 service is added to the EFI system table and the
|
The ResetSystem () UEFI 2.0 service is added to the EFI system table and the
|
||||||
EFI_RESET_ARCH_PROTOCOL_GUID protocol is registered with a NULL pointer.
|
EFI_RESET_ARCH_PROTOCOL_GUID protocol is registered with a NULL pointer.
|
||||||
|
|
||||||
No CRC of the EFI system table is required, as it is done in the DXE core.
|
No CRC of the EFI system table is required, as it is done in the DXE core.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/** @file
|
/** @file
|
||||||
Runtime Architectural Protocol as defined in DXE CIS
|
Runtime Architectural Protocol as defined in DXE CIS
|
||||||
|
|
||||||
This code is used to produce the EFI 1.0 runtime virtual switch over
|
This code is used to produce the UEFI 2.0 runtime virtual switch over
|
||||||
|
|
||||||
This driver must add SetVirtualAddressMap () and ConvertPointer () to
|
This driver must add SetVirtualAddressMap () and ConvertPointer () to
|
||||||
the EFI system table. This driver is not responcible for CRCing the
|
the EFI system table. This driver is not responcible for CRCing the
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/** @file
|
/** @file
|
||||||
Serial IO protocol as defined in the EFI 1.0 specification.
|
Serial IO protocol as defined in the UEFI 2.0 specification.
|
||||||
|
|
||||||
Abstraction of a basic serial device. Targeted at 16550 UART, but
|
Abstraction of a basic serial device. Targeted at 16550 UART, but
|
||||||
could be much more generic.
|
could be much more generic.
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
/** @file
|
/** @file
|
||||||
SimpleFileSystem protocol as defined in the EFI 1.0 specification.
|
SimpleFileSystem protocol as defined in the UEFI 2.0 specification.
|
||||||
|
|
||||||
The SimpleFileSystem protocol is the programatic access to the FAT (12,16,32)
|
The SimpleFileSystem protocol is the programatic access to the FAT (12,16,32)
|
||||||
file system specified in EFI 1.0. It can also be used to abstract a file
|
file system specified in UEFI 2.0. It can also be used to abstract a file
|
||||||
system other than FAT.
|
system other than FAT.
|
||||||
|
|
||||||
EFI 1.0 can boot from any valid EFI image contained in a SimpleFileSystem
|
UEFI 2.0 can boot from any valid EFI image contained in a SimpleFileSystem
|
||||||
|
|
||||||
Copyright (c) 2006, Intel Corporation
|
Copyright (c) 2006, Intel Corporation
|
||||||
All rights reserved. This program and the accompanying materials
|
All rights reserved. This program and the accompanying materials
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/** @file
|
/** @file
|
||||||
Simple Network protocol as defined in the EFI 1.0 specification.
|
Simple Network protocol as defined in the UEFI 2.0 specification.
|
||||||
|
|
||||||
Basic network device abstraction.
|
Basic network device abstraction.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/** @file
|
/** @file
|
||||||
Simple Pointer protocol from the EFI 1.1 specification.
|
Simple Pointer protocol from the UEFI 2.0 specification.
|
||||||
|
|
||||||
Abstraction of a very simple pointer device like a mice or tracekballs.
|
Abstraction of a very simple pointer device like a mice or tracekballs.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/** @file
|
/** @file
|
||||||
Simple Text In protocol from the EFI 1.0 specification.
|
Simple Text In protocol from the UEFI 2.0 specification.
|
||||||
|
|
||||||
Abstraction of a very simple input device like a keyboard or serial
|
Abstraction of a very simple input device like a keyboard or serial
|
||||||
terminal.
|
terminal.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/** @file
|
/** @file
|
||||||
Simple Text Out protocol from the EFI 1.0 specification.
|
Simple Text Out protocol from the UEFI 2.0 specification.
|
||||||
|
|
||||||
Abstraction of a very simple text based output device like VGA text mode or
|
Abstraction of a very simple text based output device like VGA text mode or
|
||||||
a serial terminal. The Simple Text Out protocol instance can represent
|
a serial terminal. The Simple Text Out protocol instance can represent
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/** @file
|
/** @file
|
||||||
UGA Draw protocol from the EFI 1.1 specification.
|
UGA Draw protocol from the EFI 1.10 specification.
|
||||||
|
|
||||||
Abstraction of a very simple graphics device.
|
Abstraction of a very simple graphics device.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/** @file
|
/** @file
|
||||||
UGA IO protocol from the EFI 1.1 specification.
|
UGA IO protocol from the EFI 1.10 specification.
|
||||||
|
|
||||||
Abstraction of a very simple graphics device.
|
Abstraction of a very simple graphics device.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/** @file
|
/** @file
|
||||||
Unicode Collation protocol that follows the EFI 1.0 specification.
|
Unicode Collation protocol that follows the UEFI 2.0 specification.
|
||||||
|
|
||||||
Copyright (c) 2006, Intel Corporation
|
Copyright (c) 2006, Intel Corporation
|
||||||
All rights reserved. This program and the accompanying materials
|
All rights reserved. This program and the accompanying materials
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
/** @file
|
/** @file
|
||||||
Variable Architectural Protocol as defined in the DXE CIS
|
Variable Architectural Protocol as defined in the DXE CIS
|
||||||
|
|
||||||
This code is used to produce the EFI 1.0 runtime variable services
|
This code is used to produce the UEFI 2.0 runtime variable services
|
||||||
|
|
||||||
The GetVariable (), GetNextVariableName (), and SetVariable () EFI 1.0
|
The GetVariable (), GetNextVariableName (), and SetVariable () UEFI 2.0
|
||||||
services are added to the EFI system table and the
|
services are added to the EFI system table and the
|
||||||
EFI_VARIABLE_ARCH_PROTOCOL_GUID protocol is registered with a NULL pointer.
|
EFI_VARIABLE_ARCH_PROTOCOL_GUID protocol is registered with a NULL pointer.
|
||||||
|
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
/** @file
|
/** @file
|
||||||
Variable Write Architectural Protocol as defined in the DXE CIS
|
Variable Write Architectural Protocol as defined in the DXE CIS
|
||||||
|
|
||||||
This code is used to produce the EFI 1.0 runtime variable services
|
This code is used to produce the UEFI 2.0 runtime variable services
|
||||||
|
|
||||||
The SetVariable () EFI 1.0 services may be updated to the EFI system table and the
|
The SetVariable () UEFI 2.0 services may be updated to the EFI system table and the
|
||||||
EFI_VARIABLE_WRITE_ARCH_PROTOCOL_GUID protocol is registered with a NULL pointer.
|
EFI_VARIABLE_WRITE_ARCH_PROTOCOL_GUID protocol is registered with a NULL pointer.
|
||||||
|
|
||||||
No CRC of the EFI system table is required, as it is done in the DXE core.
|
No CRC of the EFI system table is required, as it is done in the DXE core.
|
||||||
|
@ -1284,7 +1284,7 @@ PeCoffLoaderRelocateImageForRuntime (
|
|||||||
|
|
||||||
case EFI_IMAGE_REL_BASED_HIGHADJ:
|
case EFI_IMAGE_REL_BASED_HIGHADJ:
|
||||||
//
|
//
|
||||||
// Not implemented, but not used in EFI 1.0
|
// Not implemented, but not used in UEFI 2.0
|
||||||
//
|
//
|
||||||
ASSERT (FALSE);
|
ASSERT (FALSE);
|
||||||
break;
|
break;
|
||||||
|
@ -768,7 +768,7 @@ UefiDecompress (
|
|||||||
}
|
}
|
||||||
//
|
//
|
||||||
// The length of the field 'Position Set Code Length Array Size' in Block Header.
|
// The length of the field 'Position Set Code Length Array Size' in Block Header.
|
||||||
// For EFI 1.1 de/compression algorithm(Version 1), mPBit = 4
|
// For UEFI 2.0 de/compression algorithm(Version 1), mPBit = 4
|
||||||
// For Tiano de/compression algorithm(Version 2), mPBit = 5
|
// For Tiano de/compression algorithm(Version 2), mPBit = 5
|
||||||
//
|
//
|
||||||
Sd->mPBit = 4;
|
Sd->mPBit = 4;
|
||||||
|
@ -63,7 +63,7 @@ typedef struct {
|
|||||||
|
|
||||||
///
|
///
|
||||||
/// The length of the field 'Position Set Code Length Array Size' in Block Header.
|
/// The length of the field 'Position Set Code Length Array Size' in Block Header.
|
||||||
/// For EFI 1.1 de/compression algorithm, mPBit = 4
|
/// For UEFI 2.0 de/compression algorithm, mPBit = 4
|
||||||
/// For Tiano de/compression algorithm, mPBit = 5
|
/// For Tiano de/compression algorithm, mPBit = 5
|
||||||
///
|
///
|
||||||
UINT8 mPBit;
|
UINT8 mPBit;
|
||||||
|
@ -100,7 +100,7 @@ OemHookStatusCodeInitialize (
|
|||||||
|
|
||||||
@param CallerId This optional parameter may be used to identify the caller.
|
@param CallerId This optional parameter may be used to identify the caller.
|
||||||
This parameter allows the status code driver to apply different rules to different callers.
|
This parameter allows the status code driver to apply different rules to different callers.
|
||||||
Type EFI_GUID is defined in InstallProtocolInterface() in the EFI 1.10 Specification.
|
Type EFI_GUID is defined in InstallProtocolInterface() in the UEFI 2.0 Specification.
|
||||||
|
|
||||||
|
|
||||||
@param Data This optional parameter may be used to pass additional data
|
@param Data This optional parameter may be used to pass additional data
|
||||||
|
@ -90,7 +90,7 @@ BdsLibBootViaBootOption (
|
|||||||
|
|
||||||
Routine Description:
|
Routine Description:
|
||||||
|
|
||||||
Process the boot option follow the EFI 1.1 specification and
|
Process the boot option follow the UEFI 2.0 specification and
|
||||||
special treat the legacy boot option with BBS_DEVICE_PATH.
|
special treat the legacy boot option with BBS_DEVICE_PATH.
|
||||||
|
|
||||||
Arguments:
|
Arguments:
|
||||||
@ -197,7 +197,7 @@ Returns:
|
|||||||
BdsLibRegisterNewOption (&TempBootLists, DevicePath, L"EFI Internal Shell", L"BootOrder");
|
BdsLibRegisterNewOption (&TempBootLists, DevicePath, L"EFI Internal Shell", L"BootOrder");
|
||||||
}
|
}
|
||||||
|
|
||||||
DEBUG ((EFI_D_INFO | EFI_D_LOAD, "Booting EFI 1.1 way %S\n", Option->Description));
|
DEBUG ((EFI_D_INFO | EFI_D_LOAD, "Booting UEFI 2.0 way %S\n", Option->Description));
|
||||||
|
|
||||||
Status = gBS->LoadImage (
|
Status = gBS->LoadImage (
|
||||||
TRUE,
|
TRUE,
|
||||||
|
@ -342,7 +342,7 @@ Returns:
|
|||||||
|
|
||||||
do {
|
do {
|
||||||
//
|
//
|
||||||
// Connect All EFI 1.10 drivers following EFI 1.10 algorithm
|
// Connect All UEFI 2.0 drivers following UEFI 2.0 algorithm
|
||||||
//
|
//
|
||||||
BdsLibConnectAllEfi ();
|
BdsLibConnectAllEfi ();
|
||||||
|
|
||||||
|
@ -109,7 +109,7 @@ OemHookStatusCodeInitialize (
|
|||||||
|
|
||||||
@param CallerId This optional parameter may be used to identify the caller.
|
@param CallerId This optional parameter may be used to identify the caller.
|
||||||
This parameter allows the status code driver to apply different rules to different callers.
|
This parameter allows the status code driver to apply different rules to different callers.
|
||||||
Type EFI_GUID is defined in InstallProtocolInterface() in the EFI 1.10 Specification.
|
Type EFI_GUID is defined in InstallProtocolInterface() in the UEFI 2.0 Specification.
|
||||||
|
|
||||||
|
|
||||||
@param Data This optional parameter may be used to pass additional data
|
@param Data This optional parameter may be used to pass additional data
|
||||||
|
@ -422,7 +422,7 @@ PlatformBdsBootSuccess (
|
|||||||
Routine Description:
|
Routine Description:
|
||||||
|
|
||||||
Hook point after a boot attempt succeeds. We don't expect a boot option to
|
Hook point after a boot attempt succeeds. We don't expect a boot option to
|
||||||
return, so the EFI 1.0 specification defines that you will default to an
|
return, so the UEFI 2.0 specification defines that you will default to an
|
||||||
interactive mode and stop processing the BootOrder list in this case. This
|
interactive mode and stop processing the BootOrder list in this case. This
|
||||||
is alos a platform implementation and can be customized by IBV/OEM.
|
is alos a platform implementation and can be customized by IBV/OEM.
|
||||||
|
|
||||||
|
@ -317,7 +317,7 @@ Returns:
|
|||||||
PlatformBdsInit (PrivateData);
|
PlatformBdsInit (PrivateData);
|
||||||
|
|
||||||
//
|
//
|
||||||
// Set up the device list based on EFI 1.1 variables
|
// Set up the device list based on UEFI 2.0 variables
|
||||||
// process Driver#### and Load the driver's in the
|
// process Driver#### and Load the driver's in the
|
||||||
// driver option list
|
// driver option list
|
||||||
//
|
//
|
||||||
|
@ -222,7 +222,7 @@ WinNtGopDestructor (
|
|||||||
;
|
;
|
||||||
|
|
||||||
//
|
//
|
||||||
// EFI 1.1 driver model prototypes for Win NT GOP
|
// UEFI 2.0 driver model prototypes for Win NT GOP
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ Module Name:
|
|||||||
Abstract:
|
Abstract:
|
||||||
|
|
||||||
This file produces the graphics abstration of GOP. It is called by
|
This file produces the graphics abstration of GOP. It is called by
|
||||||
WinNtGopDriver.c file which deals with the EFI 1.1 driver model.
|
WinNtGopDriver.c file which deals with the UEFI 2.0 driver model.
|
||||||
This file just does graphics.
|
This file just does graphics.
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user