]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add support for hypervisor check on x86
authorsjg <sjg@FreeBSD.org>
Thu, 24 Oct 2019 20:02:48 +0000 (20:02 +0000)
committersjg <sjg@FreeBSD.org>
Thu, 24 Oct 2019 20:02:48 +0000 (20:02 +0000)
commite7dfb8eab46fe5a1f133d6da90972af7f4e269f4
tree97011c340f9e2a138fd6d9eb0fe8b97fc952c32e
parenta41c96bda53356d6b759a9e30e25f6bbf9a1c865
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

Reviewed by: imp bdrewery
MFC after: 1 week
Sponsored by: Juniper Networks
Differential Revision: https://reviews.freebsd.org/D22069
stand/defs.mk
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]