optee返回REE的几种方式

44 阅读1分钟

EE(optee)切换到REE(linux)几种方式

1、开机时,ATF跳转到optee初始化,初始化完成后再回到normal world

2、在uboot或linux driver中,调用fast call切到optee获取信息,然后再回到normal world

3、标准的std调用到optee,此时又分三种情况:

  • 当cpu在执行std任务tee_entry_std(…)时,任务处理完成了,需要切换REE;

  • 当cpu在执行std任务tee_entry_std(…)时,如有REE服务, 这时候会RPC调用切换REE

  • 当cpu在执行std任务tee_entry_std(…)时,来了一个foreign interrupt, 这时候cpu也会切回REE

read-normal-img 添加威♥:sami01_2023,回复ARM中文,领取ARM中文手册