Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151268338
D16753/new/.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
483 B
Referenced Files
None
Subscribers
None
D16753/new/.diff
View Options
Index: head/stand/efi/libefi/delay.c
===================================================================
--- head/stand/efi/libefi/delay.c
+++ head/stand/efi/libefi/delay.c
@@ -33,15 +33,5 @@
void
delay(int usecs)
{
- static EFI_EVENT ev = 0;
- UINTN junk;
-
- if (!ev) {
- if (BS->CreateEvent(EVT_TIMER, TPL_APPLICATION, 0, 0, &ev)
- != EFI_SUCCESS)
- return;
- }
-
- BS->SetTimer(ev, TimerRelative, usecs * 10);
- BS->WaitForEvent(1, &ev, &junk);
+ BS->Stall(usecs);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 8, 5:30 AM (7 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31079740
Default Alt Text
D16753/new/.diff (483 B)
Attached To
Mode
D16753: Simplify the EFI delay() function by calling BS->Stall().
Attached
Detach File
Event Timeline
Log In to Comment