freebsd-dev/sys/dev/acpica/Osd
John Baldwin ce83de10cb Use polling spin loops for timeouts during early boot.
Some ACPI operations such as mutex acquires and event waits accept a
timeout.  The ACPI OSD layer implements these timeouts by using regular
sleep timeouts.  However, this doesn't work during early boot before
event timers are setup.  Instead, use polling combined with DELAY()
to spin.

This fixes booting on upcoming Intel systems with Kaby Lake processors.

Tested by:	"Jeffrey E Pieper" <jeffrey.e.pieper@intel.com>
Reviewed by:	jimharris
MFC after:	1 week
2016-05-16 21:33:31 +00:00
..
OsdDebug.c Merge ACPICA 20150818. 2015-08-26 17:13:47 +00:00
OsdHardware.c Add basic support for ACPI. It splits out the nexus driver to two new 2015-06-11 15:45:33 +00:00
OsdInterrupt.c
OsdMemory.c
OsdSchedule.c Merge ACPICA 20160422. 2016-04-27 19:09:21 +00:00
OsdStream.c
OsdSynch.c Use polling spin loops for timeouts during early boot. 2016-05-16 21:33:31 +00:00
OsdTable.c