Changeset 753 for trunk/src/emx/include/os2emx.h
- Timestamp:
- Sep 29, 2003, 11:19:59 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/emx/include/os2emx.h
-
Property cvs2svn:cvs-rev
changed from
1.7
to1.8
r752 r753 3660 3660 typedef QSEXLREC qsExLrec_t; 3661 3661 3662 #pragma pack(1)3663 3662 typedef struct _QSSFT 3664 3663 { … … 3674 3673 PADSHORT; 3675 3674 } QSSFT; 3676 #pragma pack()3677 3675 typedef QSSFT qsSft_t; 3678 3676 … … 13146 13144 #endif /* INCL_MOU */ 13147 13145 13146 13147 /* --------------------- FS Save/Load/Restore macros ---------------------- */ 13148 13149 #if defined(INCL_FSMACROS) 13150 13151 #ifndef FS_DISABLED 13152 #define FS_VAR() volatile unsigned __fs__; 13153 #define FS_SAVE() __asm__ __volatile__ ("movl %%fs, %%eax; movl %%eax,%0;" : : "m" (__fs__) : "%eax" ) 13154 #define FS_SAVE_LOAD() __asm__ __volatile__ ("movl %%fs, %%eax; movl %%eax,%0; movl $DosTIB, %%eax; movl %%eax, %%fs" : : "m" (__fs__) : "%eax" ) 13155 #define FS_RESTORE() __asm__ __volatile__ ("movl %0, %%eax; movl %%eax,%%fs;" : : "m" (__fs__) : "%eax" ) 13156 #else 13157 #define FS_VAR() 13158 #define FS_SAVE() do { } while(0) 13159 #define FS_SAVE_LOAD() do { } while(0) 13160 #define FS_RESTORE() do { } while(0) 13161 #endif 13162 13163 #endif /* INCL_FSMACROS */ 13164 13148 13165 /* ------------------------------ THE END --------------------------------- */ 13149 13166 13150 #pragma pack( 4)13167 #pragma pack() 13151 13168 13152 13169 #endif /* not _OS2EMX_H */ -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.