04-10-2018 дата публикации
Номер: US20180285291A1
Принадлежит:
Methods, apparatus, and system to create interrupts which are resolved at runtime relative to an active compartment. Active compartments may be, for example, a compartment of an operating system (“OS”) or a trusted execution environment (“TEE”). The context-specific interrupts comprise an interrupt dispatch table (“IDT”) for each compartment. 1. An apparatus for computing , comprising:a computer processor, a memory, and a hardware exception unit; anda context-sensitive interrupt instantiation module to instantiate an interrupt of a process executed by the computer processor in a compartment, wherein to instantiate the interrupt, the context-sensitive interrupt instantiation module is to create an interrupt gate entry in an interrupt dispatch table (“IDT”), wherein the interrupt gate entry is to be resolved at runtime according to a then-active compartment, independent of other compartments, to trigger the interrupt and interrupt the process upon detection of an interrupt signal by the hardware exception unit.2. The apparatus according to claim 1 , wherein the context-sensitive interrupt instantiation module is to create the interrupt gate entry in the IDT to invoke a context-sensitive local descriptor table record (“context-sensitive LDT record”) claim 1 , wherein the context-sensitive interrupt instantiation module is to program the context-sensitive LDT record with a memory segment descriptor claim 1 , wherein the memory segment descriptor identifies an interrupt service routine (“ISR”) code and data of the interrupt.3. The apparatus according to claim 2 , wherein the context-sensitive interrupt instantiation module is to instantiate a plurality of interrupts claim 2 , wherein at least two of the plurality of interrupts comprise memory segment descriptors claim 2 , wherein the memory segment descriptors point to a common memory location claim 2 , wherein the common memory location comprises the ISR code and data of the interrupt claim 2 , and wherein an integrity ...
Подробнее