893988af82
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32621 a95241bf-73f2-0310-859d-f6bbb57e9c96
48 lines
918 B
C
48 lines
918 B
C
/*
|
|
* Copyright 2003-2009, Haiku Inc. All rights reserved.
|
|
* Distributed under the terms of the MIT License.
|
|
*
|
|
* Authors:
|
|
* Ingo Weinhold <bonefish@cs.tu-berlin.de>
|
|
* Jonas Sundström <jonas@kirilla.com>
|
|
*/
|
|
#ifndef _KERNEL_ARCH_MIPSEL_THREAD_H
|
|
#define _KERNEL_ARCH_MIPSEL_THREAD_H
|
|
|
|
#include <arch/cpu.h>
|
|
|
|
#warning IMPLEMENT arch_thread.h
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void mipsel_push_iframe(struct iframe_stack* stack, struct iframe* frame);
|
|
void mipsel_pop_iframe(struct iframe_stack* stack);
|
|
struct iframe* mipsel_get_user_iframe(void);
|
|
|
|
|
|
static inline struct thread*
|
|
arch_thread_get_current_thread(void)
|
|
{
|
|
#warning IMPLEMENT arch_thread_get_current_thread
|
|
struct thread* t;
|
|
return t;
|
|
}
|
|
|
|
|
|
static inline void
|
|
arch_thread_set_current_thread(struct thread* t)
|
|
{
|
|
#warning IMPLEMENT arch_thread_set_current_thread
|
|
}
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
|
|
#endif /* _KERNEL_ARCH_MIPSEL_THREAD_H */
|
|
|