u-boot设置SVC模式
来源:互联网 发布:windows xp好用吗 编辑:程序博客网 时间:2024/05/17 07:47
继续接着上一篇的设置中断向量表
.text
.global _start
_start:
b rest
ldr pc , _undefine_instruction
ldr pc , _software_interrrupt
ldr pc , _prefetch_aport
ldr pc , _data_abort
ldr pc , _not_use
ldr pc , _irq
ldr pc , _fiq
_undefine_instruction: .word undefine_instruction
_software_interrrupt: .word software_interrrupt
_prefetch_aport: .word prefetch_aport
_data_abort:.word data_abort
_not_use: .word not_use
_irq: .word irq
_fiq: .word fiq
undefine_instruction:
nop
software_interrrupt:
nop
prefetch_aport:
nop
data_abort:
nop
not_use:
nop
irq:
nop
fiq:
nop
rest:
bl set_svc
set_svc:
mrs r0 , cpsr//CPSR寄存器不能直接操作,cpsr->r0
bic r0 , r0 , #0x1f//低五位置0
orr r0 , r0 , #0x13//低五位置1。有些uboot在这里是0xd3->0b110 10011其中高三位是把FIQ和IRQ禁止了 低五位是设置SVC模式,这里只是设置了SVC模式,FIQ和IRQ在其他的地方禁止
msr cpsr , r0
mov pc , lr
0 0
- u-boot设置SVC模式
- u-boot分析(四)---设置异常向量表|设置SVC模式
- 设置SVC模式
- 设置SVC模式
- 二十四.SVC模式设置
- 设置tiny6410的svc模式
- u-boot环境变量设置
- u-Boot环境变量的设置
- U-Boot环境变量设置方法
- u-Boot环境变量的设置
- uboot初始化中为什么要设置CPU为SVC模式
- uboot中为什么设置CPU为SVC模式????????
- 6、异常向量表的学习---设置SVC模式
- 设置系统工作在SVC模式---嵌入式回归第七篇
- 嵌入式学习-uboot-lesson4.2-设置SVC模式
- bootloader为何开始要将CPU设置为SVC模式
- S5PV210 设置SVC栈
- uboot初始化中,为何要设置CPU为SVC模式而不是设置为其他模式
- C#猜数字小游戏
- 虚拟主机封杀WebShell提权!
- mybatis学习教程
- u-boot异常向量表
- u-boot S5PV210加头文件
- u-boot设置SVC模式
- u-boot关闭看门狗
- u-boot关闭中断
- u-boot关闭MMU和I/D Cach
- Linux内核驱动学习难点与学习方法
- 安装linux到开发板
- 将博客搬至CSDN
- 就像大家更熟悉的const一样,volatile是一个类型修饰符(type specifier)。它是被设计用来修饰被不同线程访问和修改的变量。
- C#综合性实验 - 文本编辑器