38,16 → 38,20 |
|
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); |