通过sbiret.value获取给定hart的当前状态(或HSM状态ID),或通过sbiret.error获取错误信息。 hartid参数指定需要查询状态的目标hart。 sbiret.value中可能返回的状态(或HSM状态ID)值在表17中进行了描述。 sbiret.error可能返回的错误代码如下表21所示。 表21. HSM Hart 获取状态错误 ...
Get the current status (or HSM state id) of the given hart in sbiret.value, or an error through sbiret.error. The hartid parameter specifies the target hart for which status is required. The possible status (or HSM state id) values returned in sbiret.value are described in ...
Get the current status (or HSM state id) of the given hart in sbiret.value, or an error through sbiret.error. The hartid parameter specifies the target hart for which status is required. The possible status (or HSM state id) values returned in sbiret.value are described in...
HSM 核心状态管理 PMU 性能监控单元 IPI 处理器核间中断 ASID 地址空间标识符 VMID 虚拟机标识符 章节3 二进制编码 所有的SBI函数共享一种二进制编码方式,这有助于混合使用SBI扩展功能。SBI规范遵循以下调用约定。 在监管者和SEE之间,使用ECALL作为控制传输指令。 a7编码SBI扩展ID(EID) a6编码SBI函数ID(FID),对...
When cloning this repository for the first time, you must either use git clone --recurse-submodules or execute git submodule init and git submodule update after the clone to populate the docs-resources directory. Failure to clone the submodule, will result in the PDF build fail with an error...
along with a unique **HSM state id** for each state: [#table_hsm_states] .HSM Hart States [cols="1,2,4", width=100%, align="center", options="header"] |=== | State ID | State Name | Description | 0 | STARTED | The hart is physically powered-up and executing normally. |...
sbi_hsm.c sbi_illegal_insn.c sbi_init.c sbi_ipi.c sbi_irqchip.c sbi_math.c sbi_misaligned_ldst.c sbi_platform.c sbi_pmu.c sbi_scratch.c sbi_string.c sbi_system.c sbi_timer.c sbi_tlb.c sbi_trap.c sbi_unpriv.c utils platform scripts .clang-format .gitignore CONTRIB...