Coding style corrected

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7081 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jji4 2008-12-19 02:15:47 +00:00
parent 7df7393feb
commit ca08e40b90
1 changed files with 4 additions and 4 deletions

View File

@ -269,7 +269,7 @@ PcRtcGetTime (
// //
Status = RtcWaitToUpdate (PcdGet32 (PcdRealTimeClockUpdateTimeout)); Status = RtcWaitToUpdate (PcdGet32 (PcdRealTimeClockUpdateTimeout));
if (EFI_ERROR (Status)) { if (EFI_ERROR (Status)) {
//BugBug: the EfiAtRuntime should be encapsulated in EfiReleaseLock or //BugBug: the EfiAtRuntime should be encapsulated in EfiReleaseLock or
// provide a new instance for EfiReleaseLock, say, RtEfiReleaseLock // provide a new instance for EfiReleaseLock, say, RtEfiReleaseLock
if (!EfiAtRuntime ()) { if (!EfiAtRuntime ()) {
EfiReleaseLock (&Global->RtcLock); EfiReleaseLock (&Global->RtcLock);
@ -388,10 +388,10 @@ PcRtcSetTime (
// //
Status = RtcWaitToUpdate (PcdGet32 (PcdRealTimeClockUpdateTimeout)); Status = RtcWaitToUpdate (PcdGet32 (PcdRealTimeClockUpdateTimeout));
if (EFI_ERROR (Status)) { if (EFI_ERROR (Status)) {
//BugBug: the EfiAtRuntime should be encapsulated in EfiReleaseLock or //BugBug: the EfiAtRuntime should be encapsulated in EfiReleaseLock or
// provide a new instance for EfiReleaseLock, say, RtEfiReleaseLock // provide a new instance for EfiReleaseLock, say, RtEfiReleaseLock
if (!EfiAtRuntime ()) { if (!EfiAtRuntime ()) {
EfiReleaseLock (&Global->RtcLock); EfiReleaseLock (&Global->RtcLock);
} }
return Status; return Status;
} }
@ -499,7 +499,7 @@ PcRtcGetWakeupTime (
// //
Status = RtcWaitToUpdate (PcdGet32 (PcdRealTimeClockUpdateTimeout)); Status = RtcWaitToUpdate (PcdGet32 (PcdRealTimeClockUpdateTimeout));
if (EFI_ERROR (Status)) { if (EFI_ERROR (Status)) {
//BugBug: the EfiAtRuntime should be encapsulated in EfiReleaseLock or //BugBug: the EfiAtRuntime should be encapsulated in EfiReleaseLock or
// provide a new instance for EfiReleaseLock, say, RtEfiReleaseLock // provide a new instance for EfiReleaseLock, say, RtEfiReleaseLock
if (!EfiAtRuntime ()) { if (!EfiAtRuntime ()) {
EfiReleaseLock (&Global->RtcLock); EfiReleaseLock (&Global->RtcLock);