aboutsummaryrefslogtreecommitdiff
path: root/stand/libsa/stand.h
diff options
context:
space:
mode:
authorSimon J. Gerraty <sjg@FreeBSD.org>2019-10-24 20:02:48 +0000
committerSimon J. Gerraty <sjg@FreeBSD.org>2019-10-24 20:02:48 +0000
commite9b148a3185f41e3a09e91ea75cae7828d908845 (patch)
tree97011c340f9e2a138fd6d9eb0fe8b97fc952c32e /stand/libsa/stand.h
parent53707abd41be5c585a315598686d56ee70ff59bd (diff)
downloadsrc-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.h2
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__)