7c66501861
MIPS common code was highly duplicated, This commit is a attempt to clean-up and refine these code. The context and exception handle flow is mostly identical with Linux, but a notable difference is that when FPU enabled, we save FP registers in stackframe unconditionally. Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
24 lines
466 B
C
24 lines
466 B
C
/*
|
|
* Copyright (c) 2006-2019, RT-Thread Development Team
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*
|
|
* Change Logs:
|
|
* Date Author Notes
|
|
* 2016-09-07 Urey first version
|
|
*/
|
|
|
|
#ifndef _COMMON_MIPS_H_
|
|
#define _COMMON_MIPS_H_
|
|
|
|
#include "mips_cfg.h"
|
|
#include "ptrace.h"
|
|
#include "mips_types.h"
|
|
#include "asm.h"
|
|
#include "mips_regs.h"
|
|
#include "mips_addrspace.h"
|
|
#include "mips_cache.h"
|
|
#include "exception.h"
|
|
|
|
#endif /* _COMMON_MIPS_H_ */
|