Merge pull request #2045 from BillSeurer/timezone
[mono.git] / mono / utils / mach-support-unknown.c
1 /*
2  * mach-support-unknown.c: mach support for cross compilers (IOW, none)
3  *
4  * Authors:
5  *   Rodrigo Kumpera (kumpera@gmail.com)
6  *
7  * (C) 2012 Xamarin, Inc.
8  */
9
10 #include <config.h>
11
12 #if defined(__MACH__)
13 #include <stdint.h>
14 #include <glib.h>
15 #include <pthread.h>
16 #include "utils/mono-sigcontext.h"
17 #include "mach-support.h"
18
19 void *
20 mono_mach_arch_get_ip (thread_state_t state)
21 {
22         g_assert_not_reached ();
23 }
24
25 void *
26 mono_mach_arch_get_sp (thread_state_t state)
27 {
28         g_assert_not_reached ();
29 }
30
31 int
32 mono_mach_arch_get_mcontext_size ()
33 {
34         g_assert_not_reached ();
35 }
36
37 void
38 mono_mach_arch_thread_state_to_mcontext (thread_state_t state, void *context)
39 {
40         g_assert_not_reached ();
41 }
42
43 void
44 mono_mach_arch_mcontext_to_thread_state (void *context, thread_state_t state)
45 {
46         g_assert_not_reached ();
47 }
48
49 void
50 mono_mach_arch_thread_state_to_mono_context (thread_state_t state, MonoContext *context)
51 {
52         g_assert_not_reached ();
53 }
54
55 int
56 mono_mach_arch_get_thread_state_size ()
57 {
58         g_assert_not_reached ();
59 }
60
61 kern_return_t
62 mono_mach_arch_get_thread_state (thread_port_t thread, thread_state_t state, mach_msg_type_number_t *count)
63 {
64         g_assert_not_reached ();
65 }
66
67 kern_return_t
68 mono_mach_arch_set_thread_state (thread_port_t thread, thread_state_t state, mach_msg_type_number_t count)
69 {
70         g_assert_not_reached ();        
71 }
72
73 void *
74 mono_mach_arch_get_tls_value_from_thread (pthread_t thread, guint32 key)
75 {
76         g_assert_not_reached ();
77 }
78
79 void
80 mono_mach_init (pthread_key_t key)
81 {
82 }
83
84 #endif