X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=EmbeddedPkg%2FLibrary%2FTemplateRealTimeClockLib%2FRealTimeClockLib.c;fp=EmbeddedPkg%2FLibrary%2FTemplateRealTimeClockLib%2FRealTimeClockLib.c;h=7e8aaf28f6c9e8aac1b5ad8327834bf923ca397a;hb=e7108d0e9655b1795c94ac372b0449f28dd907df;hp=d9f563315f85b397fae66120bcd6f12de502eb2a;hpb=731c67e1d77b7741a91762d17659fc9fbcb9e305;p=mirror_edk2.git diff --git a/EmbeddedPkg/Library/TemplateRealTimeClockLib/RealTimeClockLib.c b/EmbeddedPkg/Library/TemplateRealTimeClockLib/RealTimeClockLib.c index d9f563315f..7e8aaf28f6 100644 --- a/EmbeddedPkg/Library/TemplateRealTimeClockLib/RealTimeClockLib.c +++ b/EmbeddedPkg/Library/TemplateRealTimeClockLib/RealTimeClockLib.c @@ -15,7 +15,6 @@ #include #include - /** Returns the current time and date information, and the time-keeping capabilities of the hardware platform. @@ -42,7 +41,6 @@ LibGetTime ( return EFI_DEVICE_ERROR; } - /** Sets the current local time and date information. @@ -56,7 +54,7 @@ LibGetTime ( EFI_STATUS EFIAPI LibSetTime ( - IN EFI_TIME *Time + IN EFI_TIME *Time ) { // @@ -65,7 +63,6 @@ LibSetTime ( return EFI_DEVICE_ERROR; } - /** Returns the current wakeup alarm clock setting. @@ -81,16 +78,15 @@ LibSetTime ( EFI_STATUS EFIAPI LibGetWakeupTime ( - OUT BOOLEAN *Enabled, - OUT BOOLEAN *Pending, - OUT EFI_TIME *Time + OUT BOOLEAN *Enabled, + OUT BOOLEAN *Pending, + OUT EFI_TIME *Time ) { // Not a required feature return EFI_UNSUPPORTED; } - /** Sets the system wakeup alarm clock time. @@ -107,16 +103,14 @@ LibGetWakeupTime ( EFI_STATUS EFIAPI LibSetWakeupTime ( - IN BOOLEAN Enabled, - OUT EFI_TIME *Time + IN BOOLEAN Enabled, + OUT EFI_TIME *Time ) { // Not a required feature return EFI_UNSUPPORTED; } - - /** This is the declaration of an EFI image entry point. This can be the entry point to an application written to this specification, an EFI boot service driver, or an EFI runtime driver. @@ -130,8 +124,8 @@ LibSetWakeupTime ( EFI_STATUS EFIAPI LibRtcInitialize ( - IN EFI_HANDLE ImageHandle, - IN EFI_SYSTEM_TABLE *SystemTable + IN EFI_HANDLE ImageHandle, + IN EFI_SYSTEM_TABLE *SystemTable ) { // @@ -140,7 +134,6 @@ LibRtcInitialize ( return EFI_SUCCESS; } - /** Fixup internal data so that EFI can be call in virtual mode. Call the passed in Child Notify event and convert any pointers in @@ -152,8 +145,8 @@ LibRtcInitialize ( VOID EFIAPI LibRtcVirtualNotifyEvent ( - IN EFI_EVENT Event, - IN VOID *Context + IN EFI_EVENT Event, + IN VOID *Context ) { // @@ -164,6 +157,3 @@ LibRtcVirtualNotifyEvent ( // return; } - - -