2009-08-23 06:52:09 +04:00
|
|
|
/*
|
2011-01-11 00:54:38 +03:00
|
|
|
* Copyright 2003-2011, Haiku Inc. All rights reserved.
|
2009-08-23 06:52:09 +04:00
|
|
|
* 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);
|
|
|
|
|
|
|
|
|
2011-01-11 00:54:38 +03:00
|
|
|
static inline Thread*
|
2009-08-23 06:52:09 +04:00
|
|
|
arch_thread_get_current_thread(void)
|
|
|
|
{
|
|
|
|
#warning IMPLEMENT arch_thread_get_current_thread
|
2011-01-11 00:54:38 +03:00
|
|
|
Thread* t;
|
2009-08-23 06:52:09 +04:00
|
|
|
return t;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static inline void
|
2011-01-11 00:54:38 +03:00
|
|
|
arch_thread_set_current_thread(Thread* t)
|
2009-08-23 06:52:09 +04:00
|
|
|
{
|
|
|
|
#warning IMPLEMENT arch_thread_set_current_thread
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* _KERNEL_ARCH_MIPSEL_THREAD_H */
|
|
|
|
|