SVC处理程序来调用SMC [英] Svc handler to SMC call

查看:789
本文介绍了SVC处理程序来调用SMC的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何用C编写的SVC处理程序调用SMC(监控模式)指令切换到监控的ARM Cortex A9模式?即从监控模式监控模式,什么都需要SVC处理工作要做,如何用C编写详细的解答AP preciated ...

how to write an svc handler in C to call SMC(monitor mode) instruction to switch to monitor mode for arm cortex a9? i.e from supervisor mode to monitor mode what all needs to be done in svc handler,how to write the same in C. Detailed answers appreciated...

推荐答案

例子可以在Linux源代码树中找到的 OMAP2 的平台。

Examples can be found in the Linux source tree for the OMAP2 platform.

  • omap-smc.S
  • omap-secure.h
  • omap-secure.c

另请参阅: LWN的KS2012:ARM:ARM的模式SMC安全监控API 内核峰会笔记2012

See also: LWN's KS2012: ARM: Secure monitor API Kernel summit 2012 notes on ARM SMC modes.

基本上,什么都对接人梦想了一个 SWI SVC 接口可以通过<$使用C $ C> SMC 接口。否则,这个问题是无法具体回答。

Basically, what ever interface people dream up for an SWI or SVC interface can be used by the SMC interface. Otherwise, this question is impossible to answer specifically.

这篇关于SVC处理程序来调用SMC的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆