summaryrefslogtreecommitdiff
path: root/extra/archboot/vmware-detect.c
diff options
context:
space:
mode:
Diffstat (limited to 'extra/archboot/vmware-detect.c')
-rw-r--r--extra/archboot/vmware-detect.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/extra/archboot/vmware-detect.c b/extra/archboot/vmware-detect.c
deleted file mode 100644
index d242a388d..000000000
--- a/extra/archboot/vmware-detect.c
+++ /dev/null
@@ -1,13 +0,0 @@
-#include <stdio.h>
-int main() {
- unsigned char idtr[6];
- asm("sidt %0" : "=m" (idtr));
- if(0xff==idtr[5])
- {
- return 0;
- }
- else
- {
- return 1;
- }
-}