Bug 210242

Summary: [PATCH] [EFI] Simplify libefi delay() implementation
Product: Base System Reporter: rebecca+freebsd <rebecca+freebsd>
Component: miscAssignee: Rebecca Cran <bcran>
Status: Closed FIXED    
Severity: Affects Only Me CC: Andrew, bcran, emaste, imp, kevans
Priority: --- Keywords: patch
Version: 10.3-RELEASE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch to simplify delay() implementation none

Description rebecca+freebsd@bluestop.org 2016-06-13 01:12:52 UTC
Created attachment 171361 [details]
Patch to simplify delay() implementation

The `delay` implementation currently uses timers to delay execution, while there's a built-in `Stall` function available in the EFI_BOOT_SERVICES table. 

I'm not sure if `Stall` has problems on certain platforms that's being worked around through the use of timers, but it appears as though we can simplify the implementation.
Comment 1 Kyle Evans freebsd_committer freebsd_triage 2018-08-09 03:42:38 UTC
CC imp@,

You aware of any problems with BootServices->Stall() ?
Comment 2 Rebecca Cran freebsd_committer freebsd_triage 2019-05-21 18:56:02 UTC
This was fixed by r339796 on 2018-10-26.