白丝美女被狂躁免费视频网站,500av导航大全精品,yw.193.cnc爆乳尤物未满,97se亚洲综合色区,аⅴ天堂中文在线网官网

Providing exception stack management using stack panic fault exceptions in processor-based devices

專利號
US11175926B2
公開日期
2021-11-16
申請人
Microsoft Technology Licensing, LLC(US WA Redmond)
發(fā)明人
Thomas Andrew Sartorius; Michael Scott McIlvaine; James Norris Dieffenderfer; Aaron S. Giles
IPC分類
G06F9/38; G06F9/30; G06F11/07
技術(shù)領(lǐng)域
exception,panic,stack,fault,handler,processor,store,device,in,registers
地域: WA WA Redmond

摘要

Providing exception stack management using stack panic fault exceptions in processor-based devices is disclosed. In this regard, a processor device defines a “stack panic fault exception” that may be raised upon execution of an exception handler store operation attempting to write state data into an exception stack, and provides a dedicated plurality of stack panic fault exception state registers in which stack panic fault exception state data may be saved. Upon detecting a first exception, the processor device transfers program control to an exception handler for the first exception. If a second exception occurs upon execution of a store operation in the exception handler, the processor device determines that the second exception should be handled as a stack panic fault exception, saves the stack panic fault exception state data in the stack panic fault exception state registers, and transfers program control to a stack panic fault exception handler.

說明書

Exemplary embodiments disclosed herein include providing exception stack management using stack panic fault exceptions in processor-based devices. In one exemplary embodiment, a processor-based device includes a processor device that defines a new type of exception referred to herein as a “stack panic fault exception.” A stack panic fault exception is an exception that may be raised by a store operation that is executed within an exception handler and that attempts to write state data into an exception stack. The processor device also provides a dedicated plurality of stack panic fault exception state registers in which exception state data associated with a stack panic fault exception may be saved. Upon detecting a first exception while executing a software process, the processor device in some embodiments may save exception state data in exception state registers in conventional fashion, and then transfer program control to an exception handler corresponding to the first exception. If a second exception occurs upon execution of a store operation in the exception handler to the handler stack, the processor device determines that the second exception should be handled as a stack panic fault exception (e.g., based on a custom opcode, custom bit indicator, or a custom operand of the store instruction that performed the store operation; by determining that the store operation is performed by a store instruction that is among a first N store instructions within the exception handler, where N is a positive integer; or by determining that a stack panic indicator is set, as non-limiting examples). In response to determining that the second exception should be handled as a stack panic fault exception, the processor device saves stack panic fault exception state data in the plurality of dedicated stack panic fault exception state registers. In some embodiments, the processor device may then transfer program control to a stack panic fault exception hander. In this manner, the stack panic fault exception can be safely handled without the need for an additional instruction sequence(s) in the exception handler or additional system resources, and without losing the exception state data saved as a result of the first exception.

權(quán)利要求

1
微信群二維碼
意見反饋