Subversion Repositories HelenOS

Rev

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

Rev 2990 Rev 3004
Line 44... Line 44...
44
 
44
 
45
static void kputint(unsigned i)
45
static void kputint(unsigned i)
46
{
46
{
47
    unsigned dummy;
47
    unsigned dummy;
48
    asm volatile (
48
    asm volatile (
49
        "movl $30, %%eax;"
49
        "movl $31, %%eax;"
50
        "int $0x30"
50
        "int $0x30"
51
        : "=d" (dummy) /* output - %edx clobbered */
51
        : "=d" (dummy) /* output - %edx clobbered */
52
        : "d" (i) /* input */
52
        : "d" (i) /* input */
53
        : "%eax","%ecx" /* all scratch registers clobbered */
53
        : "%eax","%ecx" /* all scratch registers clobbered */
54
    ); 
54
    );