summaryrefslogtreecommitdiff
path: root/MdePkg/Library/UefiLib
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/UefiLib')
-rw-r--r--MdePkg/Library/UefiLib/UefiNotTiano.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/MdePkg/Library/UefiLib/UefiNotTiano.c b/MdePkg/Library/UefiLib/UefiNotTiano.c
index 2ac12f1..f883c1d 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);