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
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C"
|
|
|
|
{
|
|
|
|
#endif
|
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
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2008-02-23 14:50:55 +00:00
|
|
|
#endif /* MPLAYER_LDT_KEEPER_H */
|