24ae85c3ff
The apic_delay method will halt the CPU and wait for a timer interrupt to fire. I went with usec because nsec is too granular to guarantee. This method will be called from an arch_ndelay() method when the delay is large enough to justify a sleep. BUG=b:109749762 TEST=Tested it on grunt by changing the _delay method to call apic_delay(). Change-Id: I80363f06bdb22d0907f895885e607fde1c4c468d Signed-off-by: Raul E Rangel <rrangel@chromium.org> Reviewed-on: https://review.coreboot.org/28242 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile.inc | ||
apic.c | ||
coreboot.c | ||
exception.c | ||
exception_asm.S | ||
exec.S | ||
gdb.c | ||
head.S | ||
libpayload.ldscript | ||
main.c | ||
multiboot.c | ||
rom_media.c | ||
selfboot.c | ||
string.c | ||
sysinfo.c | ||
timer.c | ||
util.S | ||
virtual.c |