叶指令(处理器/组件)
我不确定 SO 是否是问这个问题的最佳地点。如果没有,请告诉我应该去哪个姐妹网站。
我一直在阅读一篇有关英特尔可信执行技术(TXT)的论文,其中有以下文字,我似乎无法理解:
“英特尔创建了一个名为 GETSEC 的新“叶子”指令,可以对其进行定制以调用各种叶操作(包括 SENTER)”
我找不到任何有关叶指令的信息。它们是什么以及为什么/何时使用它们?有什么提示吗?
ps 论文名为“How low can you go?Recommendations for Hardware-Supported Minimal TCB Code Execution”,作者:McCune 等人。
I'm not sure if SO is the best place to ask this question. If not, please let me know which sister site I should go to.
I've been reading a paper about Intel's Trusted Execution Technology (TXT) and it has the following text that I can't seem to figure out:
"Intel created a new 'leaf' instruction called GETSEC, which can be customized to invoke various leaf operations (including SENTER)"
I can't find out anything about leaf instructions. What are they and why/when are they used? Any hints?
p.s. Paper's called "How low can you go? Recommendations for Hardware-Supported Minimal TCB Code Execution" by McCune et al.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
大多数指令只做一件事——加、减、移动等。一些(罕见的)指令在不同情况下做完全不同的事情。其中一个例子是 CPUID 指令,它根据 EAX 的初始值(有时也包括 ECX)执行不同的操作。这些“不同的东西”被称为叶子(由英特尔)。
Intel的“GETSEC”指令是这样的。这是一条指令,但根据 EAX 的初始值,它可以执行完全不同的操作。例如,如果您事先将 EAX 设置为 0,则 GETSEC 指令将执行“(获取)CAPABILITIES 叶函数”,如果您事先将 EAX 设置为 4,则 GETSEC 指令将执行“SENTER 叶函数”,如果您将 EAX 设置为5. 事先GETSEC指令将执行“SEXIT叶函数”。
Most instructions do one thing - add, subtract, move, etc. Some (rare) instructions do completely different things in different situations. One example of this is the CPUID instruction, which does different things depending on the initial value of EAX (and sometimes ECX too). These "different things" are called leaves (by Intel).
Intel's "GETSEC" instruction is like this. It's one instruction, but depending on the initial value of EAX it can do completely different things. For example, if you set EAX to zero beforehand the GETSEC instruction will do the "(get) CAPABILITIES leaf function", if you set EAX to 4 beforehand the GETSEC instruction will do the "SENTER leaf function", and if you set EAX to 5 beforehand the GETSEC instruction will do the "SEXIT leaf function".