| 964 | } |
| 965 | |
| 966 | void |
| 967 | npxresume(union savefpu *addr) |
| 968 | { |
| 969 | register_t cr0; |
| 970 | |
| 971 | if (!hw_float) |
| 972 | return; |
| 973 | |
| 974 | cr0 = rcr0(); |
| 975 | npxinit(false); |
| 976 | stop_emulating(); |
| 977 | fpurstor(addr); |
| 978 | load_cr0(cr0); |
| 979 | } |
| 980 | |
| 981 | void |
| 982 | npxdrop(void) |
no test coverage detected