1 #ifndef _X86_WIN32_OS_H
2 #define _X86_WIN32_OS_H
4 typedef struct os_context_t
{
5 CONTEXT
* win32_context
;
6 #if defined(LISP_FEATURE_SB_THREAD)
11 typedef long os_context_register_t
;
13 #include "arch-os-generic.inc"
15 static inline DWORD
NT_GetLastError() {
17 asm("movl %%fs:0x0D,%0":"=r"(result
));
21 unsigned long os_context_fp_control(os_context_t
*context
);
22 void os_restore_fp_control(os_context_t
*context
);
24 os_context_register_t
* os_context_fp_addr(os_context_t
*context
);
26 #endif /* _X86_WIN32_OS_H */