diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-12-07 15:02:31 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-12-07 15:02:31 +0000 |
commit | 8736f458a17a03cf79a763a0c8122f93162fed71 (patch) | |
tree | fba97f22de8410ee5df8985e6c98756093578100 /community/dev86/dev86-pic.patch | |
parent | d1d87d2ac643e3dabc251f3cec7d3b00e29b282c (diff) |
Wed Dec 7 15:02:27 UTC 2011
Diffstat (limited to 'community/dev86/dev86-pic.patch')
-rw-r--r-- | community/dev86/dev86-pic.patch | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/community/dev86/dev86-pic.patch b/community/dev86/dev86-pic.patch deleted file mode 100644 index 439c2648b..000000000 --- a/community/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 |