annotate loader/ldt_keeper.h @ 31113:1f7d0e9e2ebf
Revert r31153. It failed to build on:
x86_64 / Mac OS X gcc 4.0.1
x86_64 / Linux icc (all)
x86_64 / Linux gcc 4.0.4
x86_64 / OpenBSD gcc 3.3.5
x86_64 / Linux suncc 5.10
and there are some reports of crashes.
author |
ramiro |
date |
Wed, 12 May 2010 20:47:32 +0000 |
parents |
26f673ba0675 |
children |
6506ce7ba414 |
rev |
line source |
26045
|
1 #ifndef MPLAYER_LDT_KEEPER_H
|
|
2 #define MPLAYER_LDT_KEEPER_H
|
2067
|
3
|
7386
|
4 typedef struct {
|
|
5 void* fs_seg;
|
|
6 char* prev_struct;
|
|
7 } ldt_fs_t;
|
|
8
|
2067
|
9 void Setup_FS_Segment(void);
|
7386
|
10 ldt_fs_t* Setup_LDT_Keeper(void);
|
|
11 void Restore_LDT_Keeper(ldt_fs_t* ldt_fs);
|
2067
|
12
|
26045
|
13 #endif /* MPLAYER_LDT_KEEPER_H */
|