X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Futils%2Fmach-support-unknown.c;h=cc629bda2decefc2b4fd26985ba9204c5b6d81d9;hb=HEAD;hp=fbba8dc882e8c6b4cfa5f61fd013ce65a05f4d16;hpb=e2b2d181084848f3c5dde2788370db1b79893c69;p=mono.git diff --git a/mono/utils/mach-support-unknown.c b/mono/utils/mach-support-unknown.c index fbba8dc882e..cc629bda2de 100644 --- a/mono/utils/mach-support-unknown.c +++ b/mono/utils/mach-support-unknown.c @@ -1,5 +1,6 @@ -/* - * mach-support-unknown.c: mach support for cross compilers (IOW, none) +/** + * \file + * mach support for cross compilers (IOW, none) * * Authors: * Rodrigo Kumpera (kumpera@gmail.com) @@ -35,17 +36,22 @@ mono_mach_arch_get_mcontext_size () } void -mono_mach_arch_thread_state_to_mcontext (thread_state_t state, void *context) +mono_mach_arch_thread_states_to_mcontext (thread_state_t state, thread_state_t fpstate, void *context) { g_assert_not_reached (); } void -mono_mach_arch_mcontext_to_thread_state (void *context, thread_state_t state) +mono_mach_arch_mcontext_to_thread_states (void *context, thread_state_t state, thread_state_t fpstate) { g_assert_not_reached (); } +void +mono_mach_arch_thread_states_to_mono_context (thread_state_t state, thread_state_t fpstate, MonoContext *context) +{ + g_assert_not_reached (); +} int mono_mach_arch_get_thread_state_size () @@ -53,14 +59,20 @@ mono_mach_arch_get_thread_state_size () g_assert_not_reached (); } +int +mono_mach_arch_get_thread_fpstate_size () +{ + g_assert_not_reached (); +} + kern_return_t -mono_mach_arch_get_thread_state (thread_port_t thread, thread_state_t state, mach_msg_type_number_t *count) +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) { g_assert_not_reached (); } kern_return_t -mono_mach_arch_set_thread_state (thread_port_t thread, thread_state_t state, mach_msg_type_number_t count) +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) { g_assert_not_reached (); } @@ -70,4 +82,10 @@ mono_mach_arch_get_tls_value_from_thread (pthread_t thread, guint32 key) { g_assert_not_reached (); } + +void +mono_mach_init (pthread_key_t key) +{ +} + #endif