mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-30 00:54:06 +02:00
Fix some typo.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7160 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
a388ec434a
commit
3fd8027ee5
@ -80,7 +80,7 @@ FreeMappingDatabase (
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Create the mappging database according to variable.
|
Create the mapping database according to variable.
|
||||||
|
|
||||||
Read the environment variable(s) that contain the override mappings from Controller Device Path to
|
Read the environment variable(s) that contain the override mappings from Controller Device Path to
|
||||||
a set of Driver Device Paths, and create the mapping database in memory with those variable info.
|
a set of Driver Device Paths, and create the mapping database in memory with those variable info.
|
||||||
|
@ -50,7 +50,7 @@ BdsLibDoLegacyBoot (
|
|||||||
return EFI_UNSUPPORTED;
|
return EFI_UNSUPPORTED;
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
// Notes: if we seperate the int 19, then we don't need to refresh BBS
|
// Notes: if we separate the int 19, then we don't need to refresh BBS
|
||||||
//
|
//
|
||||||
BdsRefreshBbsTableForBoot (Option);
|
BdsRefreshBbsTableForBoot (Option);
|
||||||
|
|
||||||
@ -77,7 +77,7 @@ BdsLibDoLegacyBoot (
|
|||||||
|
|
||||||
@param Option The boot option need to be processed
|
@param Option The boot option need to be processed
|
||||||
@param DevicePath The device path which describe where to load the
|
@param DevicePath The device path which describe where to load the
|
||||||
boot image or the legcy BBS device path to boot
|
boot image or the legacy BBS device path to boot
|
||||||
the legacy OS
|
the legacy OS
|
||||||
@param ExitDataSize The size of exit data.
|
@param ExitDataSize The size of exit data.
|
||||||
@param ExitData Data returned when Boot image failed.
|
@param ExitData Data returned when Boot image failed.
|
||||||
@ -175,6 +175,7 @@ BdsLibBootViaBootOption (
|
|||||||
FreePool(Option->DevicePath);
|
FreePool(Option->DevicePath);
|
||||||
}
|
}
|
||||||
Option->DevicePath = AllocateZeroPool (GetDevicePathSize (DevicePath));
|
Option->DevicePath = AllocateZeroPool (GetDevicePathSize (DevicePath));
|
||||||
|
ASSERT(Option->DevicePath != NULL);
|
||||||
CopyMem (Option->DevicePath, DevicePath, GetDevicePathSize (DevicePath));
|
CopyMem (Option->DevicePath, DevicePath, GetDevicePathSize (DevicePath));
|
||||||
//
|
//
|
||||||
// Update the shell boot option
|
// Update the shell boot option
|
||||||
@ -286,7 +287,7 @@ Done:
|
|||||||
/**
|
/**
|
||||||
Expand a device path that starts with a hard drive media device path node to be a
|
Expand a device path that starts with a hard drive media device path node to be a
|
||||||
full device path that includes the full hardware path to the device. We need
|
full device path that includes the full hardware path to the device. We need
|
||||||
to do this so it can be booted. As an optimizaiton the front match (the part point
|
to do this so it can be booted. As an optimization the front match (the part point
|
||||||
to the partition node. E.g. ACPI() /PCI()/ATA()/Partition() ) is saved in a variable
|
to the partition node. E.g. ACPI() /PCI()/ATA()/Partition() ) is saved in a variable
|
||||||
so a connect all is not required on every boot. All successful history device path
|
so a connect all is not required on every boot. All successful history device path
|
||||||
which point to partition node (the front part) will be saved.
|
which point to partition node (the front part) will be saved.
|
||||||
@ -338,8 +339,8 @@ BdsExpandPartitionPartialDevicePathToFull (
|
|||||||
do {
|
do {
|
||||||
//
|
//
|
||||||
// Check every instance of the variable
|
// Check every instance of the variable
|
||||||
// First, check wheather the instance contain the partition node, which is needed for distinguishing multi
|
// First, check whether the instance contain the partition node, which is needed for distinguishing multi
|
||||||
// partial partition boot option. Second, check wheather the instance could be connected.
|
// partial partition boot option. Second, check whether the instance could be connected.
|
||||||
//
|
//
|
||||||
Instance = GetNextDevicePathInstance (&TempNewDevicePath, &Size);
|
Instance = GetNextDevicePathInstance (&TempNewDevicePath, &Size);
|
||||||
if (MatchPartitionDevicePathNode (Instance, HardDriveDevicePath)) {
|
if (MatchPartitionDevicePathNode (Instance, HardDriveDevicePath)) {
|
||||||
@ -363,13 +364,13 @@ BdsExpandPartitionPartialDevicePathToFull (
|
|||||||
if (DeviceExist) {
|
if (DeviceExist) {
|
||||||
//
|
//
|
||||||
// Find the matched device path.
|
// Find the matched device path.
|
||||||
// Append the file path infomration from the boot option and return the fully expanded device path.
|
// Append the file path information from the boot option and return the fully expanded device path.
|
||||||
//
|
//
|
||||||
DevicePath = NextDevicePathNode ((EFI_DEVICE_PATH_PROTOCOL *) HardDriveDevicePath);
|
DevicePath = NextDevicePathNode ((EFI_DEVICE_PATH_PROTOCOL *) HardDriveDevicePath);
|
||||||
FullDevicePath = AppendDevicePath (Instance, DevicePath);
|
FullDevicePath = AppendDevicePath (Instance, DevicePath);
|
||||||
|
|
||||||
//
|
//
|
||||||
// Adjust the 'HDDP' instances sequense if the matched one is not first one.
|
// Adjust the 'HDDP' instances sequence if the matched one is not first one.
|
||||||
//
|
//
|
||||||
if (NeedAdjust) {
|
if (NeedAdjust) {
|
||||||
//
|
//
|
||||||
@ -380,7 +381,7 @@ BdsExpandPartitionPartialDevicePathToFull (
|
|||||||
FreePool (TempNewDevicePath);
|
FreePool (TempNewDevicePath);
|
||||||
|
|
||||||
//
|
//
|
||||||
// Second, append the remaining parth after the matched instance
|
// Second, append the remaining path after the matched instance
|
||||||
//
|
//
|
||||||
TempNewDevicePath = CachedDevicePath;
|
TempNewDevicePath = CachedDevicePath;
|
||||||
CachedDevicePath = AppendDevicePathInstance (Instance, CachedDevicePath );
|
CachedDevicePath = AppendDevicePathInstance (Instance, CachedDevicePath );
|
||||||
@ -405,7 +406,7 @@ BdsExpandPartitionPartialDevicePathToFull (
|
|||||||
|
|
||||||
//
|
//
|
||||||
// If we get here we fail to find or 'HDDP' not exist, and now we need
|
// If we get here we fail to find or 'HDDP' not exist, and now we need
|
||||||
// to seach all devices in the system for a matched partition
|
// to search all devices in the system for a matched partition
|
||||||
//
|
//
|
||||||
BdsLibConnectAllDriversToAllControllers ();
|
BdsLibConnectAllDriversToAllControllers ();
|
||||||
Status = gBS->LocateHandleBuffer (ByProtocol, &gEfiBlockIoProtocolGuid, NULL, &BlockIoHandleCount, &BlockIoBuffer);
|
Status = gBS->LocateHandleBuffer (ByProtocol, &gEfiBlockIoProtocolGuid, NULL, &BlockIoHandleCount, &BlockIoBuffer);
|
||||||
@ -434,11 +435,11 @@ BdsExpandPartitionPartialDevicePathToFull (
|
|||||||
FullDevicePath = AppendDevicePath (BlockIoDevicePath, DevicePath);
|
FullDevicePath = AppendDevicePath (BlockIoDevicePath, DevicePath);
|
||||||
|
|
||||||
//
|
//
|
||||||
// Save the matched patition device path in 'HDDP' variable
|
// Save the matched partition device path in 'HDDP' variable
|
||||||
//
|
//
|
||||||
if (CachedDevicePath != NULL) {
|
if (CachedDevicePath != NULL) {
|
||||||
//
|
//
|
||||||
// Save the matched patition device path as first instance of 'HDDP' variable
|
// Save the matched partition device path as first instance of 'HDDP' variable
|
||||||
//
|
//
|
||||||
if (BdsLibMatchDevicePaths (CachedDevicePath, BlockIoDevicePath)) {
|
if (BdsLibMatchDevicePaths (CachedDevicePath, BlockIoDevicePath)) {
|
||||||
TempNewDevicePath = CachedDevicePath;
|
TempNewDevicePath = CachedDevicePath;
|
||||||
@ -455,7 +456,7 @@ BdsExpandPartitionPartialDevicePathToFull (
|
|||||||
}
|
}
|
||||||
//
|
//
|
||||||
// Here limit the device path instance number to 12, which is max number for a system support 3 IDE controller
|
// Here limit the device path instance number to 12, which is max number for a system support 3 IDE controller
|
||||||
// If the user try to boot many OS in different HDs or partitions, in theary, the 'HDDP' variable maybe become larger and larger.
|
// If the user try to boot many OS in different HDs or partitions, in theory, the 'HDDP' variable maybe become larger and larger.
|
||||||
//
|
//
|
||||||
InstanceNum = 0;
|
InstanceNum = 0;
|
||||||
TempNewDevicePath = CachedDevicePath;
|
TempNewDevicePath = CachedDevicePath;
|
||||||
@ -806,7 +807,7 @@ BdsDeleteAllInvalidEfiBootOption (
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
This function will enumerate all possible boot device in the system,
|
This function will enumerate all possible boot device in the system,
|
||||||
it will only excute once of every boot.
|
it will only execute once of every boot.
|
||||||
|
|
||||||
@param BdsBootOptionList The header of the link list which indexed all
|
@param BdsBootOptionList The header of the link list which indexed all
|
||||||
current boot options
|
current boot options
|
||||||
@ -1286,7 +1287,7 @@ BdsLibGetBootableHandle (
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
//
|
//
|
||||||
// Get BlockIo protocal and check removable attribute
|
// Get BlockIo protocol and check removable attribute
|
||||||
//
|
//
|
||||||
Status = gBS->HandleProtocol (Handle, &gEfiBlockIoProtocolGuid, (VOID **)&BlockIo);
|
Status = gBS->HandleProtocol (Handle, &gEfiBlockIoProtocolGuid, (VOID **)&BlockIo);
|
||||||
//
|
//
|
||||||
@ -1315,7 +1316,7 @@ BdsLibGetBootableHandle (
|
|||||||
|
|
||||||
//
|
//
|
||||||
// If fail to get bootable handle specified by a USB boot option, the BDS should try to find other bootable device in the same USB bus
|
// If fail to get bootable handle specified by a USB boot option, the BDS should try to find other bootable device in the same USB bus
|
||||||
// Try to locate the USB node device path first, if fail then use its previour PCI node to search
|
// Try to locate the USB node device path first, if fail then use its previous PCI node to search
|
||||||
//
|
//
|
||||||
DupDevicePath = DuplicateDevicePath (DevicePath);
|
DupDevicePath = DuplicateDevicePath (DevicePath);
|
||||||
ASSERT (DupDevicePath != NULL);
|
ASSERT (DupDevicePath != NULL);
|
||||||
@ -1464,23 +1465,23 @@ BdsLibNetworkBootWithMediaPresent (
|
|||||||
|
|
||||||
@param DevicePath The bootable device Path to check
|
@param DevicePath The bootable device Path to check
|
||||||
|
|
||||||
@retval BDS_EFI_MEDIA_HD_BOOT If the device path contains any media deviec path node, it is media boot type
|
@retval BDS_EFI_MEDIA_HD_BOOT If the device path contains any media device path node, it is media boot type
|
||||||
For the floppy node, handle it as media node
|
For the floppy node, handle it as media node
|
||||||
@retval BDS_EFI_MEDIA_CDROM_BOOT If the device path contains any media deviec path node, it is media boot type
|
@retval BDS_EFI_MEDIA_CDROM_BOOT If the device path contains any media device path node, it is media boot type
|
||||||
For the floppy node, handle it as media node
|
For the floppy node, handle it as media node
|
||||||
@retval BDS_EFI_ACPI_FLOPPY_BOOT If the device path contains any media deviec path node, it is media boot type
|
@retval BDS_EFI_ACPI_FLOPPY_BOOT If the device path contains any media device path node, it is media boot type
|
||||||
For the floppy node, handle it as media node
|
For the floppy node, handle it as media node
|
||||||
@retval BDS_EFI_MESSAGE_ATAPI_BOOT If the device path not contains any media deviec path node, and
|
@retval BDS_EFI_MESSAGE_ATAPI_BOOT If the device path not contains any media device path node, and
|
||||||
its last device path node point to a message device path node, it is
|
its last device path node point to a message device path node, it is
|
||||||
|
|
||||||
@retval BDS_EFI_MESSAGE_SCSI_BOOT If the device path not contains any media deviec path node, and
|
@retval BDS_EFI_MESSAGE_SCSI_BOOT If the device path not contains any media device path node, and
|
||||||
its last device path node point to a message device path node, it is
|
its last device path node point to a message device path node, it is
|
||||||
@retval BDS_EFI_MESSAGE_USB_DEVICE_BOOT If the device path not contains any media deviec path node, and
|
@retval BDS_EFI_MESSAGE_USB_DEVICE_BOOT If the device path not contains any media device path node, and
|
||||||
its last device path node point to a message device path node, it is
|
its last device path node point to a message device path node, it is
|
||||||
@retval BDS_EFI_MESSAGE_MISC_BOOT If the device path not contains any media deviec path node, and
|
@retval BDS_EFI_MESSAGE_MISC_BOOT If the device path not contains any media device path node, and
|
||||||
its last device path node point to a message device path node, it is
|
its last device path node point to a message device path node, it is
|
||||||
@retval BDS_LEGACY_BBS_BOOT Legacy boot type
|
@retval BDS_LEGACY_BBS_BOOT Legacy boot type
|
||||||
@retval BDS_EFI_UNSUPPORT An EFI Removable BlockIO device path not point to a media and message devie,
|
@retval BDS_EFI_UNSUPPORT An EFI Removable BlockIO device path not point to a media and message device,
|
||||||
|
|
||||||
**/
|
**/
|
||||||
UINT32
|
UINT32
|
||||||
@ -1554,14 +1555,14 @@ BdsGetBootTypeFromDevicePath (
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Check whether the Device path in a boot option point to a valide bootable device,
|
Check whether the Device path in a boot option point to a valid bootable device,
|
||||||
And if CheckMedia is true, check the device is ready to boot now.
|
And if CheckMedia is true, check the device is ready to boot now.
|
||||||
|
|
||||||
@param DevPath the Device path in a boot option
|
@param DevPath the Device path in a boot option
|
||||||
@param CheckMedia if true, check the device is ready to boot now.
|
@param CheckMedia if true, check the device is ready to boot now.
|
||||||
|
|
||||||
@retval TRUE the Device path is valide
|
@retval TRUE the Device path is valid
|
||||||
@retval FALSE the Device path is invalide .
|
@retval FALSE the Device path is invalid .
|
||||||
|
|
||||||
**/
|
**/
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
@ -1707,7 +1708,7 @@ BdsLibIsValidEFIBootOptDevicePath (
|
|||||||
/**
|
/**
|
||||||
According to a file guild, check a Fv file device path is valid. If it is invalid,
|
According to a file guild, check a Fv file device path is valid. If it is invalid,
|
||||||
try to return the valid device path.
|
try to return the valid device path.
|
||||||
FV address maybe changes for memory layout adjust from time to time, use this funciton
|
FV address maybe changes for memory layout adjust from time to time, use this function
|
||||||
could promise the Fv file device path is right.
|
could promise the Fv file device path is right.
|
||||||
|
|
||||||
@param DevicePath on input, the Fv file device path need to check on
|
@param DevicePath on input, the Fv file device path need to check on
|
||||||
|
@ -18,7 +18,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||||||
/**
|
/**
|
||||||
This function will connect all the system driver to controller
|
This function will connect all the system driver to controller
|
||||||
first, and then special connect the default console, this make
|
first, and then special connect the default console, this make
|
||||||
sure all the system controller avialbe and the platform default
|
sure all the system controller available and the platform default
|
||||||
console connected.
|
console connected.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
@ -49,7 +49,7 @@ BdsLibConnectAll (
|
|||||||
/**
|
/**
|
||||||
This function will connect all the system drivers to all controllers
|
This function will connect all the system drivers to all controllers
|
||||||
first, and then connect all the console devices the system current
|
first, and then connect all the console devices the system current
|
||||||
have. After this we should get all the device work and console avariable
|
have. After this we should get all the device work and console available
|
||||||
if the system have console device.
|
if the system have console device.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
@ -320,8 +320,8 @@ BdsLibConnectAllDriversToAllControllers (
|
|||||||
@return EFI_INVALID_PARAMETER RemainingDevicePath is NULL pointer.
|
@return EFI_INVALID_PARAMETER RemainingDevicePath is NULL pointer.
|
||||||
RemainingDevicePath is not a USB device path.
|
RemainingDevicePath is not a USB device path.
|
||||||
Invalid HostControllerPI type.
|
Invalid HostControllerPI type.
|
||||||
@return EFI_SUCCESS Sucess to connect USB device
|
@return EFI_SUCCESS Success to connect USB device
|
||||||
@return EFI_NOT_FOUND Fail to find hanlde for USB controller to connect.
|
@return EFI_NOT_FOUND Fail to find handle for USB controller to connect.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
|
@ -37,7 +37,7 @@ PlatformBdsInit (
|
|||||||
Connect the predefined platform default console device. Always try to find
|
Connect the predefined platform default console device. Always try to find
|
||||||
and enable the vga device if have.
|
and enable the vga device if have.
|
||||||
|
|
||||||
@param PlatformConsole Predfined platform default console device array.
|
@param PlatformConsole Predefined platform default console device array.
|
||||||
|
|
||||||
@retval EFI_SUCCESS Success connect at least one ConIn and ConOut
|
@retval EFI_SUCCESS Success connect at least one ConIn and ConOut
|
||||||
device, there must have one ConOut device is
|
device, there must have one ConOut device is
|
||||||
@ -54,7 +54,7 @@ PlatformBdsConnectConsole (
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Connect with predeined platform connect sequence,
|
Connect with predefined platform connect sequence,
|
||||||
the OEM/IBV can customize with their own connect sequence.
|
the OEM/IBV can customize with their own connect sequence.
|
||||||
**/
|
**/
|
||||||
VOID
|
VOID
|
||||||
@ -82,7 +82,7 @@ PlatformBdsGetDriverOption (
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
Perform the platform diagnostic, such like test memory. OEM/IBV also
|
Perform the platform diagnostic, such like test memory. OEM/IBV also
|
||||||
can customize this fuction to support specific platform diagnostic.
|
can customize this function to support specific platform diagnostic.
|
||||||
|
|
||||||
@param MemoryTestLevel The memory test intensive level
|
@param MemoryTestLevel The memory test intensive level
|
||||||
@param QuietBoot Indicate if need to enable the quiet boot
|
@param QuietBoot Indicate if need to enable the quiet boot
|
||||||
@ -98,7 +98,7 @@ PlatformBdsDiagnostics (
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
The function will excute with as the platform policy, current policy
|
The function will execute with as the platform policy, current policy
|
||||||
is driven by boot mode. IBV/OEM can customize this code for their specific
|
is driven by boot mode. IBV/OEM can customize this code for their specific
|
||||||
policy action.
|
policy action.
|
||||||
|
|
||||||
@ -122,7 +122,7 @@ PlatformBdsPolicyBehavior (
|
|||||||
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 UEFI 2.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 also a platform implementation and can be customized by IBV/OEM.
|
||||||
|
|
||||||
@param Option Pointer to Boot Option that succeeded to boot.
|
@param Option Pointer to Boot Option that succeeded to boot.
|
||||||
|
|
||||||
|
@ -443,6 +443,7 @@ BuildPcdDxeDataBase (
|
|||||||
//
|
//
|
||||||
|
|
||||||
mCallbackFnTable = AllocateZeroPool (PCD_TOTAL_TOKEN_NUMBER * sizeof (LIST_ENTRY));
|
mCallbackFnTable = AllocateZeroPool (PCD_TOTAL_TOKEN_NUMBER * sizeof (LIST_ENTRY));
|
||||||
|
ASSERT(mCallbackFnTable != NULL);
|
||||||
|
|
||||||
// EBC compiler is very choosy. It may report warning about comparison
|
// EBC compiler is very choosy. It may report warning about comparison
|
||||||
// between UINTN and 0 . So we add 1 in each size of the
|
// between UINTN and 0 . So we add 1 in each size of the
|
||||||
@ -856,7 +857,7 @@ SetWorker (
|
|||||||
Wrapper function for get PCD value for dynamic-ex PCD.
|
Wrapper function for get PCD value for dynamic-ex PCD.
|
||||||
|
|
||||||
@param Guid Token space guid for dynamic-ex PCD.
|
@param Guid Token space guid for dynamic-ex PCD.
|
||||||
@param ExTokenNumber Token number for dyanmic-ex PCD.
|
@param ExTokenNumber Token number for dynamic-ex PCD.
|
||||||
@param GetSize The size of dynamic-ex PCD value.
|
@param GetSize The size of dynamic-ex PCD value.
|
||||||
|
|
||||||
@return PCD entry in PCD database.
|
@return PCD entry in PCD database.
|
||||||
@ -1079,7 +1080,7 @@ GetExPcdTokenNumber (
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Get SKU ID tabble from PCD database.
|
Get SKU ID table from PCD database.
|
||||||
|
|
||||||
@param LocalTokenNumberTableIdx Index of local token number in token number table.
|
@param LocalTokenNumberTableIdx Index of local token number in token number table.
|
||||||
@param IsPeiPcd If TRUE,
|
@param IsPeiPcd If TRUE,
|
||||||
@ -1290,7 +1291,7 @@ GetPtrTypeSize (
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Set size of POINTER type PCD value. The size should not exceed the maxmium size
|
Set size of POINTER type PCD value. The size should not exceed the maximum size
|
||||||
of this PCD value.
|
of this PCD value.
|
||||||
|
|
||||||
@param LocalTokenNumberTableIdx Index of local token number in local token number table.
|
@param LocalTokenNumberTableIdx Index of local token number in local token number table.
|
||||||
|
@ -32,7 +32,7 @@ Module Name: Service.h
|
|||||||
#include <Library/UefiRuntimeServicesTableLib.h>
|
#include <Library/UefiRuntimeServicesTableLib.h>
|
||||||
|
|
||||||
//
|
//
|
||||||
// Please make sure the PCD Serivce PEIM Version is consistent with
|
// Please make sure the PCD Service PEIM Version is consistent with
|
||||||
// the version of PCD Database generation tool
|
// the version of PCD Database generation tool
|
||||||
//
|
//
|
||||||
#define PCD_SERVICE_DXE_DRIVER_VERSION 2
|
#define PCD_SERVICE_DXE_DRIVER_VERSION 2
|
||||||
@ -153,7 +153,7 @@ DxePcdGet64 (
|
|||||||
|
|
||||||
@param[in] TokenNumber The PCD token number.
|
@param[in] TokenNumber The PCD token number.
|
||||||
|
|
||||||
@return The pointer to the buffer to be retrived.
|
@return The pointer to the buffer to be retrieved.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
VOID *
|
VOID *
|
||||||
@ -293,7 +293,7 @@ DxePcdGet64Ex (
|
|||||||
@param[in] Guid The token space for the token number.
|
@param[in] Guid The token space for the token number.
|
||||||
@param[in] TokenNumber The PCD token number.
|
@param[in] TokenNumber The PCD token number.
|
||||||
|
|
||||||
@return The pointer to the buffer to be retrived.
|
@return The pointer to the buffer to be retrieved.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
VOID *
|
VOID *
|
||||||
@ -862,7 +862,7 @@ GetWorker (
|
|||||||
Wrapper function for get PCD value for dynamic-ex PCD.
|
Wrapper function for get PCD value for dynamic-ex PCD.
|
||||||
|
|
||||||
@param Guid Token space guid for dynamic-ex PCD.
|
@param Guid Token space guid for dynamic-ex PCD.
|
||||||
@param ExTokenNumber Token number for dyanmic-ex PCD.
|
@param ExTokenNumber Token number for dynamic-ex PCD.
|
||||||
@param GetSize The size of dynamic-ex PCD value.
|
@param GetSize The size of dynamic-ex PCD value.
|
||||||
|
|
||||||
@return PCD entry in PCD database.
|
@return PCD entry in PCD database.
|
||||||
@ -1047,7 +1047,7 @@ ExGetNextTokeNumber (
|
|||||||
Get size of POINTER type PCD value.
|
Get size of POINTER type PCD value.
|
||||||
|
|
||||||
@param LocalTokenNumberTableIdx Index of local token number in local token number table.
|
@param LocalTokenNumberTableIdx Index of local token number in local token number table.
|
||||||
@param MaxSize Maxmium size of POINTER type PCD value.
|
@param MaxSize Maximum size of POINTER type PCD value.
|
||||||
|
|
||||||
@return size of POINTER type PCD value.
|
@return size of POINTER type PCD value.
|
||||||
|
|
||||||
@ -1059,7 +1059,7 @@ GetPtrTypeSize (
|
|||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Set size of POINTER type PCD value. The size should not exceed the maxmium size
|
Set size of POINTER type PCD value. The size should not exceed the maximum size
|
||||||
of this PCD value.
|
of this PCD value.
|
||||||
|
|
||||||
@param LocalTokenNumberTableIdx Index of local token number in local token number table.
|
@param LocalTokenNumberTableIdx Index of local token number in local token number table.
|
||||||
|
@ -205,7 +205,7 @@ PeiPcdGet64 (
|
|||||||
|
|
||||||
@param[in] TokenNumber The PCD token number.
|
@param[in] TokenNumber The PCD token number.
|
||||||
|
|
||||||
@return The pointer to the buffer to be retrived.
|
@return The pointer to the buffer to be retrieved.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
VOID *
|
VOID *
|
||||||
@ -402,7 +402,7 @@ PeiPcdGet64Ex (
|
|||||||
@param[in] Guid The token space for the token number.
|
@param[in] Guid The token space for the token number.
|
||||||
@param[in] ExTokenNumber The PCD token number.
|
@param[in] ExTokenNumber The PCD token number.
|
||||||
|
|
||||||
@return The pointer to the buffer to be retrived.
|
@return The pointer to the buffer to be retrieved.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
VOID *
|
VOID *
|
||||||
@ -1091,7 +1091,7 @@ PeiPcdGetNextTokenSpace (
|
|||||||
The max size of this PCD's value is described in PCD's definition in DEC file.
|
The max size of this PCD's value is described in PCD's definition in DEC file.
|
||||||
|
|
||||||
@param LocalTokenNumberTableIdx Index of PCD token number in PCD token table
|
@param LocalTokenNumberTableIdx Index of PCD token number in PCD token table
|
||||||
@param MaxSize Maxmium size of PCD's value
|
@param MaxSize Maximum size of PCD's value
|
||||||
@param Database Pcd database in PEI phase.
|
@param Database Pcd database in PEI phase.
|
||||||
|
|
||||||
@return PCD value's size for POINTER type PCD.
|
@return PCD value's size for POINTER type PCD.
|
||||||
@ -1162,11 +1162,11 @@ GetPtrTypeSize (
|
|||||||
The max size of this PCD's value is described in PCD's definition in DEC file.
|
The max size of this PCD's value is described in PCD's definition in DEC file.
|
||||||
|
|
||||||
@param LocalTokenNumberTableIdx Index of PCD token number in PCD token table
|
@param LocalTokenNumberTableIdx Index of PCD token number in PCD token table
|
||||||
@param CurrentSize Maxmium size of PCD's value
|
@param CurrentSize Maximum size of PCD's value
|
||||||
@param Database Pcd database in PEI phase.
|
@param Database Pcd database in PEI phase.
|
||||||
|
|
||||||
@retval TRUE Success to set PCD's value size, which is not exceed maxmium size
|
@retval TRUE Success to set PCD's value size, which is not exceed maximum size
|
||||||
@retval FALSE Fail to set PCD's value size, which maybe exceed maxmium size
|
@retval FALSE Fail to set PCD's value size, which maybe exceed maximum size
|
||||||
|
|
||||||
**/
|
**/
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
|
Loading…
x
Reference in New Issue
Block a user