Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F170687138
D30227.id89080.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
674 B
Referenced Files
None
Subscribers
None
D30227.id89080.diff
View Options
diff --git a/stand/efi/libefi/time_event.c b/stand/efi/libefi/time_event.c
--- a/stand/efi/libefi/time_event.c
+++ b/stand/efi/libefi/time_event.c
@@ -40,7 +40,7 @@
time_update(EFI_EVENT event, void *context)
{
- curtime += 10;
+ curtime++;
}
void
@@ -50,8 +50,8 @@
/* Create a timer event */
BS->CreateEvent(EVT_TIMER | EVT_NOTIFY_SIGNAL, TPL_CALLBACK,
time_update, 0, &time_event);
- /* Use a 10ms timer */
- BS->SetTimer(time_event, TimerPeriodic, 100000);
+ /* Use a 1s timer */
+ BS->SetTimer(time_event, TimerPeriodic, 10000000);
}
void
@@ -68,7 +68,7 @@
{
time_t t;
- t = curtime / 1000;
+ t = curtime;
if (tloc != NULL)
*tloc = t;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Sep 7, 12:57 AM (50 m, 5 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38425034
Default Alt Text
D30227.id89080.diff (674 B)
Attached To
Mode
D30227: Update the EFI timer to be called once a second
Attached
Detach File
Event Timeline
Log In to Comment