Remove redundant implementations

Dmitry Timoshkov dmitry at baikal.ru
Wed Aug 8 05:26:30 CDT 2001


Hello.

Changelog:
    Dmitry Timoshkov <dmitry at codeweavers.com>
    Remove redundant implementation of __get_cs,__get_ds,__get_es,
    __get_fs,__get_gs,__get_ss,__set_fs,__set_gs.

diff -u cvs/hq/wine/memory/selector.c wine/memory/selector.c
--- cvs/hq/wine/memory/selector.c	Mon Jul 23 22:20:15 2001
+++ wine/memory/selector.c	Wed Aug  8 18:04:14 2001
@@ -826,14 +826,3 @@
         GlobalFree(buffer[0]);
     }
 }
-
-#ifdef __i386__
-__ASM_GLOBAL_FUNC( __get_cs, "movw %cs,%ax\n\tret" )
-__ASM_GLOBAL_FUNC( __get_ds, "movw %ds,%ax\n\tret" )
-__ASM_GLOBAL_FUNC( __get_es, "movw %es,%ax\n\tret" )
-__ASM_GLOBAL_FUNC( __get_fs, "movw %fs,%ax\n\tret" )
-__ASM_GLOBAL_FUNC( __get_gs, "movw %gs,%ax\n\tret" )
-__ASM_GLOBAL_FUNC( __get_ss, "movw %ss,%ax\n\tret" )
-__ASM_GLOBAL_FUNC( __set_fs, "movl 4(%esp),%eax\n\tmovw %ax,%fs\n\tret" )
-__ASM_GLOBAL_FUNC( __set_gs, "movl 4(%esp),%eax\n\tmovw %ax,%gs\n\tret" )
-#endif






More information about the wine-patches mailing list