freebsd-skq/sys/i386
Jason A. Harmening d986450859 Implement get_pcpu() for i386 and use it to replace pcpu_find(curcpu)
in the i386 pmap.

The curcpu macro loads the per-cpu data pointer as its first step,
so the remaining steps of pcpu_find(curcpu) are circular.

get_pcpu() is already implemented for arm, arm64, and risc-v.
My plan is to implement it for the remaining architectures and use
it to replace several instances of pcpu_find(curcpu) in MI code.

Reviewed by:	kib
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D9370
2017-01-29 16:54:55 +00:00
..
acpica If x86 CPU implementation of the MWAIT instruction reasonably 2015-05-09 12:28:48 +00:00
bios Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
cloudabi32 Catch up with changes to structure member names. 2017-01-17 22:05:52 +00:00
conf Migrate e1000 to the IFLIB framework: 2017-01-10 03:23:22 +00:00
i386 Implement get_pcpu() for i386 and use it to replace pcpu_find(curcpu) 2017-01-29 16:54:55 +00:00
ibcs2 Do not allocate struct statfs on kernel stack. 2017-01-05 17:19:26 +00:00
include Implement get_pcpu() for i386 and use it to replace pcpu_find(curcpu) 2017-01-29 16:54:55 +00:00
isa Garbage collect the FPU_ERROR_BROKEN option. 2017-01-28 03:53:53 +00:00
linux Regenerate syscall provider argument strings. 2016-09-22 04:50:03 +00:00
pci Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
svr4 sys: use our roundup2/rounddown2() macros when param.h is available. 2016-04-21 19:57:40 +00:00
xbox
Makefile