diff options
author | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-04-25 05:51:23 +0000 |
---|---|---|
committer | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-04-25 05:51:23 +0000 |
commit | abea19dbe10720a4ef4f9e688996d71a493cebe9 (patch) | |
tree | a27ccd6b591aa35c094d9f076975e146447dc1b2 /MdePkg/Library/UefiLib | |
parent | ee19dec64fba479016c168daa80bc61fbd395936 (diff) | |
download | edk2-platforms-abea19dbe10720a4ef4f9e688996d71a493cebe9.tar.xz |
PeiSmbusLib & DxeSmbusLib
Remove Arp Related interfaces
Change the return type of SmbusQuickWrite from “BOOLEAN” to “VOID”
Complete interface SmBusBlockProcessCall()
Make the PEC bit “bit 21” of SMBUS address. If data show that MSB helps to save code size in BaseSmbusLib, we may simply redefine it to be MAX_BIT.
UefiLib
Modify the interfaces in UefiNotTiano.c to sync with spec
MemoryAllocationLib
Add extra checking in “Aligned” Memory services to prevent “AllocationSize + OverAllocation” overflow in DxeMemoryAllocationLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@23 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/UefiLib')
-rw-r--r-- | MdePkg/Library/UefiLib/UefiNotTiano.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/MdePkg/Library/UefiLib/UefiNotTiano.c b/MdePkg/Library/UefiLib/UefiNotTiano.c index 2ac12f1b3a..f883c1d3c6 100644 --- a/MdePkg/Library/UefiLib/UefiNotTiano.c +++ b/MdePkg/Library/UefiLib/UefiNotTiano.c @@ -37,7 +37,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. EFI_STATUS
EFIAPI
EfiCreateEventLegacyBoot (
- OUT EFI_EVENT *LegacyBootEvent
+ OUT EFI_EVENT *LegacyBootEvent
)
{
EFI_STATUS Status;
@@ -92,7 +92,7 @@ EfiCreateEventLegacyBoot ( EFI_STATUS
EFIAPI
EfiCreateEventReadyToBoot (
- IN EFI_EVENT *ReadyToBootEvent
+ OUT EFI_EVENT *ReadyToBootEvent
)
{
EFI_STATUS Status;
@@ -196,7 +196,7 @@ EfiSignalEventLegacyBoot ( EFI_GUID *
EFIAPI
EfiGetNameGuidFromFwVolDevicePathNode (
- IN MEDIA_FW_VOL_FILEPATH_DEVICE_PATH *FvDevicePathNode
+ IN CONST MEDIA_FW_VOL_FILEPATH_DEVICE_PATH *FvDevicePathNode
)
{
ASSERT (FvDevicePathNode != NULL);
@@ -207,7 +207,7 @@ EfiGetNameGuidFromFwVolDevicePathNode ( //
if (DevicePathType (&FvDevicePathNode->Header) == MEDIA_DEVICE_PATH ||
DevicePathSubType (&FvDevicePathNode->Header) == MEDIA_FV_FILEPATH_DP) {
- return &FvDevicePathNode->NameGuid;
+ return (EFI_GUID *) &FvDevicePathNode->NameGuid;
}
#else
@@ -218,7 +218,7 @@ EfiGetNameGuidFromFwVolDevicePathNode ( FvDevicePathNode->Piwg.Header.SubType == MEDIA_VENDOR_DP) {
if (CompareGuid (&gEfiFrameworkDevicePathGuid, &FvDevicePathNode->Piwg.PiwgSpecificDevicePath)) {
if (FvDevicePathNode->Piwg.Type == PIWG_MEDIA_FW_VOL_FILEPATH_DEVICE_PATH_TYPE) {
- return &FvDevicePathNode->NameGuid;
+ return (EFI_GUID *) &FvDevicePathNode->NameGuid;
}
}
}
@@ -237,15 +237,15 @@ EfiGetNameGuidFromFwVolDevicePathNode ( is compiled to conform with the UEFI 2.0 specification use the new device path
else use the old form for backwards compatability.
- @param FvDevicePathNode Pointer to a FV device path node to initialize
- @param NameGuid FV file name to use in FvDevicePathNode
+ @param FvDevicePathNode Pointer to a FV device path node to initialize
+ @param NameGuid FV file name to use in FvDevicePathNode
**/
VOID
EFIAPI
EfiInitializeFwVolDevicepathNode (
- IN MEDIA_FW_VOL_FILEPATH_DEVICE_PATH *FvDevicePathNode,
- IN EFI_GUID *NameGuid
+ IN OUT MEDIA_FW_VOL_FILEPATH_DEVICE_PATH *FvDevicePathNode,
+ IN CONST EFI_GUID *NameGuid
)
{
ASSERT (FvDevicePathNode != NULL);
|