[arch-commits] Commit in archboot/trunk (vmware-detect.c)
Tobias Powalowski
tpowa at archlinux.org
Fri Sep 14 11:02:28 UTC 2012
Date: Friday, September 14, 2012 @ 07:02:27
Author: tpowa
Revision: 166648
upgpkg: archboot 2012.09-1
bump to latest version
Deleted:
archboot/trunk/vmware-detect.c
-----------------+
vmware-detect.c | 13 -------------
1 file changed, 13 deletions(-)
Deleted: vmware-detect.c
===================================================================
--- vmware-detect.c 2012-09-14 10:58:55 UTC (rev 166647)
+++ vmware-detect.c 2012-09-14 11:02:27 UTC (rev 166648)
@@ -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;
- }
-}
More information about the arch-commits
mailing list