Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 2996 → Rev 2995

/branches/dynload/uspace/app/dltest/dltest.c
38,20 → 38,16
 
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 __tls_get_addr(void)
{
}
 
int main(int argc, char *argv[])
{
kputint(-1);