* Copyright 2005-2009, Haiku Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*
* Authors:
* Axel DΓΆrfler <axeld@pinc-software.de>
* Ingo Weinhold <bonefish@cs.tu-berlin.de>
*/
#ifndef _KERNEL_ARCH_MIPSEL_INT_H
#define _KERNEL_ARCH_MIPSEL_INT_H
#include <SupportDefs.h>
#warning IMPLEMENT arch_int.h
#define NUM_IO_VECTORS 256
struct mipsel_cpu_exception_context {
void *kernel_handle_exception;
void *exception_context;
void *kernel_stack;
uint32 scratch[8];
};
#ifdef __cplusplus
extern "C" {
#endif
struct mipsel_cpu_exception_context* mipsel_get_cpu_exception_context(int cpu);
void mipsel_set_current_cpu_exception_context(
struct mipsel_cpu_exception_context *context);
#ifdef __cplusplus
}
#endif
#endif