From bc0592bb8d2a9b0e708a27e51d1c2459f799a768 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 19 Jan 2012 19:03:48 +0000 Subject: main/dev86: moved from testing --- testing/dev86/dev86-pic.patch | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 testing/dev86/dev86-pic.patch (limited to 'testing/dev86/dev86-pic.patch') diff --git a/testing/dev86/dev86-pic.patch b/testing/dev86/dev86-pic.patch deleted file mode 100644 index 41076f3dae..0000000000 --- a/testing/dev86/dev86-pic.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- ./elksemu/elks.c.orig 2005-11-04 01:35:37.000000000 +0100 -+++ ./elksemu/elks.c 2005-11-04 01:45:28.000000000 +0100 -@@ -129,8 +129,17 @@ - static inline int vm86_mine(struct vm86_struct* v86) - { - int __res; -+#ifndef __PIC__ - __asm__ __volatile__("int $0x80\n" - :"=a" (__res):"a" ((int)OLD_SYS_vm86), "b" ((int)v86)); -+#else -+ __asm__ __volatile__( -+ "movl %%ebx,%%ecx\n\t" -+ "movl %2,%%ebx\n\t" -+ "int $0x80\n\t" -+ "movl %%ecx,%%ebx\n\t" -+ :"=a" (__res):"a" ((int)OLD_SYS_vm86), "r" ((int)v86) : "ecx"); -+#endif - return __res; - } - #endif -- cgit v1.2.3