opnsense-src/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 Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs. 2011-11-07 06:44:47 +00:00
OsdMemory.c Merge ACPICA 20120215. 2012-02-16 22:59:29 +00:00
OsdSchedule.c Merge ACPICA 20160422. 2016-04-27 19:09:21 +00:00
OsdStream.c Import ACPICA 20090521. 2009-06-05 18:44:36 +00:00
OsdSynch.c Use polling spin loops for timeouts during early boot. 2016-05-16 21:33:31 +00:00
OsdTable.c Merge ACPICA 20140926. 2014-10-02 19:11:18 +00:00