摘要: last保存的是什么? last = cpu_switch_to(prev, next) cpu_switch_to函数是一段汇编,根据arm64函数的调用规则来看,x0保存的是函数返回值,也就是prev进程; 比如A进程切换到B进程,那么last 就是进程 A; 为什么需要保存last? 有这么一 阅读全文
posted @ 2024-12-23 11:15 _xingxing 阅读(40) 评论(0) 推荐(0)