From 05916979f9a44fe8afba8c5fe9c3d94a0bb95b08 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Thu, 24 Feb 2005 15:49:41 +0000 Subject: [PATCH] Export i386_get_current_iframe() so it can be used in arch_user_debugger.cpp. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11472 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/kernel/arch/x86/arch_thread.h | 1 + src/kernel/core/arch/x86/arch_thread.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/headers/private/kernel/arch/x86/arch_thread.h b/headers/private/kernel/arch/x86/arch_thread.h index 636b981632..9f85bfe634 100644 --- a/headers/private/kernel/arch/x86/arch_thread.h +++ b/headers/private/kernel/arch/x86/arch_thread.h @@ -17,6 +17,7 @@ extern "C" { void i386_push_iframe(struct thread *t, struct iframe *frame); void i386_pop_iframe(struct thread *t); +struct iframe *i386_get_current_iframe(void); void i386_return_from_signal(); void i386_end_return_from_signal(); diff --git a/src/kernel/core/arch/x86/arch_thread.c b/src/kernel/core/arch/x86/arch_thread.c index 112cb7977f..3a24cf9e03 100755 --- a/src/kernel/core/arch/x86/arch_thread.c +++ b/src/kernel/core/arch/x86/arch_thread.c @@ -78,7 +78,7 @@ i386_pop_iframe(struct thread *thread) * from standard kernel threads. */ -static struct iframe * +struct iframe * i386_get_current_iframe(void) { struct thread *thread = thread_get_current_thread();