Treat primary cpu like others and put pointer to its GDT in cpu_info.ci_gdt
authorguenther <guenther@openbsd.org>
Sun, 24 May 2015 01:01:49 +0000 (01:01 +0000)
committerguenther <guenther@openbsd.org>
Sun, 24 May 2015 01:01:49 +0000 (01:01 +0000)
commit514d1bbc7b6bb754d49ecdb64b02553bfed7af5f
tree85549af05423952885b6d457afe07cb3f045ebd8
parent44a7d887c16f1fb597faa6f2065d6810a43b06b1
Treat primary cpu like others and put pointer to its GDT in cpu_info.ci_gdt

requested by and ok mlarkin@
sys/arch/amd64/amd64/gdt.c
sys/arch/amd64/amd64/machdep.c
sys/arch/amd64/include/segments.h