Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PHPmihuan
rt-thread
提交
7c425408
R
rt-thread
项目概览
PHPmihuan
/
rt-thread
与 Fork 源项目一致
Fork自
RT-Thread / rt-thread
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rt-thread
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
7c425408
编写于
10月 15, 2018
作者:
B
Bernard Xiong
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[license] Change the license of libarm to Apache.
上级
e320de70
变更
141
展开全部
隐藏空白更改
内联
并排
Showing
141 changed file
with
992 addition
and
1698 deletion
+992
-1698
libcpu/arm/AT91SAM7S/AT91SAM7S.h
libcpu/arm/AT91SAM7S/AT91SAM7S.h
+2
-6
libcpu/arm/AT91SAM7S/context_gcc.S
libcpu/arm/AT91SAM7S/context_gcc.S
+2
-6
libcpu/arm/AT91SAM7S/cpu.c
libcpu/arm/AT91SAM7S/cpu.c
+2
-6
libcpu/arm/AT91SAM7S/interrupt.c
libcpu/arm/AT91SAM7S/interrupt.c
+2
-6
libcpu/arm/AT91SAM7S/serial.c
libcpu/arm/AT91SAM7S/serial.c
+2
-6
libcpu/arm/AT91SAM7S/serial.h
libcpu/arm/AT91SAM7S/serial.h
+8
-0
libcpu/arm/AT91SAM7S/stack.c
libcpu/arm/AT91SAM7S/stack.c
+2
-6
libcpu/arm/AT91SAM7S/start_gcc.S
libcpu/arm/AT91SAM7S/start_gcc.S
+2
-6
libcpu/arm/AT91SAM7S/trap.c
libcpu/arm/AT91SAM7S/trap.c
+2
-6
libcpu/arm/AT91SAM7X/context_gcc.S
libcpu/arm/AT91SAM7X/context_gcc.S
+2
-6
libcpu/arm/AT91SAM7X/cpu.c
libcpu/arm/AT91SAM7X/cpu.c
+2
-6
libcpu/arm/AT91SAM7X/interrupt.c
libcpu/arm/AT91SAM7X/interrupt.c
+2
-6
libcpu/arm/AT91SAM7X/stack.c
libcpu/arm/AT91SAM7X/stack.c
+2
-6
libcpu/arm/AT91SAM7X/start_gcc.S
libcpu/arm/AT91SAM7X/start_gcc.S
+2
-6
libcpu/arm/AT91SAM7X/trap.c
libcpu/arm/AT91SAM7X/trap.c
+2
-6
libcpu/arm/am335x/am33xx.h
libcpu/arm/am335x/am33xx.h
+8
-0
libcpu/arm/am335x/context_gcc.S
libcpu/arm/am335x/context_gcc.S
+2
-16
libcpu/arm/am335x/cp15_gcc.S
libcpu/arm/am335x/cp15_gcc.S
+2
-17
libcpu/arm/am335x/cp15_iar.s
libcpu/arm/am335x/cp15_iar.s
+2
-17
libcpu/arm/am335x/cpu.c
libcpu/arm/am335x/cpu.c
+2
-6
libcpu/arm/am335x/interrupt.c
libcpu/arm/am335x/interrupt.c
+2
-6
libcpu/arm/am335x/interrupt.h
libcpu/arm/am335x/interrupt.h
+2
-6
libcpu/arm/am335x/mmu.c
libcpu/arm/am335x/mmu.c
+2
-6
libcpu/arm/am335x/mmu.h
libcpu/arm/am335x/mmu.h
+5
-16
libcpu/arm/am335x/stack.c
libcpu/arm/am335x/stack.c
+2
-6
libcpu/arm/am335x/start_gcc.S
libcpu/arm/am335x/start_gcc.S
+2
-16
libcpu/arm/am335x/start_iar.s
libcpu/arm/am335x/start_iar.s
+2
-16
libcpu/arm/am335x/trap.c
libcpu/arm/am335x/trap.c
+2
-6
libcpu/arm/am335x/vector_gcc.S
libcpu/arm/am335x/vector_gcc.S
+2
-16
libcpu/arm/arm926/cpuport.c
libcpu/arm/arm926/cpuport.c
+2
-16
libcpu/arm/arm926/mmu.c
libcpu/arm/arm926/mmu.c
+2
-16
libcpu/arm/arm926/mmu.h
libcpu/arm/arm926/mmu.h
+2
-16
libcpu/arm/arm926/stack.c
libcpu/arm/arm926/stack.c
+2
-16
libcpu/arm/arm926/start_gcc.S
libcpu/arm/arm926/start_gcc.S
+3
-17
libcpu/arm/arm926/trap.c
libcpu/arm/arm926/trap.c
+2
-16
libcpu/arm/armv6/arm_entry_gcc.S
libcpu/arm/armv6/arm_entry_gcc.S
+2
-16
libcpu/arm/armv6/armv6.h
libcpu/arm/armv6/armv6.h
+2
-16
libcpu/arm/armv6/context_gcc.S
libcpu/arm/armv6/context_gcc.S
+2
-16
libcpu/arm/armv6/cpuport.c
libcpu/arm/armv6/cpuport.c
+2
-16
libcpu/arm/armv6/mmu.c
libcpu/arm/armv6/mmu.c
+2
-16
libcpu/arm/armv6/mmu.h
libcpu/arm/armv6/mmu.h
+2
-16
libcpu/arm/armv6/stack.c
libcpu/arm/armv6/stack.c
+2
-16
libcpu/arm/armv6/vfp.c
libcpu/arm/armv6/vfp.c
+2
-16
libcpu/arm/armv6/vfp.h
libcpu/arm/armv6/vfp.h
+2
-16
libcpu/arm/common/backtrace.c
libcpu/arm/common/backtrace.c
+2
-6
libcpu/arm/common/div0.c
libcpu/arm/common/div0.c
+8
-0
libcpu/arm/common/divsi3.S
libcpu/arm/common/divsi3.S
+8
-0
libcpu/arm/common/showmem.c
libcpu/arm/common/showmem.c
+2
-6
libcpu/arm/cortex-a/armv7.h
libcpu/arm/cortex-a/armv7.h
+8
-0
libcpu/arm/cortex-a/context_gcc.S
libcpu/arm/cortex-a/context_gcc.S
+2
-16
libcpu/arm/cortex-a/cp15.h
libcpu/arm/cortex-a/cp15.h
+8
-0
libcpu/arm/cortex-a/cp15_gcc.S
libcpu/arm/cortex-a/cp15_gcc.S
+2
-17
libcpu/arm/cortex-a/cpu.c
libcpu/arm/cortex-a/cpu.c
+2
-6
libcpu/arm/cortex-a/interrupt.c
libcpu/arm/cortex-a/interrupt.c
+2
-6
libcpu/arm/cortex-a/mmu.c
libcpu/arm/cortex-a/mmu.c
+2
-6
libcpu/arm/cortex-a/pmu.c
libcpu/arm/cortex-a/pmu.c
+8
-0
libcpu/arm/cortex-a/pmu.h
libcpu/arm/cortex-a/pmu.h
+8
-0
libcpu/arm/cortex-a/stack.c
libcpu/arm/cortex-a/stack.c
+2
-6
libcpu/arm/cortex-a/start_gcc.S
libcpu/arm/cortex-a/start_gcc.S
+2
-16
libcpu/arm/cortex-a/trap.c
libcpu/arm/cortex-a/trap.c
+2
-6
libcpu/arm/cortex-a/vector_gcc.S
libcpu/arm/cortex-a/vector_gcc.S
+2
-16
libcpu/arm/cortex-m0/context_gcc.S
libcpu/arm/cortex-m0/context_gcc.S
+2
-6
libcpu/arm/cortex-m0/cpuport.c
libcpu/arm/cortex-m0/cpuport.c
+2
-6
libcpu/arm/cortex-m3/context_gcc.S
libcpu/arm/cortex-m3/context_gcc.S
+2
-6
libcpu/arm/cortex-m3/cpuport.c
libcpu/arm/cortex-m3/cpuport.c
+2
-6
libcpu/arm/cortex-m4/context_gcc.S
libcpu/arm/cortex-m4/context_gcc.S
+2
-6
libcpu/arm/cortex-m7/context_gcc.S
libcpu/arm/cortex-m7/context_gcc.S
+2
-6
libcpu/arm/cortex-r4/armv7.h
libcpu/arm/cortex-r4/armv7.h
+8
-0
libcpu/arm/cortex-r4/context_gcc.S
libcpu/arm/cortex-r4/context_gcc.S
+2
-6
libcpu/arm/cortex-r4/cpu.c
libcpu/arm/cortex-r4/cpu.c
+2
-6
libcpu/arm/cortex-r4/interrupt.c
libcpu/arm/cortex-r4/interrupt.c
+2
-6
libcpu/arm/cortex-r4/stack.c
libcpu/arm/cortex-r4/stack.c
+2
-6
libcpu/arm/cortex-r4/start_gcc.S
libcpu/arm/cortex-r4/start_gcc.S
+8
-0
libcpu/arm/cortex-r4/trap.c
libcpu/arm/cortex-r4/trap.c
+2
-6
libcpu/arm/cortex-r4/vector_gcc.S
libcpu/arm/cortex-r4/vector_gcc.S
+8
-0
libcpu/arm/dm36x/context_gcc.S
libcpu/arm/dm36x/context_gcc.S
+2
-16
libcpu/arm/dm36x/cpuport.c
libcpu/arm/dm36x/cpuport.c
+2
-16
libcpu/arm/dm36x/mmu.c
libcpu/arm/dm36x/mmu.c
+2
-16
libcpu/arm/dm36x/mmu.h
libcpu/arm/dm36x/mmu.h
+2
-16
libcpu/arm/dm36x/stack.c
libcpu/arm/dm36x/stack.c
+2
-16
libcpu/arm/lpc214x/context_gcc.S
libcpu/arm/lpc214x/context_gcc.S
+38
-30
libcpu/arm/lpc214x/cpuport.c
libcpu/arm/lpc214x/cpuport.c
+2
-6
libcpu/arm/lpc214x/startup_gcc.S
libcpu/arm/lpc214x/startup_gcc.S
+56
-48
libcpu/arm/lpc24xx/LPC24xx.h
libcpu/arm/lpc24xx/LPC24xx.h
+2
-6
libcpu/arm/lpc24xx/context_gcc.S
libcpu/arm/lpc24xx/context_gcc.S
+2
-6
libcpu/arm/lpc24xx/cpu.c
libcpu/arm/lpc24xx/cpu.c
+2
-6
libcpu/arm/lpc24xx/interrupt.c
libcpu/arm/lpc24xx/interrupt.c
+2
-6
libcpu/arm/lpc24xx/stack.c
libcpu/arm/lpc24xx/stack.c
+2
-6
libcpu/arm/lpc24xx/start_gcc.S
libcpu/arm/lpc24xx/start_gcc.S
+2
-6
libcpu/arm/lpc24xx/start_rvds.S
libcpu/arm/lpc24xx/start_rvds.S
+8
-0
libcpu/arm/lpc24xx/trap.c
libcpu/arm/lpc24xx/trap.c
+2
-6
libcpu/arm/realview-a8-vmm/armv7.h
libcpu/arm/realview-a8-vmm/armv7.h
+8
-0
libcpu/arm/realview-a8-vmm/context_gcc.S
libcpu/arm/realview-a8-vmm/context_gcc.S
+2
-16
libcpu/arm/realview-a8-vmm/cp15.h
libcpu/arm/realview-a8-vmm/cp15.h
+8
-0
libcpu/arm/realview-a8-vmm/cp15_gcc.S
libcpu/arm/realview-a8-vmm/cp15_gcc.S
+2
-17
libcpu/arm/realview-a8-vmm/cpu.c
libcpu/arm/realview-a8-vmm/cpu.c
+2
-6
libcpu/arm/realview-a8-vmm/gic.c
libcpu/arm/realview-a8-vmm/gic.c
+2
-6
libcpu/arm/realview-a8-vmm/gic.h
libcpu/arm/realview-a8-vmm/gic.h
+2
-6
libcpu/arm/realview-a8-vmm/interrupt.c
libcpu/arm/realview-a8-vmm/interrupt.c
+2
-6
libcpu/arm/realview-a8-vmm/interrupt.h
libcpu/arm/realview-a8-vmm/interrupt.h
+2
-6
libcpu/arm/realview-a8-vmm/mmu.c
libcpu/arm/realview-a8-vmm/mmu.c
+2
-6
libcpu/arm/realview-a8-vmm/pmu.c
libcpu/arm/realview-a8-vmm/pmu.c
+8
-0
libcpu/arm/realview-a8-vmm/pmu.h
libcpu/arm/realview-a8-vmm/pmu.h
+8
-0
libcpu/arm/realview-a8-vmm/stack.c
libcpu/arm/realview-a8-vmm/stack.c
+2
-6
libcpu/arm/realview-a8-vmm/start_gcc.S
libcpu/arm/realview-a8-vmm/start_gcc.S
+2
-16
libcpu/arm/realview-a8-vmm/trap.c
libcpu/arm/realview-a8-vmm/trap.c
+2
-6
libcpu/arm/realview-a8-vmm/vector_gcc.S
libcpu/arm/realview-a8-vmm/vector_gcc.S
+2
-16
libcpu/arm/s3c24x0/context_gcc.S
libcpu/arm/s3c24x0/context_gcc.S
+2
-6
libcpu/arm/s3c24x0/cpu.c
libcpu/arm/s3c24x0/cpu.c
+2
-6
libcpu/arm/s3c24x0/interrupt.c
libcpu/arm/s3c24x0/interrupt.c
+2
-6
libcpu/arm/s3c24x0/mmu.c
libcpu/arm/s3c24x0/mmu.c
+2
-6
libcpu/arm/s3c24x0/rtc.c
libcpu/arm/s3c24x0/rtc.c
+2
-6
libcpu/arm/s3c24x0/rtc.h
libcpu/arm/s3c24x0/rtc.h
+2
-6
libcpu/arm/s3c24x0/s3c24x0.h
libcpu/arm/s3c24x0/s3c24x0.h
+2
-6
libcpu/arm/s3c24x0/serial.c
libcpu/arm/s3c24x0/serial.c
+2
-6
libcpu/arm/s3c24x0/serial.h
libcpu/arm/s3c24x0/serial.h
+8
-0
libcpu/arm/s3c24x0/stack.c
libcpu/arm/s3c24x0/stack.c
+2
-6
libcpu/arm/s3c24x0/start_gcc.S
libcpu/arm/s3c24x0/start_gcc.S
+2
-6
libcpu/arm/s3c24x0/system_clock.c
libcpu/arm/s3c24x0/system_clock.c
+2
-6
libcpu/arm/s3c24x0/trap.c
libcpu/arm/s3c24x0/trap.c
+2
-6
libcpu/arm/s3c44b0/context_gcc.S
libcpu/arm/s3c44b0/context_gcc.S
+2
-6
libcpu/arm/s3c44b0/cpu.c
libcpu/arm/s3c44b0/cpu.c
+2
-6
libcpu/arm/s3c44b0/interrupt.c
libcpu/arm/s3c44b0/interrupt.c
+2
-6
libcpu/arm/s3c44b0/s3c44b0.h
libcpu/arm/s3c44b0/s3c44b0.h
+2
-6
libcpu/arm/s3c44b0/serial.c
libcpu/arm/s3c44b0/serial.c
+2
-6
libcpu/arm/s3c44b0/stack.c
libcpu/arm/s3c44b0/stack.c
+2
-6
libcpu/arm/s3c44b0/start_gcc.S
libcpu/arm/s3c44b0/start_gcc.S
+2
-6
libcpu/arm/s3c44b0/trap.c
libcpu/arm/s3c44b0/trap.c
+2
-6
libcpu/arm/sep4020/clk.c
libcpu/arm/sep4020/clk.c
+2
-6
libcpu/arm/sep4020/cpu.c
libcpu/arm/sep4020/cpu.c
+2
-6
libcpu/arm/sep4020/interrupt.c
libcpu/arm/sep4020/interrupt.c
+2
-6
libcpu/arm/sep4020/sep4020.h
libcpu/arm/sep4020/sep4020.h
+516
-508
libcpu/arm/sep4020/serial.c
libcpu/arm/sep4020/serial.c
+2
-6
libcpu/arm/sep4020/serial.h
libcpu/arm/sep4020/serial.h
+2
-6
libcpu/arm/sep4020/stack.c
libcpu/arm/sep4020/stack.c
+2
-6
libcpu/arm/sep4020/trap.c
libcpu/arm/sep4020/trap.c
+2
-6
libcpu/arm/zynq7000/cp15_gcc.S
libcpu/arm/zynq7000/cp15_gcc.S
+2
-17
libcpu/arm/zynq7000/cpu.c
libcpu/arm/zynq7000/cpu.c
+2
-6
libcpu/arm/zynq7000/stack.c
libcpu/arm/zynq7000/stack.c
+2
-6
libcpu/arm/zynq7000/start_gcc.S
libcpu/arm/zynq7000/start_gcc.S
+2
-16
libcpu/arm/zynq7000/vector_gcc.S
libcpu/arm/zynq7000/vector_gcc.S
+2
-16
未找到文件。
libcpu/arm/AT91SAM7S/AT91SAM7S.h
浏览文件 @
7c425408
/*
* File : at91sam7s.h
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, RT-Thread Develop Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://openlab.rt-thread.com/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/AT91SAM7S/context_gcc.S
浏览文件 @
7c425408
/*
*
File
:
context
.
S
*
This
file
is
part
of
RT
-
Thread
RTOS
*
COPYRIGHT
(
C
)
2006
,
RT
-
Thread
Development
Team
*
Copyright
(
c
)
2006
-
2018
,
RT
-
Thread
Development
Team
*
*
The
license
and
distribution
terms
for
this
file
may
be
*
found
in
the
file
LICENSE
in
this
distribution
or
at
*
http
:
//
www
.
rt
-
thread
.
org
/
license
/
LICENSE
*
SPDX
-
License
-
Identifier
:
Apache
-
2
.0
*
*
Change
Logs
:
*
Date
Author
Notes
...
...
libcpu/arm/AT91SAM7S/cpu.c
浏览文件 @
7c425408
/*
* File : cpu.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, RT-Thread Develop Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/AT91SAM7S/interrupt.c
浏览文件 @
7c425408
/*
* File : trap.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://openlab.rt-thread.com/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/AT91SAM7S/serial.c
浏览文件 @
7c425408
/*
* File : serial.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://openlab.rt-thread.com/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/AT91SAM7S/serial.h
浏览文件 @
7c425408
/*
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
*/
#ifndef __RT_SERIAL_H__
#define __RT_SERIAL_H__
...
...
libcpu/arm/AT91SAM7S/stack.c
浏览文件 @
7c425408
/*
* File : stack.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://openlab.rt-thread.com/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/AT91SAM7S/start_gcc.S
浏览文件 @
7c425408
/*
*
File
:
start_gcc
.
S
*
This
file
is
part
of
RT
-
Thread
RTOS
*
COPYRIGHT
(
C
)
2006
,
RT
-
Thread
Development
Team
*
Copyright
(
c
)
2006
-
2018
,
RT
-
Thread
Development
Team
*
*
The
license
and
distribution
terms
for
this
file
may
be
*
found
in
the
file
LICENSE
in
this
distribution
or
at
*
http
:
//
www
.
rt
-
thread
.
org
/
license
/
LICENSE
*
SPDX
-
License
-
Identifier
:
Apache
-
2
.0
*
*
Change
Logs
:
*
Date
Author
Notes
...
...
libcpu/arm/AT91SAM7S/trap.c
浏览文件 @
7c425408
/*
* File : trap.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://openlab.rt-thread.com/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/AT91SAM7X/context_gcc.S
浏览文件 @
7c425408
/*
*
File
:
context
.
S
*
This
file
is
part
of
RT
-
Thread
RTOS
*
COPYRIGHT
(
C
)
2006
,
RT
-
Thread
Development
Team
*
Copyright
(
c
)
2006
-
2018
,
RT
-
Thread
Development
Team
*
*
The
license
and
distribution
terms
for
this
file
may
be
*
found
in
the
file
LICENSE
in
this
distribution
or
at
*
http
:
//
openlab
.
rt
-
thread
.
com
/
license
/
LICENSE
*
SPDX
-
License
-
Identifier
:
Apache
-
2
.0
*
*
Change
Logs
:
*
Date
Author
Notes
...
...
libcpu/arm/AT91SAM7X/cpu.c
浏览文件 @
7c425408
/*
* File : cpu.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, RT-Thread Develop Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/AT91SAM7X/interrupt.c
浏览文件 @
7c425408
/*
* File : trap.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://openlab.rt-thread.com/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/AT91SAM7X/stack.c
浏览文件 @
7c425408
/*
* File : stack.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://openlab.rt-thread.com/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/AT91SAM7X/start_gcc.S
浏览文件 @
7c425408
/*
*
File
:
start
.
S
*
This
file
is
part
of
RT
-
Thread
RTOS
*
COPYRIGHT
(
C
)
2006
,
RT
-
Thread
Development
Team
*
Copyright
(
c
)
2006
-
2018
,
RT
-
Thread
Development
Team
*
*
The
license
and
distribution
terms
for
this
file
may
be
*
found
in
the
file
LICENSE
in
this
distribution
or
at
*
http
:
//
openlab
.
rt
-
thread
.
com
/
license
/
LICENSE
*
SPDX
-
License
-
Identifier
:
Apache
-
2
.0
*
*
Change
Logs
:
*
Date
Author
Notes
...
...
libcpu/arm/AT91SAM7X/trap.c
浏览文件 @
7c425408
/*
* File : trap.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://openlab.rt-thread.com/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/am335x/am33xx.h
浏览文件 @
7c425408
/*
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
*/
#ifndef __AM33XX_H__
#define __AM33XX_H__
...
...
libcpu/arm/am335x/context_gcc.S
浏览文件 @
7c425408
/*
*
File
:
context
.
S
*
This
file
is
part
of
RT
-
Thread
RTOS
*
COPYRIGHT
(
C
)
2013
,
RT
-
Thread
Development
Team
*
Copyright
(
c
)
2006
-
2018
,
RT
-
Thread
Development
Team
*
*
This
program
is
free
software
; you can redistribute it and/or modify
*
it
under
the
terms
of
the
GNU
General
Public
License
as
published
by
*
the
Free
Software
Foundation
; either version 2 of the License, or
*
(
at
your
option
)
any
later
version
.
*
*
This
program
is
distributed
in
the
hope
that
it
will
be
useful
,
*
but
WITHOUT
ANY
WARRANTY
; without even the implied warranty of
*
MERCHANTABILITY
or
FITNESS
FOR
A
PARTICULAR
PURPOSE
.
See
the
*
GNU
General
Public
License
for
more
details
.
*
*
You
should
have
received
a
copy
of
the
GNU
General
Public
License
along
*
with
this
program
; if not, write to the Free Software Foundation, Inc.,
*
51
Franklin
Street
,
Fifth
Floor
,
Boston
,
MA
02110
-
1301
USA
.
*
SPDX
-
License
-
Identifier
:
Apache
-
2
.0
*
*
Change
Logs
:
*
Date
Author
Notes
...
...
libcpu/arm/am335x/cp15_gcc.S
浏览文件 @
7c425408
/*
*
File
:
cp15_gcc
.
S
*
This
file
is
part
of
RT
-
Thread
RTOS
*
COPYRIGHT
(
C
)
2013
,
RT
-
Thread
Development
Team
*
http
:
//
www
.
rt
-
thread
.
org
*
Copyright
(
c
)
2006
-
2018
,
RT
-
Thread
Development
Team
*
*
This
program
is
free
software
; you can redistribute it and/or modify
*
it
under
the
terms
of
the
GNU
General
Public
License
as
published
by
*
the
Free
Software
Foundation
; either version 2 of the License, or
*
(
at
your
option
)
any
later
version
.
*
*
This
program
is
distributed
in
the
hope
that
it
will
be
useful
,
*
but
WITHOUT
ANY
WARRANTY
; without even the implied warranty of
*
MERCHANTABILITY
or
FITNESS
FOR
A
PARTICULAR
PURPOSE
.
See
the
*
GNU
General
Public
License
for
more
details
.
*
*
You
should
have
received
a
copy
of
the
GNU
General
Public
License
along
*
with
this
program
; if not, write to the Free Software Foundation, Inc.,
*
51
Franklin
Street
,
Fifth
Floor
,
Boston
,
MA
02110
-
1301
USA
.
*
SPDX
-
License
-
Identifier
:
Apache
-
2
.0
*
*
Change
Logs
:
*
Date
Author
Notes
...
...
libcpu/arm/am335x/cp15_iar.s
浏览文件 @
7c425408
/*
*
File
:
cp15_iar
.
s
*
This
file
is
part
of
RT
-
Thread
RTOS
*
COPYRIGHT
(
C
)
2015
,
RT
-
Thread
Development
Team
*
http
:
//
www
.
rt
-
thread
.
org
*
Copyright
(
c
)
2006
-
2018
,
RT
-
Thread
Development
Team
*
*
This
program
is
free
software
; you can redistribute it and/or modify
*
it
under
the
terms
of
the
GNU
General
Public
License
as
published
by
*
the
Free
Software
Foundation
; either version 2 of the License, or
*
(
at
your
option
)
any
later
version
.
*
*
This
program
is
distributed
in
the
hope
that
it
will
be
useful
,
*
but
WITHOUT
ANY
WARRANTY
; without even the implied warranty of
*
MERCHANTABILITY
or
FITNESS
FOR
A
PARTICULAR
PURPOSE
.
See
the
*
GNU
General
Public
License
for
more
details
.
*
*
You
should
have
received
a
copy
of
the
GNU
General
Public
License
along
*
with
this
program
; if not, write to the Free Software Foundation, Inc.,
*
51
Franklin
Street
,
Fifth
Floor
,
Boston
,
MA
02110
-
1301
USA
.
*
SPDX
-
License
-
Identifier
:
Apache
-
2
.0
*
*
Change
Logs
:
*
Date
Author
Notes
...
...
libcpu/arm/am335x/cpu.c
浏览文件 @
7c425408
/*
* File : cpu.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, RT-Thread Develop Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/am335x/interrupt.c
浏览文件 @
7c425408
/*
* File : interrupt.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2011, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/am335x/interrupt.h
浏览文件 @
7c425408
/*
* File : interrupt.h
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2011, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/am335x/mmu.c
浏览文件 @
7c425408
/*
* File : mmu.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/am335x/mmu.h
浏览文件 @
7c425408
/*
* File : mmu.h
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2012-01-10 bernard porting to AM1808
*/
#ifndef __MMU_H__
...
...
libcpu/arm/am335x/stack.c
浏览文件 @
7c425408
/*
* File : stack.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2011, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/am335x/start_gcc.S
浏览文件 @
7c425408
/*
*
File
:
start_gcc
.
S
*
This
file
is
part
of
RT
-
Thread
RTOS
*
COPYRIGHT
(
C
)
2013
,
RT
-
Thread
Development
Team
*
Copyright
(
c
)
2006
-
2018
,
RT
-
Thread
Development
Team
*
*
This
program
is
free
software
; you can redistribute it and/or modify
*
it
under
the
terms
of
the
GNU
General
Public
License
as
published
by
*
the
Free
Software
Foundation
; either version 2 of the License, or
*
(
at
your
option
)
any
later
version
.
*
*
This
program
is
distributed
in
the
hope
that
it
will
be
useful
,
*
but
WITHOUT
ANY
WARRANTY
; without even the implied warranty of
*
MERCHANTABILITY
or
FITNESS
FOR
A
PARTICULAR
PURPOSE
.
See
the
*
GNU
General
Public
License
for
more
details
.
*
*
You
should
have
received
a
copy
of
the
GNU
General
Public
License
along
*
with
this
program
; if not, write to the Free Software Foundation, Inc.,
*
51
Franklin
Street
,
Fifth
Floor
,
Boston
,
MA
02110
-
1301
USA
.
*
SPDX
-
License
-
Identifier
:
Apache
-
2
.0
*
*
Change
Logs
:
*
Date
Author
Notes
...
...
libcpu/arm/am335x/start_iar.s
浏览文件 @
7c425408
/*
*
File
:
start_iar
.
s
*
This
file
is
part
of
RT
-
Thread
RTOS
*
COPYRIGHT
(
C
)
2015
,
RT
-
Thread
Development
Team
*
Copyright
(
c
)
2006
-
2018
,
RT
-
Thread
Development
Team
*
*
This
program
is
free
software
; you can redistribute it and/or modify
*
it
under
the
terms
of
the
GNU
General
Public
License
as
published
by
*
the
Free
Software
Foundation
; either version 2 of the License, or
*
(
at
your
option
)
any
later
version
.
*
*
This
program
is
distributed
in
the
hope
that
it
will
be
useful
,
*
but
WITHOUT
ANY
WARRANTY
; without even the implied warranty of
*
MERCHANTABILITY
or
FITNESS
FOR
A
PARTICULAR
PURPOSE
.
See
the
*
GNU
General
Public
License
for
more
details
.
*
*
You
should
have
received
a
copy
of
the
GNU
General
Public
License
along
*
with
this
program
; if not, write to the Free Software Foundation, Inc.,
*
51
Franklin
Street
,
Fifth
Floor
,
Boston
,
MA
02110
-
1301
USA
.
*
SPDX
-
License
-
Identifier
:
Apache
-
2
.0
*
*
Change
Logs
:
*
Date
Author
Notes
...
...
libcpu/arm/am335x/trap.c
浏览文件 @
7c425408
/*
* File : trap.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, RT-Thread Develop Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/am335x/vector_gcc.S
浏览文件 @
7c425408
/*
*
File
:
vector_gcc
.
S
*
This
file
is
part
of
RT
-
Thread
RTOS
*
COPYRIGHT
(
C
)
2013
,
RT
-
Thread
Development
Team
*
Copyright
(
c
)
2006
-
2018
,
RT
-
Thread
Development
Team
*
*
This
program
is
free
software
; you can redistribute it and/or modify
*
it
under
the
terms
of
the
GNU
General
Public
License
as
published
by
*
the
Free
Software
Foundation
; either version 2 of the License, or
*
(
at
your
option
)
any
later
version
.
*
*
This
program
is
distributed
in
the
hope
that
it
will
be
useful
,
*
but
WITHOUT
ANY
WARRANTY
; without even the implied warranty of
*
MERCHANTABILITY
or
FITNESS
FOR
A
PARTICULAR
PURPOSE
.
See
the
*
GNU
General
Public
License
for
more
details
.
*
*
You
should
have
received
a
copy
of
the
GNU
General
Public
License
along
*
with
this
program
; if not, write to the Free Software Foundation, Inc.,
*
51
Franklin
Street
,
Fifth
Floor
,
Boston
,
MA
02110
-
1301
USA
.
*
SPDX
-
License
-
Identifier
:
Apache
-
2
.0
*
*
Change
Logs
:
*
Date
Author
Notes
...
...
libcpu/arm/arm926/cpuport.c
浏览文件 @
7c425408
/*
* File : cpu.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, RT-Thread Develop Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/arm926/mmu.c
浏览文件 @
7c425408
/*
* File : mmu.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/arm926/mmu.h
浏览文件 @
7c425408
/*
* File : mmu.h
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/arm926/stack.c
浏览文件 @
7c425408
/*
* File : stack.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/arm926/start_gcc.S
浏览文件 @
7c425408
/*
*
File
:
start_gcc
.
S
*
This
file
is
part
of
RT
-
Thread
RTOS
*
COPYRIGHT
(
C
)
2006
-
2015
,
RT
-
Thread
Development
Team
*
Copyright
(
c
)
2006
-
2018
,
RT
-
Thread
Development
Team
*
*
This
program
is
free
software
; you can redistribute it and/or modify
*
it
under
the
terms
of
the
GNU
General
Public
License
as
published
by
*
the
Free
Software
Foundation
; either version 2 of the License, or
*
(
at
your
option
)
any
later
version
.
*
*
This
program
is
distributed
in
the
hope
that
it
will
be
useful
,
*
but
WITHOUT
ANY
WARRANTY
; without even the implied warranty of
*
MERCHANTABILITY
or
FITNESS
FOR
A
PARTICULAR
PURPOSE
.
See
the
*
GNU
General
Public
License
for
more
details
.
*
*
You
should
have
received
a
copy
of
the
GNU
General
Public
License
along
*
with
this
program
; if not, write to the Free Software Foundation, Inc.,
*
51
Franklin
Street
,
Fifth
Floor
,
Boston
,
MA
02110
-
1301
USA
.
*
SPDX
-
License
-
Identifier
:
Apache
-
2
.0
*
*
Change
Logs
:
*
Date
Author
Notes
...
...
@@ -138,7 +124,7 @@ Reset_Handler:
MSR
CPSR_cxsf
,
R0
@
; Set CO-Processor
@
; little-end
,d
isbale I/D Cache MMU, vector table is 0x00000000
@
; little-end
锛宒
isbale I/D Cache MMU, vector table is 0x00000000
MRC
P15
,
0
,
R0
,
C1
,
C0
,
0
@
; Read CP15
LDR
R1
,
=
0x00003085
@
; set clear bits
BIC
R0
,
R0
,
R1
...
...
libcpu/arm/arm926/trap.c
浏览文件 @
7c425408
/*
* File : trap.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006 - 2015, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/armv6/arm_entry_gcc.S
浏览文件 @
7c425408
/*
*
File
:
arm_entry_gcc
.
S
*
This
file
is
part
of
RT
-
Thread
RTOS
*
COPYRIGHT
(
C
)
2006
,
RT
-
Thread
Development
Team
*
Copyright
(
c
)
2006
-
2018
,
RT
-
Thread
Development
Team
*
*
This
program
is
free
software
; you can redistribute it and/or modify
*
it
under
the
terms
of
the
GNU
General
Public
License
as
published
by
*
the
Free
Software
Foundation
; either version 2 of the License, or
*
(
at
your
option
)
any
later
version
.
*
*
This
program
is
distributed
in
the
hope
that
it
will
be
useful
,
*
but
WITHOUT
ANY
WARRANTY
; without even the implied warranty of
*
MERCHANTABILITY
or
FITNESS
FOR
A
PARTICULAR
PURPOSE
.
See
the
*
GNU
General
Public
License
for
more
details
.
*
*
You
should
have
received
a
copy
of
the
GNU
General
Public
License
along
*
with
this
program
; if not, write to the Free Software Foundation, Inc.,
*
51
Franklin
Street
,
Fifth
Floor
,
Boston
,
MA
02110
-
1301
USA
.
*
SPDX
-
License
-
Identifier
:
Apache
-
2
.0
*
*
Change
Logs
:
*
Date
Author
Notes
...
...
libcpu/arm/armv6/armv6.h
浏览文件 @
7c425408
/*
* File : armv6.h
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/armv6/context_gcc.S
浏览文件 @
7c425408
/*
*
File
:
context
.
S
*
This
file
is
part
of
RT
-
Thread
RTOS
*
COPYRIGHT
(
C
)
2006
,
RT
-
Thread
Development
Team
*
Copyright
(
c
)
2006
-
2018
,
RT
-
Thread
Development
Team
*
*
This
program
is
free
software
; you can redistribute it and/or modify
*
it
under
the
terms
of
the
GNU
General
Public
License
as
published
by
*
the
Free
Software
Foundation
; either version 2 of the License, or
*
(
at
your
option
)
any
later
version
.
*
*
This
program
is
distributed
in
the
hope
that
it
will
be
useful
,
*
but
WITHOUT
ANY
WARRANTY
; without even the implied warranty of
*
MERCHANTABILITY
or
FITNESS
FOR
A
PARTICULAR
PURPOSE
.
See
the
*
GNU
General
Public
License
for
more
details
.
*
*
You
should
have
received
a
copy
of
the
GNU
General
Public
License
along
*
with
this
program
; if not, write to the Free Software Foundation, Inc.,
*
51
Franklin
Street
,
Fifth
Floor
,
Boston
,
MA
02110
-
1301
USA
.
*
SPDX
-
License
-
Identifier
:
Apache
-
2
.0
*
*
Change
Logs
:
*
Date
Author
Notes
...
...
libcpu/arm/armv6/cpuport.c
浏览文件 @
7c425408
/*
* File : cpu.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, RT-Thread Develop Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/armv6/mmu.c
浏览文件 @
7c425408
/*
* File : mmu.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/armv6/mmu.h
浏览文件 @
7c425408
/*
* File : mmu.h
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/armv6/stack.c
浏览文件 @
7c425408
/*
* File : stack.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/armv6/vfp.c
浏览文件 @
7c425408
/*
* File : vfp.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, RT-Thread Develop Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/armv6/vfp.h
浏览文件 @
7c425408
/*
* File : vfp.h
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, RT-Thread Develop Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/common/backtrace.c
浏览文件 @
7c425408
/*
* File : backtrace.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, 2008 RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://openlab.rt-thread.com/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/common/div0.c
浏览文件 @
7c425408
/*
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
*/
void
__div0
(
void
)
{
while
(
1
)
;
...
...
libcpu/arm/common/divsi3.S
浏览文件 @
7c425408
/*
*
Copyright
(
c
)
2006
-
2018
,
RT
-
Thread
Development
Team
*
*
SPDX
-
License
-
Identifier
:
Apache
-
2
.0
*
*
Change
Logs
:
*
Date
Author
Notes
*/
/*
$NetBSD
:
divsi3
.
S
,
v
1
.5
2005
/
02
/
26
22
:
58
:
56
perry
Exp
$
*/
/*
...
...
libcpu/arm/common/showmem.c
浏览文件 @
7c425408
/*
* File : showmem.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, 2008 RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://openlab.rt-thread.com/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/cortex-a/armv7.h
浏览文件 @
7c425408
/*
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
*/
#ifndef __ARMV7_H__
#define __ARMV7_H__
...
...
libcpu/arm/cortex-a/context_gcc.S
浏览文件 @
7c425408
/*
*
File
:
context
.
S
*
This
file
is
part
of
RT
-
Thread
RTOS
*
COPYRIGHT
(
C
)
2013
,
RT
-
Thread
Development
Team
*
Copyright
(
c
)
2006
-
2018
,
RT
-
Thread
Development
Team
*
*
This
program
is
free
software
; you can redistribute it and/or modify
*
it
under
the
terms
of
the
GNU
General
Public
License
as
published
by
*
the
Free
Software
Foundation
; either version 2 of the License, or
*
(
at
your
option
)
any
later
version
.
*
*
This
program
is
distributed
in
the
hope
that
it
will
be
useful
,
*
but
WITHOUT
ANY
WARRANTY
; without even the implied warranty of
*
MERCHANTABILITY
or
FITNESS
FOR
A
PARTICULAR
PURPOSE
.
See
the
*
GNU
General
Public
License
for
more
details
.
*
*
You
should
have
received
a
copy
of
the
GNU
General
Public
License
along
*
with
this
program
; if not, write to the Free Software Foundation, Inc.,
*
51
Franklin
Street
,
Fifth
Floor
,
Boston
,
MA
02110
-
1301
USA
.
*
SPDX
-
License
-
Identifier
:
Apache
-
2
.0
*
*
Change
Logs
:
*
Date
Author
Notes
...
...
libcpu/arm/cortex-a/cp15.h
浏览文件 @
7c425408
/*
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
*/
#ifndef __CP15_H__
#define __CP15_H__
...
...
libcpu/arm/cortex-a/cp15_gcc.S
浏览文件 @
7c425408
/*
*
File
:
cp15_gcc
.
S
*
This
file
is
part
of
RT
-
Thread
RTOS
*
COPYRIGHT
(
C
)
2013
,
RT
-
Thread
Development
Team
*
http
:
//
www
.
rt
-
thread
.
org
*
Copyright
(
c
)
2006
-
2018
,
RT
-
Thread
Development
Team
*
*
This
program
is
free
software
; you can redistribute it and/or modify
*
it
under
the
terms
of
the
GNU
General
Public
License
as
published
by
*
the
Free
Software
Foundation
; either version 2 of the License, or
*
(
at
your
option
)
any
later
version
.
*
*
This
program
is
distributed
in
the
hope
that
it
will
be
useful
,
*
but
WITHOUT
ANY
WARRANTY
; without even the implied warranty of
*
MERCHANTABILITY
or
FITNESS
FOR
A
PARTICULAR
PURPOSE
.
See
the
*
GNU
General
Public
License
for
more
details
.
*
*
You
should
have
received
a
copy
of
the
GNU
General
Public
License
along
*
with
this
program
; if not, write to the Free Software Foundation, Inc.,
*
51
Franklin
Street
,
Fifth
Floor
,
Boston
,
MA
02110
-
1301
USA
.
*
SPDX
-
License
-
Identifier
:
Apache
-
2
.0
*
*
Change
Logs
:
*
Date
Author
Notes
...
...
libcpu/arm/cortex-a/cpu.c
浏览文件 @
7c425408
/*
* File : cpu.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, RT-Thread Develop Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/cortex-a/interrupt.c
浏览文件 @
7c425408
/*
* File : interrupt.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2013-2014, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/cortex-a/mmu.c
浏览文件 @
7c425408
/*
* File : mmu.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/cortex-a/pmu.c
浏览文件 @
7c425408
/*
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
*/
#include <rtthread.h>
#include "pmu.h"
...
...
libcpu/arm/cortex-a/pmu.h
浏览文件 @
7c425408
/*
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
*/
#ifndef __PMU_H__
#define __PMU_H__
...
...
libcpu/arm/cortex-a/stack.c
浏览文件 @
7c425408
/*
* File : stack.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2011, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/cortex-a/start_gcc.S
浏览文件 @
7c425408
/*
*
File
:
start_gcc
.
S
*
This
file
is
part
of
RT
-
Thread
RTOS
*
COPYRIGHT
(
C
)
2013
-
2014
,
RT
-
Thread
Development
Team
*
Copyright
(
c
)
2006
-
2018
,
RT
-
Thread
Development
Team
*
*
This
program
is
free
software
; you can redistribute it and/or modify
*
it
under
the
terms
of
the
GNU
General
Public
License
as
published
by
*
the
Free
Software
Foundation
; either version 2 of the License, or
*
(
at
your
option
)
any
later
version
.
*
*
This
program
is
distributed
in
the
hope
that
it
will
be
useful
,
*
but
WITHOUT
ANY
WARRANTY
; without even the implied warranty of
*
MERCHANTABILITY
or
FITNESS
FOR
A
PARTICULAR
PURPOSE
.
See
the
*
GNU
General
Public
License
for
more
details
.
*
*
You
should
have
received
a
copy
of
the
GNU
General
Public
License
along
*
with
this
program
; if not, write to the Free Software Foundation, Inc.,
*
51
Franklin
Street
,
Fifth
Floor
,
Boston
,
MA
02110
-
1301
USA
.
*
SPDX
-
License
-
Identifier
:
Apache
-
2
.0
*
*
Change
Logs
:
*
Date
Author
Notes
...
...
libcpu/arm/cortex-a/trap.c
浏览文件 @
7c425408
/*
* File : trap.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2013, RT-Thread Develop Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/cortex-a/vector_gcc.S
浏览文件 @
7c425408
/*
*
File
:
vector_gcc
.
S
*
This
file
is
part
of
RT
-
Thread
RTOS
*
COPYRIGHT
(
C
)
2013
,
RT
-
Thread
Development
Team
*
Copyright
(
c
)
2006
-
2018
,
RT
-
Thread
Development
Team
*
*
This
program
is
free
software
; you can redistribute it and/or modify
*
it
under
the
terms
of
the
GNU
General
Public
License
as
published
by
*
the
Free
Software
Foundation
; either version 2 of the License, or
*
(
at
your
option
)
any
later
version
.
*
*
This
program
is
distributed
in
the
hope
that
it
will
be
useful
,
*
but
WITHOUT
ANY
WARRANTY
; without even the implied warranty of
*
MERCHANTABILITY
or
FITNESS
FOR
A
PARTICULAR
PURPOSE
.
See
the
*
GNU
General
Public
License
for
more
details
.
*
*
You
should
have
received
a
copy
of
the
GNU
General
Public
License
along
*
with
this
program
; if not, write to the Free Software Foundation, Inc.,
*
51
Franklin
Street
,
Fifth
Floor
,
Boston
,
MA
02110
-
1301
USA
.
*
SPDX
-
License
-
Identifier
:
Apache
-
2
.0
*
*
Change
Logs
:
*
Date
Author
Notes
...
...
libcpu/arm/cortex-m0/context_gcc.S
浏览文件 @
7c425408
/*
*
File
:
context_gcc
.
S
*
This
file
is
part
of
RT
-
Thread
RTOS
*
COPYRIGHT
(
C
)
2009
-
2013
,
RT
-
Thread
Development
Team
*
Copyright
(
c
)
2006
-
2018
,
RT
-
Thread
Development
Team
*
*
The
license
and
distribution
terms
for
this
file
may
be
*
found
in
the
file
LICENSE
in
this
distribution
or
at
*
http
:
//
www
.
rt
-
thread
.
org
/
license
/
LICENSE
*
SPDX
-
License
-
Identifier
:
Apache
-
2
.0
*
*
Change
Logs
:
*
Date
Author
Notes
...
...
libcpu/arm/cortex-m0/cpuport.c
浏览文件 @
7c425408
/*
* File : cpuport.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006 - 2012, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/cortex-m3/context_gcc.S
浏览文件 @
7c425408
/*
*
File
:
context_gcc
.
S
*
This
file
is
part
of
RT
-
Thread
RTOS
*
COPYRIGHT
(
C
)
2006
-
2013
,
RT
-
Thread
Development
Team
*
Copyright
(
c
)
2006
-
2018
,
RT
-
Thread
Development
Team
*
*
The
license
and
distribution
terms
for
this
file
may
be
*
found
in
the
file
LICENSE
in
this
distribution
or
at
*
http
:
//
www
.
rt
-
thread
.
org
/
license
/
LICENSE
*
SPDX
-
License
-
Identifier
:
Apache
-
2
.0
*
*
Change
Logs
:
*
Date
Author
Notes
...
...
libcpu/arm/cortex-m3/cpuport.c
浏览文件 @
7c425408
/*
* File : cpuport.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006 - 2013, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/cortex-m4/context_gcc.S
浏览文件 @
7c425408
/*
*
File
:
context_gcc
.
S
*
This
file
is
part
of
RT
-
Thread
RTOS
*
COPYRIGHT
(
C
)
2006
-
2018
,
RT
-
Thread
Development
Team
*
Copyright
(
c
)
2006
-
2018
,
RT
-
Thread
Development
Team
*
*
The
license
and
distribution
terms
for
this
file
may
be
*
found
in
the
file
LICENSE
in
this
distribution
or
at
*
http
:
//
www
.
rt
-
thread
.
org
/
license
/
LICENSE
*
SPDX
-
License
-
Identifier
:
Apache
-
2
.0
*
*
Change
Logs
:
*
Date
Author
Notes
...
...
libcpu/arm/cortex-m7/context_gcc.S
浏览文件 @
7c425408
/*
*
File
:
context_gcc
.
S
*
This
file
is
part
of
RT
-
Thread
RTOS
*
COPYRIGHT
(
C
)
2006
-
2018
,
RT
-
Thread
Development
Team
*
Copyright
(
c
)
2006
-
2018
,
RT
-
Thread
Development
Team
*
*
The
license
and
distribution
terms
for
this
file
may
be
*
found
in
the
file
LICENSE
in
this
distribution
or
at
*
http
:
//
www
.
rt
-
thread
.
org
/
license
/
LICENSE
*
SPDX
-
License
-
Identifier
:
Apache
-
2
.0
*
*
Change
Logs
:
*
Date
Author
Notes
...
...
libcpu/arm/cortex-r4/armv7.h
浏览文件 @
7c425408
/*
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
*/
#ifndef __ARMV7_H__
#define __ARMV7_H__
...
...
libcpu/arm/cortex-r4/context_gcc.S
浏览文件 @
7c425408
/*
*
File
:
context_ccs
.
asm
*
This
file
is
part
of
RT
-
Thread
RTOS
*
COPYRIGHT
(
C
)
2006
,
RT
-
Thread
Development
Team
*
Copyright
(
c
)
2006
-
2018
,
RT
-
Thread
Development
Team
*
*
The
license
and
distribution
terms
for
this
file
may
be
*
found
in
the
file
LICENSE
in
this
distribution
or
at
*
http
:
//
www
.
rt
-
thread
.
org
/
license
/
LICENSE
*
SPDX
-
License
-
Identifier
:
Apache
-
2
.0
*
*
Change
Logs
:
*
Date
Author
Notes
...
...
libcpu/arm/cortex-r4/cpu.c
浏览文件 @
7c425408
/*
* File : cpu.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, RT-Thread Develop Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://openlab.rt-thread.com/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/cortex-r4/interrupt.c
浏览文件 @
7c425408
/*
* File : trap.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://openlab.rt-thread.com/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/cortex-r4/stack.c
浏览文件 @
7c425408
/*
* File : stack.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://openlab.rt-thread.com/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/cortex-r4/start_gcc.S
浏览文件 @
7c425408
/*
*
Copyright
(
c
)
2006
-
2018
,
RT
-
Thread
Development
Team
*
*
SPDX
-
License
-
Identifier
:
Apache
-
2
.0
*
*
Change
Logs
:
*
Date
Author
Notes
*/
@-------------------------------------------------------------------------------
@
sys_core
.
asm
@
...
...
libcpu/arm/cortex-r4/trap.c
浏览文件 @
7c425408
/*
* File : trap.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://openlab.rt-thread.com/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/cortex-r4/vector_gcc.S
浏览文件 @
7c425408
/*
*
Copyright
(
c
)
2006
-
2018
,
RT
-
Thread
Development
Team
*
*
SPDX
-
License
-
Identifier
:
Apache
-
2
.0
*
*
Change
Logs
:
*
Date
Author
Notes
*/
@-------------------------------------------------------------------------------
@
sys_intvecs
.
asm
@
...
...
libcpu/arm/dm36x/context_gcc.S
浏览文件 @
7c425408
/*
*
File
:
context
.
S
*
This
file
is
part
of
RT
-
Thread
RTOS
*
COPYRIGHT
(
C
)
2006
,
RT
-
Thread
Development
Team
*
Copyright
(
c
)
2006
-
2018
,
RT
-
Thread
Development
Team
*
*
This
program
is
free
software
; you can redistribute it and/or modify
*
it
under
the
terms
of
the
GNU
General
Public
License
as
published
by
*
the
Free
Software
Foundation
; either version 2 of the License, or
*
(
at
your
option
)
any
later
version
.
*
*
This
program
is
distributed
in
the
hope
that
it
will
be
useful
,
*
but
WITHOUT
ANY
WARRANTY
; without even the implied warranty of
*
MERCHANTABILITY
or
FITNESS
FOR
A
PARTICULAR
PURPOSE
.
See
the
*
GNU
General
Public
License
for
more
details
.
*
*
You
should
have
received
a
copy
of
the
GNU
General
Public
License
along
*
with
this
program
; if not, write to the Free Software Foundation, Inc.,
*
51
Franklin
Street
,
Fifth
Floor
,
Boston
,
MA
02110
-
1301
USA
.
*
SPDX
-
License
-
Identifier
:
Apache
-
2
.0
*
*
Change
Logs
:
*
Date
Author
Notes
...
...
libcpu/arm/dm36x/cpuport.c
浏览文件 @
7c425408
/*
* File : cpu.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, RT-Thread Develop Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/dm36x/mmu.c
浏览文件 @
7c425408
/*
* File : mmu.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/dm36x/mmu.h
浏览文件 @
7c425408
/*
* File : mmu.h
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/dm36x/stack.c
浏览文件 @
7c425408
/*
* File : stack.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/lpc214x/context_gcc.S
浏览文件 @
7c425408
/*
*
Copyright
(
c
)
2006
-
2018
,
RT
-
Thread
Development
Team
*
*
SPDX
-
License
-
Identifier
:
Apache
-
2
.0
*
*
Change
Logs
:
*
Date
Author
Notes
*/
.
global
rt_hw_interrupt_disable
.
global
rt_hw_interrupt_enable
.
global
rt_hw_context_switch
...
...
@@ -8,7 +16,7 @@
/*
*
rt_base_t
rt_hw_interrupt_disable
()
;
关闭中断,关闭前返回
CPSR
寄存器值
关闭中断,关闭前返回
CPSR
寄存器值
*/
rt_hw_interrupt_disable
:
//
EXPORT
rt_hw_interrupt_disable
...
...
@@ -20,7 +28,7 @@ rt_hw_interrupt_disable:
/*
*
void
rt_hw_interrupt_enable
(
rt_base_t
level
)
;
恢复中断状态
恢复中断状态
*/
rt_hw_interrupt_enable
:
//
EXPORT
rt_hw_interrupt_enable
...
...
@@ -32,70 +40,70 @@ rt_hw_interrupt_enable:
*
void
rt_hw_context_switch
(
rt_uint32
from
,
rt_uint32
to
)
;
*
r0
-->
from
*
r1
-->
to
进行线程的上下文切换
进行线程的上下文切换
*/
rt_hw_context_switch
:
//
EXPORT
rt_hw_context_switch
STMFD
sp
!,
{
lr
}
/*
push
pc
(
lr
should
be
pushed
in
place
of
PC
)
*/
/
*
把
LR
寄存器压入栈(这个函数返回后的下一个执行处)
*/
/
*
把
LR
寄存器压入栈(这个函数返回后的下一个执行处)
*/
STMFD
sp
!,
{
r0
-
r12
,
lr
}
/*
push
lr
&
register
file
*/
/
*
把
R0
–
R12
以及
LR
压入栈
*/
/
*
把
R0
–
R12
以及
LR
压入栈
*
/
MRS
r4
,
cpsr
/*
读取
CPSR
寄存器到
R4
寄存器
*/
MRS
r4
,
cpsr
/*
读取
CPSR
寄存器到
R4
寄存器
*/
STMFD
sp
!,
{
r4
}
/*
push
cpsr
*/
/
*
把
R4
寄存器压栈(即上一指令取出的
CPSR
寄存器)
*/
MRS
r4
,
spsr
/*
读取
SPSR
寄存器到
R4
寄存器
*/
/
*
把
R4
寄存器压栈(即上一指令取出的
CPSR
寄存器)
*/
MRS
r4
,
spsr
/*
读取
SPSR
寄存器到
R4
寄存器
*/
STMFD
sp
!,
{
r4
}
/*
push
spsr
*/
/
*
把
R4
寄存器压栈(即
SPSR
寄存器)
*/
/
*
把
R4
寄存器压栈(即
SPSR
寄存器)
*/
STR
sp
,
[
r0
]
/*
store
sp
in
preempted
tasks
TCB
*/
/
*
把栈指针更新到
TCB
的
sp
,是由
R0
传入此函数
*/
/
*
到这里换出线程的上下文都保存在栈中
*/
/
*
把栈指针更新到
TCB
的
sp
,是由
R0
传入此函数
*/
/
*
到这里换出线程的上下文都保存在栈中
*/
LDR
sp
,
[
r1
]
/*
get
new
task
stack
pointer
*/
/
*
载入切换到线程的
TCB
的
s
p
*/
/
*
从切换到线程的栈中恢复上下文,次序和保存的时候刚好相反
*/
/
*
载入切换到线程的
TCB
的
sp
*/
/
*
从切换到线程的栈中恢复上下文,次序和保存的时候刚好相反
*/
LDMFD
sp
!,
{
r4
}
/*
pop
new
task
spsr
*/
/
*
出栈到
R4
寄存器(保存了
SPSR
寄存器)
*/
MSR
spsr_cxsf
,
r4
/*
恢复
SPSR
寄存器
*/
/
*
出栈到
R4
寄存器(保存了
SPSR
寄存器)
*/
MSR
spsr_cxsf
,
r4
/*
恢复
SPSR
寄存器
*
/
LDMFD
sp
!,
{
r4
}
/*
pop
new
task
cpsr
*/
/
*
出栈到
R4
寄存器(保存了
CPSR
寄存器)
*/
MSR
cpsr_cxsf
,
r4
/*
恢复
CPSR
寄存器
*/
/
*
出栈到
R4
寄存器(保存了
CPSR
寄存器)
*/
MSR
cpsr_cxsf
,
r4
/*
恢复
CPSR
寄存器
*
/
LDMFD
sp
!,
{
r0
-
r12
,
lr
,
pc
}
/*
pop
new
task
r0
-
r12
,
lr
&
pc
*/
/
*
对
R0
–
R12
及
LR
、
PC
进行恢复
*/
/
*
对
R0
–
R12
及
LR
、
PC
进行恢复
*
/
//
ENDP
rt_hw_context_switch_to
:
//
EXPORT
rt_hw_context_switch_to
LDR
sp
,
[
r0
]
/*
get
new
task
stack
pointer
*/
/
*
获得切换到线程的
SP
指针
*/
/
*
获得切换到线程的
SP
指针
*/
LDMFD
sp
!,
{
r4
}
/*
pop
new
task
spsr
*/
/
*
出栈
R4
寄存器(保存了
SPSR
寄存器值)
*/
MSR
spsr_cxsf
,
r4
/*
恢复
SPSR
寄存器
*/
/
*
出栈
R4
寄存器(保存了
SPSR
寄存器值)
*/
MSR
spsr_cxsf
,
r4
/*
恢复
SPSR
寄存器
*
/
LDMFD
sp
!,
{
r4
}
/*
pop
new
task
cpsr
*/
/
*
出栈
R4
寄存器(保存了
CPSR
寄存器值)
*/
MSR
cpsr_cxsf
,
r4
/*
恢复
CPSR
寄存器
*/
/
*
出栈
R4
寄存器(保存了
CPSR
寄存器值)
*/
MSR
cpsr_cxsf
,
r4
/*
恢复
CPSR
寄存器
*
/
LDMFD
sp
!,
{
r0
-
r12
,
lr
,
pc
}
/*
pop
new
task
r0
-
r12
,
lr
&
pc
*/
/
*
恢复
R0
–
R12
,
LR
及
PC
寄存器
*/
/
*
恢复
R0
–
R12
,
LR
及
PC
寄存器
*
/
//
ENDP
rt_hw_context_switch_interrupt
:
//
EXPORT
rt_hw_context_switch_interrupt
LDR
r2
,
=
rt_thread_switch_interrupt_flag
LDR
r3
,
[
r2
]
/*
载入中断中切换标致地址
*/
CMP
r3
,
#
1
/*
等于
1
?
*/
BEQ
_reswitch
/*
如果等于
1
,跳转到
_reswitch
*/
LDR
r3
,
[
r2
]
/*
载入中断中切换标致地址
*/
CMP
r3
,
#
1
/*
等于
1
?
*
/
BEQ
_reswitch
/*
如果等于
1
,跳转到
_res
witch
*/
MOV
r3
,
#
1
/*
set
rt_thread_switch_interrupt_flag
to
1
*/
/
*
设置中断中切换标志位
1
*/
/
*
设置中断中切换标志位
1
*/
STR
r3
,
[
r2
]
/*
*/
LDR
r2
,
=
rt_interrupt_from_thread
/*
set
rt_interrupt_from_thread
*/
STR
r0
,
[
r2
]
/*
保存切换出线程栈指针
*/
STR
r0
,
[
r2
]
/*
保存切换出线程栈指针
*/
_reswitch
:
LDR
r2
,
=
rt_interrupt_to_thread
/*
set
rt_interrupt_to_thread
*/
STR
r1
,
[
r2
]
/*
保存切换到线程栈指针
*/
STR
r1
,
[
r2
]
/*
保存切换到线程栈指针
*/
BX
lr
//
ENDP
...
...
libcpu/arm/lpc214x/cpuport.c
浏览文件 @
7c425408
/*
* File : cpuport.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2009 - 2011, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/lpc214x/startup_gcc.S
浏览文件 @
7c425408
.
extern
main
/*
引入外部
C
入口
*/
/*
*
Copyright
(
c
)
2006
-
2018
,
RT
-
Thread
Development
Team
*
*
SPDX
-
License
-
Identifier
:
Apache
-
2
.0
*
*
Change
Logs
:
*
Date
Author
Notes
*/
.
extern
main
/*
引入外部
C
入口
*/
.
extern
rt_interrupt_enter
.
extern
rt_interrupt_leave
...
...
@@ -54,7 +62,7 @@
.
equ
VICIntEnClr
,
0xFFFFF014
.
equ
VICIntSelect
,
0xFFFFF00C
/*************
目标配置结束
*************/
/*************
目标配置结束
**
***********/
/*
Setup
the
operating
mode
&
stack
.
*/
...
...
@@ -217,94 +225,94 @@ __pabt: b . /* program abort */
__dabt
:
b
.
/*
data
abort
*/
__fiq
:
b
.
/*
FIQ
*/
/*
IRQ
入口
*/
/*
IRQ
入口
*/
IRQ_Handler
:
stmfd
sp
!,
{
r0
-
r12
,
lr
}
/*
对
R0
–
R12
,
LR
寄存器压栈
*/
bl
rt_interrupt_enter
/*
通知
RT
-
Thread
进入中断模式
*/
bl
rt_hw_trap_irq
/*
相应中断服务例程处理
*/
bl
rt_interrupt_leave
/*
;
通知RT-Thread要离开中断模式
*/
stmfd
sp
!,
{
r0
-
r12
,
lr
}
/*
对
R0
–
R12
,
LR
寄存器压栈
*/
bl
rt_interrupt_enter
/*
通知
RT
-
Thread
进入中断模式
*/
bl
rt_hw_trap_irq
/*
相应中断服务例程处理
*/
bl
rt_interrupt_leave
/*
;
通知RT-Thread要离开中断模式 */
/
*
如果设置了
rt_thread_switch_interrupt_flag
,进行中断中的线程上下文处理
*/
/
*
如果设置了
rt_thread_switch_interrupt_flag
,进行中断中的线程上下文处理
*/
ldr
r0
,
=
rt_thread_switch_interrupt_flag
ldr
r1
,
[
r0
]
cmp
r1
,
#
1
beq
rt_hw_context_switch_interrupt_do
/*
中断中切换发生
*/
/
*
如果跳转了,将不会回来
*/
ldmfd
sp
!,
{
r0
-
r12
,
lr
}
/*
恢复栈
*/
subs
pc
,
lr
,
#
4
/*
从
IRQ
中返回
*/
beq
rt_hw_context_switch_interrupt_do
/*
中断中切换发生
*/
/
*
如果跳转了,将不会回来
*/
ldmfd
sp
!,
{
r0
-
r12
,
lr
}
/*
恢复栈
*/
subs
pc
,
lr
,
#
4
/*
从
IRQ
中返回
*/
/*
*
void
rt_hw_context_switch_interrupt_do
(
rt_base_t
flag
)
*
中断结束后的上下文切换
*
中断结束后的上下文切换
*/
rt_hw_context_switch_interrupt_do
:
mov
r1
,
#
0
/*
clear
flag
*/
/
*
清楚中断中切换标志
*/
/
*
清楚中断中切换标志
*/
str
r1
,
[
r0
]
/*
*/
ldmfd
sp
!,
{
r0
-
r12
,
lr
}/*
reload
saved
registers
*/
/
*
先恢复被中断线程的上下文
*/
/
*
先恢复被中断线程的上下文
*/
stmfd
sp
!,
{
r0
-
r3
}
/*
save
r0
-
r3
*/
/
*
对
R0
–
R3
压栈,因为后面会用到
*/
mov
r1
,
sp
/*
把此处的栈值保存到
R1
*/
/
*
对
R0
–
R3
压栈,因为后面会用到
*/
mov
r1
,
sp
/*
把此处的栈值保存到
R1
*
/
add
sp
,
sp
,
#
16
/*
restore
sp
*/
/
*
恢复
IRQ
的栈,后面会跳出
IRQ
模式
*/
/
*
恢复
IRQ
的栈,后面会跳出
IRQ
模式
*/
sub
r2
,
lr
,
#
4
/*
save
old
task
's pc to r2 */
/
*
保存切换出线程的
PC
到
R
2
*/
/
*
保存切换出线程的
PC
到
R2
*/
mrs
r3
,
spsr
/*
disable
interrupt
保存中断前的
CPSR
到
R3
寄存器
*/
/
*
获得
SPSR
寄存器值
*/
mrs
r3
,
spsr
/*
disable
interrupt
保存中断前的
CPSR
到
R3
寄存器
*/
/
*
获得
SPSR
寄存器值
*
/
orr
r0
,
r3
,
#
I_BIT
|
F_BIT
msr
spsr_c
,
r0
/*
关闭
SPSR
中的
IRQ
/
FIQ
中断
*/
ldr
r0
,
=
.
+
8
/*
把当前地址
+
8
载入到
R0
寄存器中
switch
to
interrupted
task
's stack */
movs
pc
,
r0
/*
退出
IRQ
模式,由于
SPSR
被设置成关中断模式
*/
/
*
所以从
IRQ
返回后,中断并没有打开
; R0
寄存器中的位置实际就是下一条指令,
;
即PC继续往下走
;
此时
;
模式已经换成中断前的SVC模式,
; SP
寄存器也是SVC模式下的栈寄存器
; R1
保存IRQ模式下的栈指针
; R2
保存切换出线程的
PC
; R3
保存切换出线程的
CPSR */
msr
spsr_c
,
r0
/*
关闭
SPSR
中的
IRQ
/
FIQ
中断
*/
ldr
r0
,
=
.
+
8
/*
把当前地址
+
8
载入到
R0
寄存器中
swit
ch
to
interrupted
task
's stack */
movs
pc
,
r0
/*
退出
IRQ
模式,由于
SPSR
被设置成关中断模式
*/
/
*
所以从
IRQ
返回后,中断并没有打开
; R0
寄存器中的位置实际就是下一条指令,
;
即PC继续往下走
;
此时
;
模式已经换成中断前的SVC模式,
; SP
寄存器也是SVC模式下的栈寄存器
; R1
保存IRQ模式下的栈指针
; R2
保存切换出线程的PC
; R3
保存切换出线程的CPSR
*/
stmfd
sp
!,
{
r2
}
/*
push
old
task
's pc */
/
*
保存切换出任务的
PC
*/
/
*
保存切换出任务的
PC
*
/
stmfd
sp
!,
{
r4
-
r12
,
lr
}/*
push
old
task
's lr,r12-r4 */
/
*
保存
R4
–
R12
,
LR
寄存器
*/
/
*
保存
R4
–
R12
,
LR
寄存器
*
/
mov
r4
,
r1
/*
Special
optimised
code
below
*/
/
*
R1
保存有压栈
R0
–
R3
处的栈位置
*/
mov
r5
,
r3
/*
R3
切换出线程的
CPSR
*/
ldmfd
r4
!,
{
r0
-
r3
}
/*
恢复
R0
–
R3
*/
/
*
R1
保存有压栈
R0
–
R3
处的栈位置
*/
mov
r5
,
r3
/*
R3
切换出线程的
CPS
R
*/
ldmfd
r4
!,
{
r0
-
r3
}
/*
恢复
R0
–
R3
*/
stmfd
sp
!,
{
r0
-
r3
}
/*
push
old
task
's r3-r0 */
/
*
R0
–
R3
压栈到切换出线程
*/
/
*
R0
–
R3
压栈到切换出线程
*/
stmfd
sp
!,
{
r5
}
/*
push
old
task
's psr */
/
*
切换出线程
CPSR
压栈
*/
/
*
切换出线程
CPSR
压栈
*/
mrs
r4
,
spsr
stmfd
sp
!,
{
r4
}
/*
push
old
task
's spsr */
/
*
切换出线程
SPSR
压栈
*/
/
*
切换出线程
SPSR
压栈
*/
ldr
r4
,
=
rt_interrupt_from_thread
ldr
r5
,
[
r4
]
str
sp
,
[
r5
]
/*
store
sp
in
preempted
tasks
's TCB */
/
*
保存切换出线程的
SP
指针
*/
/
*
保存切换出线程的
SP
指针
*/
ldr
r6
,
=
rt_interrupt_to_thread
ldr
r6
,
[
r6
]
ldr
sp
,
[
r6
]
/*
get
new
task
's stack pointer */
/
*
获得切换到线程的栈
*/
/
*
获得切换到线程的栈
*/
ldmfd
sp
!,
{
r4
}
/*
pop
new
task
's spsr */
/
*
恢复
SPSR
*/
/
*
恢复
S
PSR
*/
msr
SPSR_cxsf
,
r4
ldmfd
sp
!,
{
r4
}
/*
pop
new
task
's psr */
/
*
恢复
CPSR
*/
/
*
恢复
C
PSR
*/
msr
CPSR_cxsf
,
r4
ldmfd
sp
!,
{
r0
-
r12
,
lr
,
pc
}
/*
pop
new
task
's r0-r12,lr & pc */
/
*
恢复
R0
–
R12
,
LR
及
PC
寄存器
*/
/
*
恢复
R0
–
R12
,
LR
及
PC
寄存器
*
/
/*
代码加密功能
*/
/*
代码加密功能
*/
#if defined(CODE_PROTECTION)
.
org
0
x01FC
.
word
0
x87654321
...
...
libcpu/arm/lpc24xx/LPC24xx.h
浏览文件 @
7c425408
/*
* File : LPC2478.h
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, RT-Thread Develop Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://openlab.rt-thread.com/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/lpc24xx/context_gcc.S
浏览文件 @
7c425408
/*
*
File
:
context
.
S
*
This
file
is
part
of
RT
-
Thread
RTOS
*
COPYRIGHT
(
C
)
2006
,
RT
-
Thread
Development
Team
*
Copyright
(
c
)
2006
-
2018
,
RT
-
Thread
Development
Team
*
*
The
license
and
distribution
terms
for
this
file
may
be
*
found
in
the
file
LICENSE
in
this
distribution
or
at
*
http
:
//
openlab
.
rt
-
thread
.
com
/
license
/
LICENSE
*
SPDX
-
License
-
Identifier
:
Apache
-
2
.0
*
*
Change
Logs
:
*
Date
Author
Notes
...
...
libcpu/arm/lpc24xx/cpu.c
浏览文件 @
7c425408
/*
* File : cpu.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, RT-Thread Develop Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://openlab.rt-thread.com/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/lpc24xx/interrupt.c
浏览文件 @
7c425408
/*
* File : trap.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://openlab.rt-thread.com/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/lpc24xx/stack.c
浏览文件 @
7c425408
/*
* File : stack.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://openlab.rt-thread.com/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/lpc24xx/start_gcc.S
浏览文件 @
7c425408
/*
*
File
:
start
.
S
*
This
file
is
part
of
RT
-
Thread
RTOS
*
COPYRIGHT
(
C
)
2006
,
RT
-
Thread
Development
Team
*
Copyright
(
c
)
2006
-
2018
,
RT
-
Thread
Development
Team
*
*
The
license
and
distribution
terms
for
this
file
may
be
*
found
in
the
file
LICENSE
in
this
distribution
or
at
*
http
:
//
openlab
.
rt
-
thread
.
com
/
license
/
LICENSE
*
SPDX
-
License
-
Identifier
:
Apache
-
2
.0
*
*
Change
Logs
:
*
Date
Author
Notes
...
...
libcpu/arm/lpc24xx/start_rvds.S
浏览文件 @
7c425408
/*
*
Copyright
(
c
)
2006
-
2018
,
RT
-
Thread
Development
Team
*
*
SPDX
-
License
-
Identifier
:
Apache
-
2
.0
*
*
Change
Logs
:
*
Date
Author
Notes
*/
;/*****************************************************************************/
;/* LPC2400.S: Startup file for Philips LPC2400 device series */
;/*****************************************************************************/
...
...
libcpu/arm/lpc24xx/trap.c
浏览文件 @
7c425408
/*
* File : trap.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://openlab.rt-thread.com/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/realview-a8-vmm/armv7.h
浏览文件 @
7c425408
/*
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
*/
#ifndef __ARMV7_H__
#define __ARMV7_H__
...
...
libcpu/arm/realview-a8-vmm/context_gcc.S
浏览文件 @
7c425408
/*
*
File
:
context
.
S
*
This
file
is
part
of
RT
-
Thread
RTOS
*
COPYRIGHT
(
C
)
2013
,
RT
-
Thread
Development
Team
*
Copyright
(
c
)
2006
-
2018
,
RT
-
Thread
Development
Team
*
*
This
program
is
free
software
; you can redistribute it and/or modify
*
it
under
the
terms
of
the
GNU
General
Public
License
as
published
by
*
the
Free
Software
Foundation
; either version 2 of the License, or
*
(
at
your
option
)
any
later
version
.
*
*
This
program
is
distributed
in
the
hope
that
it
will
be
useful
,
*
but
WITHOUT
ANY
WARRANTY
; without even the implied warranty of
*
MERCHANTABILITY
or
FITNESS
FOR
A
PARTICULAR
PURPOSE
.
See
the
*
GNU
General
Public
License
for
more
details
.
*
*
You
should
have
received
a
copy
of
the
GNU
General
Public
License
along
*
with
this
program
; if not, write to the Free Software Foundation, Inc.,
*
51
Franklin
Street
,
Fifth
Floor
,
Boston
,
MA
02110
-
1301
USA
.
*
SPDX
-
License
-
Identifier
:
Apache
-
2
.0
*
*
Change
Logs
:
*
Date
Author
Notes
...
...
libcpu/arm/realview-a8-vmm/cp15.h
浏览文件 @
7c425408
/*
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
*/
#ifndef __CP15_H__
#define __CP15_H__
...
...
libcpu/arm/realview-a8-vmm/cp15_gcc.S
浏览文件 @
7c425408
/*
*
File
:
cp15_gcc
.
S
*
This
file
is
part
of
RT
-
Thread
RTOS
*
COPYRIGHT
(
C
)
2013
,
RT
-
Thread
Development
Team
*
http
:
//
www
.
rt
-
thread
.
org
*
Copyright
(
c
)
2006
-
2018
,
RT
-
Thread
Development
Team
*
*
This
program
is
free
software
; you can redistribute it and/or modify
*
it
under
the
terms
of
the
GNU
General
Public
License
as
published
by
*
the
Free
Software
Foundation
; either version 2 of the License, or
*
(
at
your
option
)
any
later
version
.
*
*
This
program
is
distributed
in
the
hope
that
it
will
be
useful
,
*
but
WITHOUT
ANY
WARRANTY
; without even the implied warranty of
*
MERCHANTABILITY
or
FITNESS
FOR
A
PARTICULAR
PURPOSE
.
See
the
*
GNU
General
Public
License
for
more
details
.
*
*
You
should
have
received
a
copy
of
the
GNU
General
Public
License
along
*
with
this
program
; if not, write to the Free Software Foundation, Inc.,
*
51
Franklin
Street
,
Fifth
Floor
,
Boston
,
MA
02110
-
1301
USA
.
*
SPDX
-
License
-
Identifier
:
Apache
-
2
.0
*
*
Change
Logs
:
*
Date
Author
Notes
...
...
libcpu/arm/realview-a8-vmm/cpu.c
浏览文件 @
7c425408
/*
* File : cpu.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2006, RT-Thread Develop Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/realview-a8-vmm/gic.c
浏览文件 @
7c425408
/*
* File : gic.c, ARM Generic Interrupt Controller
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2013-2014, RT-Thread Develop Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/realview-a8-vmm/gic.h
浏览文件 @
7c425408
/*
* File : gic.h, ARM Generic Interrupt Controller
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2013, RT-Thread Develop Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/realview-a8-vmm/interrupt.c
浏览文件 @
7c425408
/*
* File : interrupt.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2013-2014, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/realview-a8-vmm/interrupt.h
浏览文件 @
7c425408
/*
* File : interrupt.h
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2011, RT-Thread Development Team
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
...
...
libcpu/arm/realview-a8-vmm/mmu.c
浏览文件 @
7c425408
此差异已折叠。
点击以展开。
libcpu/arm/realview-a8-vmm/pmu.c
浏览文件 @
7c425408
此差异已折叠。
点击以展开。
libcpu/arm/realview-a8-vmm/pmu.h
浏览文件 @
7c425408
此差异已折叠。
点击以展开。
libcpu/arm/realview-a8-vmm/stack.c
浏览文件 @
7c425408
此差异已折叠。
点击以展开。
libcpu/arm/realview-a8-vmm/start_gcc.S
浏览文件 @
7c425408
此差异已折叠。
点击以展开。
libcpu/arm/realview-a8-vmm/trap.c
浏览文件 @
7c425408
此差异已折叠。
点击以展开。
libcpu/arm/realview-a8-vmm/vector_gcc.S
浏览文件 @
7c425408
此差异已折叠。
点击以展开。
libcpu/arm/s3c24x0/context_gcc.S
浏览文件 @
7c425408
此差异已折叠。
点击以展开。
libcpu/arm/s3c24x0/cpu.c
浏览文件 @
7c425408
此差异已折叠。
点击以展开。
libcpu/arm/s3c24x0/interrupt.c
浏览文件 @
7c425408
此差异已折叠。
点击以展开。
libcpu/arm/s3c24x0/mmu.c
浏览文件 @
7c425408
此差异已折叠。
点击以展开。
libcpu/arm/s3c24x0/rtc.c
浏览文件 @
7c425408
此差异已折叠。
点击以展开。
libcpu/arm/s3c24x0/rtc.h
浏览文件 @
7c425408
此差异已折叠。
点击以展开。
libcpu/arm/s3c24x0/s3c24x0.h
浏览文件 @
7c425408
此差异已折叠。
点击以展开。
libcpu/arm/s3c24x0/serial.c
浏览文件 @
7c425408
此差异已折叠。
点击以展开。
libcpu/arm/s3c24x0/serial.h
浏览文件 @
7c425408
此差异已折叠。
点击以展开。
libcpu/arm/s3c24x0/stack.c
浏览文件 @
7c425408
此差异已折叠。
点击以展开。
libcpu/arm/s3c24x0/start_gcc.S
浏览文件 @
7c425408
此差异已折叠。
点击以展开。
libcpu/arm/s3c24x0/system_clock.c
浏览文件 @
7c425408
此差异已折叠。
点击以展开。
libcpu/arm/s3c24x0/trap.c
浏览文件 @
7c425408
此差异已折叠。
点击以展开。
libcpu/arm/s3c44b0/context_gcc.S
浏览文件 @
7c425408
此差异已折叠。
点击以展开。
libcpu/arm/s3c44b0/cpu.c
浏览文件 @
7c425408
此差异已折叠。
点击以展开。
libcpu/arm/s3c44b0/interrupt.c
浏览文件 @
7c425408
此差异已折叠。
点击以展开。
libcpu/arm/s3c44b0/s3c44b0.h
浏览文件 @
7c425408
此差异已折叠。
点击以展开。
libcpu/arm/s3c44b0/serial.c
浏览文件 @
7c425408
此差异已折叠。
点击以展开。
libcpu/arm/s3c44b0/stack.c
浏览文件 @
7c425408
此差异已折叠。
点击以展开。
libcpu/arm/s3c44b0/start_gcc.S
浏览文件 @
7c425408
此差异已折叠。
点击以展开。
libcpu/arm/s3c44b0/trap.c
浏览文件 @
7c425408
此差异已折叠。
点击以展开。
libcpu/arm/sep4020/clk.c
浏览文件 @
7c425408
此差异已折叠。
点击以展开。
libcpu/arm/sep4020/cpu.c
浏览文件 @
7c425408
此差异已折叠。
点击以展开。
libcpu/arm/sep4020/interrupt.c
浏览文件 @
7c425408
此差异已折叠。
点击以展开。
libcpu/arm/sep4020/sep4020.h
浏览文件 @
7c425408
此差异已折叠。
点击以展开。
libcpu/arm/sep4020/serial.c
浏览文件 @
7c425408
此差异已折叠。
点击以展开。
libcpu/arm/sep4020/serial.h
浏览文件 @
7c425408
此差异已折叠。
点击以展开。
libcpu/arm/sep4020/stack.c
浏览文件 @
7c425408
此差异已折叠。
点击以展开。
libcpu/arm/sep4020/trap.c
浏览文件 @
7c425408
此差异已折叠。
点击以展开。
libcpu/arm/zynq7000/cp15_gcc.S
浏览文件 @
7c425408
此差异已折叠。
点击以展开。
libcpu/arm/zynq7000/cpu.c
浏览文件 @
7c425408
此差异已折叠。
点击以展开。
libcpu/arm/zynq7000/stack.c
浏览文件 @
7c425408
此差异已折叠。
点击以展开。
libcpu/arm/zynq7000/start_gcc.S
浏览文件 @
7c425408
此差异已折叠。
点击以展开。
libcpu/arm/zynq7000/vector_gcc.S
浏览文件 @
7c425408
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录