diff options
author | Ronald G Minnich <rminnich@gmail.com> | 2020-07-09 08:23:58 -0700 |
---|---|---|
committer | ron minnich <rminnich@gmail.com> | 2020-07-16 16:48:42 +0000 |
commit | a92a07d9c0a6079818385de78930a69459e4ee8a (patch) | |
tree | d1daf789700cc123a1fa60c5fcabb66493145c2a /payloads/libpayload/arch/arm/main.c | |
parent | bf6541d876fad1ce518bf6c36d4448007d4e44c7 (diff) |
libpayload: allow nonblocking delay and more than one delay
Extend the local APIC timer delay so that it can be started,
and waited for, independently.
Add an EOI so that more than one APIC timer interrupt is possible.
Previous to this, because there was no EOI, the first timer
interrupt the CPU took was also the last it would take --
apic_delay would only work one time.
Change-Id: Ib11aeee5b7da81287166ac68fc327e7ae62d1b84
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/43323
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: David Hendricks <david.hendricks@gmail.com>
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Diffstat (limited to 'payloads/libpayload/arch/arm/main.c')
0 files changed, 0 insertions, 0 deletions