Changeset 9969 for trunk/include/os2sel.h
- Timestamp:
- Apr 2, 2003, 1:02:36 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/os2sel.h
r9735 r9969 1 /* $Id: os2sel.h,v 1.1 1 2003-01-28 16:20:43sandervl Exp $ */1 /* $Id: os2sel.h,v 1.12 2003-04-02 11:02:34 sandervl Exp $ */ 2 2 /* 3 3 * … … 36 36 37 37 #ifdef __EMX__ 38 externinline unsigned short GetFS(void)38 static inline unsigned short GetFS(void) 39 39 { 40 40 asm volatile ( … … 43 43 } 44 44 45 externinline void SetFS(unsigned short sel)45 static inline void SetFS(unsigned short sel) 46 46 { 47 47 __asm__ __volatile__("movw %%ax,%%fs" : : "a" (sel)); 48 48 } 49 49 50 externinline unsigned short RestoreOS2FS(void)50 static inline unsigned short RestoreOS2FS(void) 51 51 { 52 52 asm volatile (
Note:
See TracChangeset
for help on using the changeset viewer.