2008-02-23 14:50:55 +00:00
|
|
|
#ifndef MPLAYER_LDT_KEEPER_H
|
|
|
|
#define MPLAYER_LDT_KEEPER_H
|
2001-10-04 00:07:15 +00:00
|
|
|
|
2010-09-10 15:38:03 +00:00
|
|
|
extern void *fs_seg;
|
|
|
|
|
2002-09-13 19:43:17 +00:00
|
|
|
typedef struct {
|
|
|
|
void* fs_seg;
|
|
|
|
char* prev_struct;
|
|
|
|
} ldt_fs_t;
|
|
|
|
|
2001-10-04 00:07:15 +00:00
|
|
|
void Setup_FS_Segment(void);
|
2002-09-13 19:43:17 +00:00
|
|
|
ldt_fs_t* Setup_LDT_Keeper(void);
|
|
|
|
void Restore_LDT_Keeper(ldt_fs_t* ldt_fs);
|
2001-10-04 00:07:15 +00:00
|
|
|
|
2008-02-23 14:50:55 +00:00
|
|
|
#endif /* MPLAYER_LDT_KEEPER_H */
|