You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
473 B
27 lines
473 B
5 months ago
|
/*
|
||
|
* Copyright (c) 2006-2020, RT-Thread Development Team
|
||
|
*
|
||
|
* SPDX-License-Identifier: Apache-2.0
|
||
|
*
|
||
|
* Change Logs:
|
||
|
* Date Author Notes
|
||
|
* 2020-04-05 bigmagic Initial version
|
||
|
*/
|
||
|
|
||
|
#ifndef __ASSEMBLY__
|
||
|
#define __ASSEMBLY__
|
||
|
#endif
|
||
|
|
||
|
#include <mips.h>
|
||
|
|
||
|
.section ".text", "ax"
|
||
|
.set noreorder
|
||
|
|
||
|
.globl rt_cpu_early_init
|
||
|
rt_cpu_early_init:
|
||
|
mfc0 t0, CP0_CONFIG
|
||
|
ori t0, 3
|
||
|
mtc0 t0, CP0_CONFIG
|
||
|
ehb
|
||
|
jr ra
|