1.0.8.11: Fix typo in comment.
[sbcl.git] / src / runtime / x86-darwin-os.h
1 #ifndef _X86_DARWIN_OS_H
2 #define _X86_DARWIN_OS_H
3
4 #include <architecture/i386/table.h>
5 #include <i386/user_ldt.h>
6
7 #include "darwin-os.h"
8
9 typedef int os_context_register_t;
10
11 static inline os_context_t *arch_os_get_context(void **void_context)
12 {
13     return (os_context_t *) *void_context;
14 }
15
16 void set_data_desc_size(data_desc_t* desc, unsigned long size);
17 void set_data_desc_addr(data_desc_t* desc, void* addr);
18
19 #define CONTEXT_ADDR_FROM_STEM(stem) &context->uc_mcontext->ss.stem
20 #define DARWIN_FIX_CONTEXT(context)
21
22 #endif /* _X86_DARWIN_OS_H */