annotate loader/ldt_keeper.h @ 21555:ababf115f90d
Avoid deprecated _sleep, instead include windows.h and use Sleep just like
osdep/timer-win2.c does.
Patch by Zuxy Meng [zuxy meng (at) gmail com]
author |
reimar |
date |
Sun, 10 Dec 2006 14:04:27 +0000 |
parents |
2de480457872 |
children |
a8ea87c71d18 |
rev |
line source |
2067
|
1 #ifndef LDT_KEEPER_H
|
|
2 #define LDT_KEEPER_H
|
|
3
|
|
4 #ifdef __cplusplus
|
|
5 extern "C"
|
|
6 {
|
|
7 #endif
|
7386
|
8
|
|
9 typedef struct {
|
|
10 void* fs_seg;
|
|
11 char* prev_struct;
|
|
12 } ldt_fs_t;
|
|
13
|
2067
|
14 void Setup_FS_Segment(void);
|
7386
|
15 ldt_fs_t* Setup_LDT_Keeper(void);
|
|
16 void Restore_LDT_Keeper(ldt_fs_t* ldt_fs);
|
2067
|
17 #ifdef __cplusplus
|
|
18 }
|
|
19 #endif
|
|
20
|
|
21 #endif /* LDT_KEEPER_H */
|