ARM1176JZF-S/S3C6410处理器的操作…
来源:互联网 发布:家居设计软件有哪些 编辑:程序博客网 时间:2024/04/26 11:50
Operating Modes
Eight operating modes are definedunder
Fast interrupt (FIQ) mode is used for handling fast interrupts
IRQPrivilegedInterrupt (IRQ) mode is used for general-purpose interrupthandlingSupervisorPrivilegedSupervisor mode is a protected mode for the OSAbortPrivilegedAbort mode is entered after a data abort or prefetch abortSystemPrivilegedSystem mode is a privileged user mode for the OSUndefinedPrivilegedUndefined mode is entered when an undefined instruction exceptionoccurs.Secure MonitorPrivilegedSecure Monitor mode is a Secure mode for the TrustZone SecureMonitor code.Modes other than User mode are collectively known as privilegedmodes. Privileged modes are used to service interrupts orexceptions, or to access protected resources.
User and System modes are named as normal modes, other modes areexception modes. Why they are called "exception" modes? Becausethese 6 modes are entered by some kinds of exception, for exampleIRQ. While system mode is not same, it can be switched into, butnot triggered by any exception.
Registers (ARM state only)
ARM1176JZF-S processor has 40 registers totally:
- 33general-purpose 32-bit registers
- seven32-bit status registers.
These registers are not all accessible at the same time. Theprocessor state and operating mode determine the registers that areavailable to the programmer. Here I focus on ARM state registersonly.
The ARM state core register set contains 16 directly-accessibleregisters, R0-R15. Another register,the
In ARM state, 16 general registers and one or two status registersare accessible at any time. In privileged modes, mode-specificbanked registers become available. The figurebelow
'Banked Register' (marked by gray triangle) means that thisregister has a divided instance under the corresponding exceptionoperating mode, that's a different register than the one in normalmode.
For example, the processor store some data to R13 in User mode; ifthe process switch from User mode to System mode and read the dateof R13, same value will be got; but if the process switch from Usermode to any other mode, when it read the data in R13, differentvalue will be got, because that's different register in fact.
- ARM1176JZF-S/S3C6410处理器的操作…
- ARM1176JZF-S/S3C6410处理器的异常…
- ARM1176JZF-S/S3C6410 内存地…
- ARM1176JZF-S 体系结构之寄存器和操作模式
- S3C6410的处理器介绍
- s3c6410的GPIO操作
- S3C6410处理器介绍
- S3C6410处理器介绍
- S3C6410处理器介绍
- S3C6410处理器介绍
- S3C6410处理器介绍
- S3C6410处理器介绍
- S3C6410处理器介绍
- S3C6410处理器介绍
- S3C6410处理器介绍
- 使能S3C6410的VFP,浮点协处理器
- 使能S3C6410的VFP,浮点协处理器
- S3C6410处理器介绍(转载)
- Linux启动ELF可执行文件的过程
- Ubuntu系统上HP520电脑网卡问题
- ARM Linux (S3C6410架构…
- ARM Linux (S3C6410架构…
- ARM1176JZF-S/S3C6410 内存地…
- ARM1176JZF-S/S3C6410处理器的操作…
- ARM Linux系统中的用户栈与内核栈
- 数据摘要算法的测试效率(SHA、MD5和CRC32)
- POJ 2195 - Going Home 更新最小费用最大流模板..整合成结构体...
- ARM Linux (S3C6410架构…
- ARM Linux (S3C6410架构…
- jQuery一个元素绑定多个相同事件的解决
- ARM1176JZF-S/S3C6410处理器的异常…
- 简单工厂模式/Simple Factory