Update RuntimeLib.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1482 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
yshang1
2006-09-06 09:18:14 +00:00
parent b4648de2bc
commit e8a3bee036
5 changed files with 55 additions and 68 deletions

View File

@@ -13,15 +13,12 @@ Module Name:
RuntimeService.c
Abstract:
Light weight lib to support Tiano drivers.
--*/
#include <RuntimeLibInternal.h>
VOID
EFIAPI
EfiResetSystem (
IN EFI_RESET_TYPE ResetType,
IN EFI_STATUS ResetStatus,
@@ -56,6 +53,7 @@ Returns:
// runtime service in the EFI system table.
//
EFI_STATUS
EFIAPI
EfiGetTime (
OUT EFI_TIME *Time,
OUT EFI_TIME_CAPABILITIES *Capabilities
@@ -83,6 +81,7 @@ Returns:
}
EFI_STATUS
EFIAPI
EfiSetTime (
IN EFI_TIME *Time
)
@@ -106,6 +105,7 @@ Returns:
}
EFI_STATUS
EFIAPI
EfiGetWakeupTime (
OUT BOOLEAN *Enabled,
OUT BOOLEAN *Pending,
@@ -133,6 +133,7 @@ Returns:
}
EFI_STATUS
EFIAPI
EfiSetWakeupTime (
IN BOOLEAN Enable,
IN EFI_TIME *Time
@@ -162,6 +163,7 @@ Returns:
EFI_STATUS
EFIAPI
EfiGetVariable (
IN CHAR16 *VariableName,
IN EFI_GUID * VendorGuid,
@@ -196,6 +198,7 @@ Returns:
}
EFI_STATUS
EFIAPI
EfiGetNextVariableName (
IN OUT UINTN *VariableNameSize,
IN OUT CHAR16 *VariableName,
@@ -228,6 +231,7 @@ Returns:
}
EFI_STATUS
EFIAPI
EfiSetVariable (
IN CHAR16 *VariableName,
IN EFI_GUID *VendorGuid,
@@ -260,6 +264,7 @@ Returns:
}
EFI_STATUS
EFIAPI
EfiGetNextHighMonotonicCount (
OUT UINT32 *HighCount
)
@@ -283,6 +288,7 @@ Returns:
}
EFI_STATUS
EFIAPI
EfiConvertPointer (
IN UINTN DebugDisposition,
IN OUT VOID *Address
@@ -309,30 +315,7 @@ Returns:
}
EFI_STATUS
EfiConvertInternalPointer (
IN OUT VOID *Address
)
/*++
Routine Description:
Call EfiConvertPointer() to convert internal pointer.
Arguments:
Address - A pointer to a pointer that is to be fixed to be the value needed
for the new virtual address mappings being applied.
Returns:
Status code
--*/
{
return EfiConvertPointer (0x0, Address);
}
EFI_STATUS
EFIAPI
EfiConvertList (
IN UINTN DebugDisposition,
IN OUT LIST_ENTRY *ListHead
@@ -421,6 +404,7 @@ EfiSetVirtualAddressMap (
EFI_STATUS
EFIAPI
EfiUpdateCapsule (
IN UEFI_CAPSULE_HEADER **CapsuleHeaderArray,
IN UINTN CapsuleCount,
@@ -439,6 +423,7 @@ EfiUpdateCapsule (
}
EFI_STATUS
EFIAPI
EfiQueryCapsuleCapabilities (
IN UEFI_CAPSULE_HEADER **CapsuleHeaderArray,
IN UINTN CapsuleCount,
@@ -460,6 +445,7 @@ EfiQueryCapsuleCapabilities (
EFI_STATUS
EFIAPI
EfiQueryVariableInfo (
IN UINT32 Attributes,
OUT UINT64 *MaximumVariableStorageSize,