diff options
author | Simon J. Gerraty <sjg@FreeBSD.org> | 2019-10-24 20:02:48 +0000 |
---|---|---|
committer | Simon J. Gerraty <sjg@FreeBSD.org> | 2019-10-24 20:02:48 +0000 |
commit | e9b148a3185f41e3a09e91ea75cae7828d908845 (patch) | |
tree | 97011c340f9e2a138fd6d9eb0fe8b97fc952c32e /stand/libsa/stand.h | |
parent | 53707abd41be5c585a315598686d56ee70ff59bd (diff) | |
download | src-e9b148a3185f41e3a09e91ea75cae7828d908845.tar.gz src-e9b148a3185f41e3a09e91ea75cae7828d908845.zip |
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
Notes
Notes:
svn path=/head/; revision=354043
Diffstat (limited to 'stand/libsa/stand.h')
-rw-r--r-- | stand/libsa/stand.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/stand/libsa/stand.h b/stand/libsa/stand.h index c9e691b55103..5ad1166d4f67 100644 --- a/stand/libsa/stand.h +++ b/stand/libsa/stand.h @@ -434,6 +434,8 @@ void *Reallocf(void *, size_t, const char *, int); void Free(void *, const char *, int); extern void mallocstats(void); +const char *x86_hypervisor(void); + #ifdef DEBUG_MALLOC #define malloc(x) Malloc(x, __FILE__, __LINE__) #define memalign(x, y) Memalign(x, y, __FILE__, __LINE__) |