网站你懂我意思正能量免费软件,迪虎科技网站建设,微信里的小程序在哪,重庆网站品牌推广我们知道在Linux Kernel中开启或关闭中断的函数是:local_irq_enable()和local_irq_disable(), 那么在optee os中是怎样做到的呢? optee中通过使用thread_mask_exceptions()和thread_unmask_exceptions()来开启或关闭中断。
thread_mask_exceptions()和thread_unmask_excepti…我们知道在Linux Kernel中开启或关闭中断的函数是:local_irq_enable()和local_irq_disable(), 那么在optee os中是怎样做到的呢? optee中通过使用thread_mask_exceptions()和thread_unmask_exceptions()来开启或关闭中断。
thread_mask_exceptions()和thread_unmask_exceptions()函数的实现如下所示: #define ARM32_CPSR_F_SHIFT U(6)
#define ARM32_CPSR_F