Subversion Repositories HelenOS-historic

Rev

Rev 1129 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1129 Rev 1656
Line 24... Line 24...
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
 
28
 
-
 
29
 /** @addtogroup libcia32
-
 
30
 * @{
-
 
31
 */
-
 
32
/** @file
-
 
33
 */
-
 
34
 
29
#ifndef __LIBC__ia32THREAD_H__
35
#ifndef __LIBC__ia32THREAD_H__
30
#define __LIBC__ia32THREAD_H__
36
#define __LIBC__ia32THREAD_H__
31
 
37
 
32
#include <libc.h>
38
#include <libc.h>
33
 
39
 
Line 48... Line 54...
48
    __asm__ ("movl %%gs:0, %0" : "=r"(retval));
54
    __asm__ ("movl %%gs:0, %0" : "=r"(retval));
49
    return retval;
55
    return retval;
50
}
56
}
51
 
57
 
52
#endif
58
#endif
-
 
59
 
-
 
60
 
-
 
61
 /** @}
-
 
62
 */
-
 
63
 
-
 
64