Subversion Repositories HelenOS

Rev

Rev 3004 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3004 Rev 3400
Line 38... Line 38...
38
#include <align.h>
38
#include <align.h>
39
#include <tls.h>
39
#include <tls.h>
40
 
40
 
41
static void kputint(unsigned i)
41
static void kputint(unsigned i)
42
{
42
{
43
    unsigned dummy;
43
//  unsigned dummy;
44
    asm volatile (
44
//  asm volatile (
45
        "movl $31, %%eax;"
45
//      "movl $31, %%eax;"
46
        "int $0x30"
46
//      "int $0x30"
47
        : "=d" (dummy) /* output - %edx clobbered */
47
//      : "=d" (dummy) /* output - %edx clobbered */
48
        : "d" (i) /* input */
48
//      : "d" (i) /* input */
49
        : "%eax","%ecx" /* all scratch registers clobbered */
49
//      : "%eax","%ecx" /* all scratch registers clobbered */
50
    ); 
50
//  );  
51
}
51
}
52
 
52
 
53
typedef struct {
53
typedef struct {
54
    unsigned long int ti_module;
54
    unsigned long int ti_module;
55
    unsigned long int ti_offset;
55
    unsigned long int ti_offset;