1/* 2 * Copyright 2003-2011, Haiku Inc. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * Ingo Weinhold <bonefish@cs.tu-berlin.de> 7 * Jonas Sundstr��m <jonas@kirilla.com> 8 */ 9#ifndef _KERNEL_ARCH_MIPSEL_THREAD_H 10#define _KERNEL_ARCH_MIPSEL_THREAD_H 11 12#include <arch/cpu.h> 13 14#warning IMPLEMENT arch_thread.h 15 16#ifdef __cplusplus 17extern "C" { 18#endif 19 20void mipsel_push_iframe(struct iframe_stack* stack, struct iframe* frame); 21void mipsel_pop_iframe(struct iframe_stack* stack); 22struct iframe* mipsel_get_user_iframe(void); 23 24 25static inline Thread* 26arch_thread_get_current_thread(void) 27{ 28#warning IMPLEMENT arch_thread_get_current_thread 29 Thread* t; 30 return t; 31} 32 33 34static inline void 35arch_thread_set_current_thread(Thread* t) 36{ 37#warning IMPLEMENT arch_thread_set_current_thread 38} 39 40 41#ifdef __cplusplus 42} 43#endif 44 45 46#endif /* _KERNEL_ARCH_MIPSEL_THREAD_H */ 47 48