Domain Crossing in Executing Instructions in Computer Processors
AssigneeMicron Technology, Inc.
InventorSteven Jeffrey Wallach
Life of this patent
Estimating the term…
Abstract
Systems, apparatuses, and methods related to securing domain crossing using domain access tables are described. For example, a computer processor can have registers configured to store locations of domain access tables respectively for predefined, non-hierarchical domains. Each respective domain access table can be pre-associated with a respective domain and can have entries configured to identify entry points of the respective domain. The processor is configured to enforce domain crossing in instruction execution using the domain access tables and to prevent arbitrary and/or unauthorized domain crossing.
Claims20
A device, comprising:
- a plurality of memory regions;
- and
- a processor configured to execute a plurality of groups of instructions, wherein the groups of instructions are configured to be in a plurality of domains for execution in the processor;
- wherein the device is configured to, during execution of a first instruction in the processor to load a second instruction from a memory region among the plurality of memory regions:
- determine a first domain, among the plurality of domains, for the execution of the first instruction in the processor;
- determine whether a second domain, among the plurality of domains, for execution of the second instruction in the processor is same as the first domain;
- and
- determine, based on a permission setting, whether to provide access to the memory region to load the second instruction in response to a determination that the second domain is different from the first domain.
A method, comprising:
- storing a plurality of groups of instructions in a plurality of memory regions;
- classifying the plurality of groups of instructions into a plurality of domains for execution in a processor;
- and
- during execution of a first instruction in the processor to load a second instruction from a memory region among the plurality of memory regions:
- determining a first domain, among the plurality of domains, for the execution of the first instruction in the processor;
- determining whether a second domain, among the plurality of domains, for execution of the second instruction in the processor is same as the first domain;
- and
- determining, based on a permission setting, whether to provide access to the memory region to load the second instruction in response to a determination that the second domain is different from the first domain.
A processor, comprising:
- a plurality of execution units configured to execute instructions, wherein instructions to be executed in the processor are grouped into a plurality of groups of instructions stored in different memory regions, and wherein the plurality of groups of instructions are classified into a plurality of domains for execution in the processor;
- and
- a memory management unit configured to compute physical memory addresses from virtual memory addresses used by instructions being executed in the processor;
- wherein the processor is configured to, during execution of a first instruction in the processor to load a second instruction from a memory region among the plurality of memory regions:
- determine a first domain, among the plurality of domains, for the execution of the first instruction in the processor;
- determine whether a second domain, among the plurality of domains, for execution of the second instruction in the processor is same as the first domain;
- and
- determine, based on a permission setting, whether to provide access to the memory region to load the second instruction in response to a determination that the second domain is different from the first domain.
Dependencies are inferred from the claim text.