summaryrefslogtreecommitdiff
path: root/testing/archboot/vmware-detect.c
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-07-25 14:36:24 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-07-25 14:36:24 +0000
commitc52a1a6eb4ad278a7b6d9eeeb9c7c88f73ca8d8c (patch)
tree6ea332ea2bc8d6dfbfeba417c0e0d40a4608daaa /testing/archboot/vmware-detect.c
parent43983783a3e8bf61896eb93a2858a14bbaf3a53b (diff)
Mon Jul 25 14:36:20 UTC 2011
Diffstat (limited to 'testing/archboot/vmware-detect.c')
-rw-r--r--testing/archboot/vmware-detect.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/testing/archboot/vmware-detect.c b/testing/archboot/vmware-detect.c
deleted file mode 100644
index d242a388d..000000000
--- a/testing/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;
- }
-}