首页> 外国专利> SHADOW STACK ISA EXTENSIONS TO SUPPORT FAST RETURN AND EVENT DELIVERY (FRED) ARCHITECTURE

SHADOW STACK ISA EXTENSIONS TO SUPPORT FAST RETURN AND EVENT DELIVERY (FRED) ARCHITECTURE

机译:影子堆栈ISA扩展,以支持快速返回和事件交付(FRED)架构

摘要

An apparatus and method for efficiently managing shadow stacks. For example, one embodiment of a processor comprises: a plurality of registers to store a plurality of shadow stack pointers (SSPs), each SSP associated with a different event priority; event processing circuitry to select a first SSP of the plurality of SSPs from a first register of the plurality of registers responsive to receipt of a first event associated with a first event priority level, the first SSP usable to identify a top of a first shadow stack; verification and utilization checking circuitry to determine whether the first SSP has been previously verified, wherein if the first SSP has not been previously verified then initiating a set of atomic operations to verify the first SSP and confirm that the first SSP is not in use, the set of atomic operations using a locking operation to lock data until the set of atomic operations are complete, and wherein if the first SSP has been previously verified, then reverifying the first SSP and confirming that the first SSP is not in use without using the locking operation.
机译:一种用于有效管理阴影堆的装置和方法。例如,处理器的一个实施例包括:多个寄存器以存储多个阴影堆栈指针(SSP),每个SSP与不同的事件优先级相关联;事件处理电路以从多个寄存器的第一寄存器选择多个SSP的第一SSP,响应于接收与第一事件优先级相关联的第一事件,第一SSP可用于识别第一阴影堆栈的顶部;验证和利用检查电路以确定是否先前已验证了第一SSP,其中如果先前未验证第一SSP,则启动一组原子操作以验证第一SSP并确认第一SSP不使用,则一组原子操作使用锁定操作锁定数据,直到该组原子操作完成,其中如果先前先验过SSP,则重新调整第一个SSP并确认不使用锁定的第一个SSP不使用。手术。

著录项

相似文献

  • 专利
  • 外文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号