]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add support for hypervisor check on x86
authorSimon J. Gerraty <sjg@FreeBSD.org>
Thu, 31 Oct 2019 21:32:59 +0000 (21:32 +0000)
committerSimon J. Gerraty <sjg@FreeBSD.org>
Thu, 31 Oct 2019 21:32:59 +0000 (21:32 +0000)
commita28418b423a216d31915a7047736500b1caf77cc
treef97a4545500d864f59b55387fcc77212f21170bd
parent9ee0c04f95c73a958add6184ce350d5ff48c239b
Add support for hypervisor check on x86

Add ficl words for isvirtualized
and move ficl inb and outb words to ficl/x86/sysdep.c
so can be shared by i386 and amd64

MFC of r354043, r354055

Reviewed by: imp bdrewery
Sponsored by: Juniper Networks
Differential Revision: https://reviews.freebsd.org/D22069
stand/defs.mk
stand/efi/loader/main.c
stand/ficl/amd64/sysdep.c
stand/ficl/i386/sysdep.c
stand/ficl/loader.c
stand/ficl/x86/sysdep.c [new file with mode: 0644]
stand/i386/loader/main.c
stand/libsa/Makefile
stand/libsa/stand.h
stand/libsa/x86/hypervisor.c [new file with mode: 0644]