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
Unknown Object (File)
Fri, Apr 12, 9:06 AM
Unknown Object (File)
Fri, Apr 12, 8:14 AM
Unknown Object (File)
Mar 18 2024, 6:05 AM
Unknown Object (File)
Mar 15 2024, 11:14 PM
Unknown Object (File)
Feb 23 2024, 11:43 AM
Unknown Object (File)
Feb 23 2024, 11:43 AM
Unknown Object (File)
Feb 23 2024, 11:43 AM
Unknown Object (File)
Feb 23 2024, 11:30 AM
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.