freebsd-dev/sys/x86
Konstantin Belousov b94c55a9cb Fix r356919.
Instead of waiting for pc_curthread which is overwritten by
init_secondary_tail(), wait for non-NULL pc_curpcb, to be set by the
first context switch.
Assert that pc_curpcb is not set too early.

Reported and tested by:	rlibby
Reviewed by:	markj, rlibby
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D23330
2020-01-23 17:08:33 +00:00
..
acpica Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
bios sys/x86: further adoption of SPDX licensing ID tags. 2017-11-27 15:11:47 +00:00
conf Floppy driver really only works on x86 2019-08-12 22:58:50 +00:00
cpufreq Fix 32-bit build post r357002. 2020-01-23 03:38:41 +00:00
include Add support for Hygon Dhyana Family 18h processor. 2020-01-21 13:22:35 +00:00
iommu Fix a few places that free a page from an object without busy held. This is 2019-12-02 22:42:05 +00:00
isa Fix amd64/i386 LINT build after r344982 2019-03-11 19:46:15 +00:00
pci Add pci_early function to detect Intel stolen memory. 2018-10-31 23:17:00 +00:00
x86 Fix r356919. 2020-01-23 17:08:33 +00:00
xen xen: fix dispatching of NMIs 2019-11-12 10:31:28 +00:00