Rev 534 | Rev 906 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 534 | Rev 827 | ||
---|---|---|---|
Line 54... | Line 54... | ||
54 | "fxrstor %0" |
54 | "fxrstor %0" |
55 | : "=m"(*fctx) |
55 | : "=m"(*fctx) |
56 | ); |
56 | ); |
57 | } |
57 | } |
58 | 58 | ||
59 | void fpu_init(void) |
59 | void fpu_init(fpu_context_t *fctx) |
60 | { |
60 | { |
61 | /* TODO: Zero all SSE, MMX etc. registers */ |
61 | /* TODO: Zero all SSE, MMX etc. registers */ |
62 | __asm__ volatile ( |
62 | __asm__ volatile ( |
63 | "fninit;" |
63 | "fninit;" |
64 | ); |
64 | ); |