# US 2025/0148130 A1 · Domain Crossing in Executing Instructions in Computer Processors

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0148130 A1
- Document ID: US20250148130A1
- Status: Published application
- Kind: A1
- Application number: 19/013,701
- Filed: 2025-01-08
- Published: 2025-05-08
- Earliest claimed: 2018-08-30
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: Steven Jeffrey Wallach
- Web page: https://patentgrep.com/patent/US20250148130A1

## CPC

- G06F 21/53: by executing in a restricted environment, e.g. sandbox or secure virtual machine
- G06F 21/629: {to features or functions of an application}
- G06F 9/45541: {Bare-metal, i.e. hypervisor runs directly on hardware}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 9/545: {where tasks reside in different layers, e.g. user- and kernel-space}
- G06F 12/1009: using page tables, e.g. page table structures
- G06F 12/145: {the protection being virtual, e.g. for virtual blocks or segments before a translation mechanism}
- G06F 12/1483: {using an access-table, e.g. matrix or list}
- G06F 12/1491: {in a hierarchical protection system, e.g. privilege levels, memory rings}
- G06F 2009/45583: {Memory management, e.g. access or allocation}
- G06F 2009/45587: {Isolation or security of virtual machine instances}
- G06F 2212/1052: Security improvement
- G06F 2221/2141: Access rights, e.g. capability lists, access control lists, access tables, access matrices
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## 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.

## Claims

### Claim 1

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.

### Claim 2 (depends on 1)

The device of claim 1, wherein the first domain is determined based on the first instruction being in a first group of instructions configured in the first domain; and
the second domain is determined based on the second instruction being in a second group of instructions configured in the second domain.

### Claim 3 (depends on 2)

The device of claim 2, wherein the processor includes a register configured to store data indicative of a respective domain of a respective instruction being currently executed in the processor.

### Claim 4 (depends on 3)

The device of claim 3, wherein the respective domain is determined based on the respective instruction being part of a respective group of instructions configured in the respective domain.

### Claim 5 (depends on 4)

The device of claim 4, wherein the plurality of domains include:
instructions of hypervisor;
instructions of operating system; and
instructions of applications.

### Claim 6 (depends on 5)

The device of claim 5, wherein the permission setting is configured in a table entry used to compute a physical memory address in the memory region from a virtual memory address used in the execution of the first instruction.

### Claim 7 (depends on 6)

The device of claim 6, wherein the table entry includes a plurality of permission settings for the plurality of domains respectively and a base for computing the physical memory address from the virtual memory address; and
wherein the permission setting pre-associated with the second domain.

### Claim 8

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.

### Claim 9 (depends on 8)

The method of claim 8, wherein the first domain is determined based on the first instruction being in a first group of instructions configured in the first domain; and
the second domain is determined based on the second instruction being in a second group of instructions configured in the second domain.

### Claim 10 (depends on 9)

The method of claim 9, further comprising:
storing, in a register in the processor, data indicative of a respective domain of a respective instruction being currently executed in the processor.

### Claim 11 (depends on 10)

The method of claim 10, wherein the respective domain is determined based on the respective instruction being part of a respective group of instructions configured in the respective domain.

### Claim 12 (depends on 11)

The method of claim 11, wherein the plurality of domains include:
instructions of hypervisor;
instructions of operating system; and
instructions of applications.

### Claim 13 (depends on 12)

The method of claim 12, wherein the permission setting is configured in a table entry used to compute a physical memory address in the memory region from a virtual memory address used in the execution of the first instruction.

### Claim 14 (depends on 13)

The method of claim 13, wherein the table entry includes a plurality of permission settings for the plurality of domains respectively and a base for computing the physical memory address from the virtual memory address; and
wherein the permission setting pre-associated with the second domain.

### Claim 15

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.

### Claim 16 (depends on 15)

The processor of claim 15, wherein the first domain is determined based on the first instruction being in a first group of instructions configured in the first domain;
and the second domain is determined based on the second instruction being in a second group of instructions configured in the second domain.

### Claim 17 (depends on 16)

The processor of claim 16, further comprising:
a register configured to store data indicative of a respective domain of a respective instruction being currently executed in the processor, wherein the respective domain is determined based on the respective instruction being part of a respective group of instructions configured in the respective domain.

### Claim 18 (depends on 17)

The processor of claim 17, wherein the plurality of domains include:
instructions of hypervisor;
instructions of operating system; and
instructions of applications.

### Claim 19 (depends on 18)

The processor of claim 18, wherein the permission setting is configured in a table entry used to compute a physical memory address in the memory region from a virtual memory address used in the execution of the first instruction.

### Claim 20 (depends on 19)

The processor of claim 19, wherein the table entry includes a plurality of permission settings for the plurality of domains respectively and a base for computing the physical memory address from the virtual memory address; and
wherein the permission setting pre-associated with the second domain.
