Added i386_get_current_iframe(), returning the innermost iframe, if any.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27165 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2008-08-22 23:55:43 +00:00
parent 290e3dd228
commit ec16be9366
2 changed files with 7 additions and 0 deletions

View File

@ -17,6 +17,7 @@ extern "C" {
#endif
struct iframe *i386_get_user_iframe(void);
struct iframe *i386_get_current_iframe(void);
void *x86_next_page_directory(struct thread *from, struct thread *to);
void x86_restart_syscall(struct iframe* frame);

View File

@ -152,6 +152,12 @@ i386_get_user_iframe(void)
}
struct iframe *
i386_get_current_iframe(void)
{
return get_current_iframe();
}
void *
x86_next_page_directory(struct thread *from, struct thread *to)
{