Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 3129 → Rev 2970

/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)