Page MenuHomeFreeBSD

Simplify the EFI delay() function by calling BS->Stall().
ClosedPublic

Authored by bcran on Aug 16 2018, 7:13 PM.
Tags
None
Referenced Files
F162984723: D16753.id.diff
Sat, Jul 18, 10:29 PM
Unknown Object (File)
Fri, Jul 17, 10:46 AM
Unknown Object (File)
Thu, Jul 16, 6:26 PM
Unknown Object (File)
Wed, Jul 15, 7:48 PM
Unknown Object (File)
Thu, Jul 9, 2:27 PM
Unknown Object (File)
Jun 14 2026, 9:16 PM
Unknown Object (File)
Jun 6 2026, 9:09 AM
Unknown Object (File)
May 26 2026, 12:27 PM
Subscribers
None

Details

Test Plan

Tested on Qemu 2.12.0-rc3 with OVMF.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

imp requested changes to this revision.Aug 17 2018, 2:30 AM
imp added inline comments.
stand/efi/libefi/delay.c
36 โ†—(On Diff #46794)

When was this function added to the UEFI standard? If it's too new, then you'll need to provide a fallback...

This revision now requires changes to proceed.Aug 17 2018, 2:30 AM
stand/efi/libefi/delay.c
36 โ†—(On Diff #46794)

It's in UEFI 2.0 from 2006, and EFI 1.10 from 2002.

This revision is now accepted and ready to land.Aug 17 2018, 2:42 AM

I've now tested the change on an ARM64 Overdrive 1000, an EFI 1.10 MacBook Pro from 2007, and a ThinkPad T530.

This year's award for going above and beyond in testing goes to...

In D16753#366156, @imp wrote:

This year's award for going above and beyond in testing goes to...

Tested with U-Boot 2018.07 (current in ports) and upcoming 2018.09 :)

This revision was automatically updated to reflect the committed changes.