Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 2995 → Rev 2996

/branches/dynload/uspace/lib/libtest/libtest.c
38,14 → 38,14
 
static void kputint(unsigned i)
{
unsigned dummy;
asm volatile (
"movl $30, %%eax;"
"int $0x30"
: "=d" (dummy) /* output - %edx clobbered */
: "d" (i) /* input */
: "%eax","%ecx" /* all scratch registers clobbered */
);
// unsigned dummy;
// asm volatile (
// "movl $30, %%eax;"
// "int $0x30"
// : "=d" (dummy) /* output - %edx clobbered */
// : "d" (i) /* input */
// : "%eax","%ecx" /* all scratch registers clobbered */
// );
}
 
void test_func(void)