Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163260123
D16753.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.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, Jul 22, 12:53 PM (9 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35364713
Default Alt Text
D16753.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