summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2001-11-08 02:47:46 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2001-11-08 02:47:46 +0000
commit9b73270ff645abbeb18366ff4f2003504cf27521 (patch)
tree69bf4465bc7e3767e1d70e0af978020f53c3cd50 /src
parent5acf1943f09069b804cedab289dbab22fc2e909c (diff)
downloadxine-lib-9b73270ff645abbeb18366ff4f2003504cf27521.tar.gz
xine-lib-9b73270ff645abbeb18366ff4f2003504cf27521.tar.bz2
disabled LDT allocation for FS segment. this was causing much trouble
so i disabled it as someone did in previous version. ldt_keeper explicitely states that it should be initialized before any threads are created, which wouldn't be possible under current xine plugin architeture except with some nasty hack. FIXME: we need to check any potential problems of running dlls with default FS segment. CVS patchset: 996 CVS date: 2001/11/08 02:47:46
Diffstat (limited to 'src')
-rw-r--r--src/libw32dll/w32codec.c4
-rw-r--r--src/libw32dll/wine/ldt_keeper.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/libw32dll/w32codec.c b/src/libw32dll/w32codec.c
index 629cf9b29..1588663af 100644
--- a/src/libw32dll/w32codec.c
+++ b/src/libw32dll/w32codec.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: w32codec.c,v 1.37 2001/11/07 21:38:03 miguelfreitas Exp $
+ * $Id: w32codec.c,v 1.38 2001/11/08 02:47:46 miguelfreitas Exp $
*
* routines for using w32 codecs
*
@@ -813,7 +813,7 @@ video_decoder_t *init_video_decoder_plugin (int iface_version, config_values_t *
this->prof_rgb2yuv = profiler_allocate_slot ("w32codec rgb2yuv convert");
/* FIXME: we need a kind of destructor to call Restore_LDT_Keeper() */
- Setup_LDT_Keeper();
+ //Setup_LDT_Keeper();
return (video_decoder_t *) this;
}
diff --git a/src/libw32dll/wine/ldt_keeper.c b/src/libw32dll/wine/ldt_keeper.c
index 18ddb22ce..273bccc2e 100644
--- a/src/libw32dll/wine/ldt_keeper.c
+++ b/src/libw32dll/wine/ldt_keeper.c
@@ -92,9 +92,11 @@ extern "C"
#endif
void Setup_FS_Segment(void)
{
+/*
__asm__ __volatile__(
"movl %0,%%eax; movw %%ax, %%fs" : : "i" (TEB_SEL)
);
+*/
}
#ifdef __linux__