[interp] Remove unreachable code (#12411)
[mono-project.git] / mono / utils / mach-support-unknown.c
blobe6a929176be696d0764c3080ed9a34a11ed4dd7f
1 /**
2 * \file
3 * mach support for cross compilers (IOW, none)
5 * Authors:
6 * Rodrigo Kumpera (kumpera@gmail.com)
8 * (C) 2012 Xamarin, Inc.
9 */
11 #include <config.h>
13 #if defined(__MACH__)
14 #include <stdint.h>
15 #include <glib.h>
16 #include <pthread.h>
17 #include "utils/mono-sigcontext.h"
18 #include "mach-support.h"
20 int
21 mono_mach_arch_get_mcontext_size ()
23 g_assert_not_reached ();
26 void
27 mono_mach_arch_thread_states_to_mcontext (thread_state_t state, thread_state_t fpstate, void *context)
29 g_assert_not_reached ();
32 void
33 mono_mach_arch_mcontext_to_thread_states (void *context, thread_state_t state, thread_state_t fpstate)
35 g_assert_not_reached ();
38 void
39 mono_mach_arch_thread_states_to_mono_context (thread_state_t state, thread_state_t fpstate, MonoContext *context)
41 g_assert_not_reached ();
44 int
45 mono_mach_arch_get_thread_state_size ()
47 g_assert_not_reached ();
50 int
51 mono_mach_arch_get_thread_fpstate_size ()
53 g_assert_not_reached ();
56 kern_return_t
57 mono_mach_arch_get_thread_states (thread_port_t thread, thread_state_t state, mach_msg_type_number_t *count, thread_state_t fpstate, mach_msg_type_number_t *fpcount)
59 g_assert_not_reached ();
62 kern_return_t
63 mono_mach_arch_set_thread_states (thread_port_t thread, thread_state_t state, mach_msg_type_number_t count, thread_state_t fpstate, mach_msg_type_number_t fpcount)
65 g_assert_not_reached ();
68 #endif