Rev 3423 | Rev 3552 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3423 | Rev 3474 | ||
---|---|---|---|
Line 44... | Line 44... | ||
44 | // "int $0x30" |
44 | // "int $0x30" |
45 | // : "=d" (dummy) /* output - %edx clobbered */ |
45 | // : "=d" (dummy) /* output - %edx clobbered */ |
46 | // : "d" (i) /* input */ |
46 | // : "d" (i) /* input */ |
47 | // : "%eax","%ecx" /* all scratch registers clobbered */ |
47 | // : "%eax","%ecx" /* all scratch registers clobbered */ |
48 | // ); |
48 | // ); |
- | 49 | /* |
|
49 | asm volatile ( |
50 | asm volatile ( |
50 | "mr %%r3, %0\n" |
51 | "mr %%r3, %0\n" |
51 | "li %%r9, 32\n" |
52 | "li %%r9, 32\n" |
52 | "sc\n" |
53 | "sc\n" |
53 | : |
54 | : |
54 | : "r" (i) |
55 | : "r" (i) |
55 | : "%r3","%r9" |
56 | : "%r3","%r9" |
56 | ); |
57 | ); |
- | 58 | */ |
|
57 | } |
59 | } |
58 | 60 | ||
59 | void __tls_get_addr(void) |
61 | void __tls_get_addr(void) |
60 | { |
62 | { |
61 | } |
63 | } |