- Mastering C++ Multithreading
- Maya Posch
- 154字
- 2021-07-15 17:33:58
Process state in ARM
In ARM architectures, applications usually run in the unprivileged Exception Level 0 (EL0) level, which is comparable to ring 3 on x86 architectures, and the OS kernel in EL1. The ARMv7 (AArch32, 32-bit) architecture has the SP in the general purpose register 13. For ARMv8 (AArch64, 64-bit), a dedicated SP register is implemented for each exception level: SP_EL0, SP_EL1, and so on.
For task state, the ARM architecture uses Program State Register (PSR) instances for the Current Program State Register (CPSR) or the Saved Program State Register (SPSR) program state's registers. The PSR is part of the Process State (PSTATE), which is an abstraction of the process state information.
While the ARM architecture is significantly different from the x86 architecture, when using software-based task switching, the basic principle does not change: save the current task's SP, register state, and put the next task's detail in there instead before resuming processing.
- TypeScript Essentials
- Vue.js 2 and Bootstrap 4 Web Development
- C++面向?qū)ο蟪绦蛟O(shè)計(jì)(微課版)
- Manga Studio Ex 5 Cookbook
- MongoDB for Java Developers
- Learning Bayesian Models with R
- ASP.NET程序設(shè)計(jì)教程
- 編程數(shù)學(xué)
- 計(jì)算機(jī)應(yīng)用基礎(chǔ)案例教程
- Go語(yǔ)言開(kāi)發(fā)實(shí)戰(zhàn)(慕課版)
- Qt 5.12實(shí)戰(zhàn)
- 基于JavaScript的WebGIS開(kāi)發(fā)
- 零基礎(chǔ)C語(yǔ)言學(xué)習(xí)筆記
- Python全棧開(kāi)發(fā):數(shù)據(jù)分析
- Learning Puppet