# US 2025/0156528 A1 · Virtual machine bound scheduling of trusted execution environment entities

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

- Number: US 2025/0156528 A1
- Document ID: US20250156528A1
- Status: Published application
- Kind: A1
- Application number: 18/510,564
- Filed: 2023-11-15
- Published: 2025-05-15
- Earliest claimed: 2023-11-15
- Assignees: QUALCOMM Incorporated
- Applicants: QUALCOMM Incorporated
- Inventors: Christian BOLIS
- Web page: https://patentgrep.com/patent/US20250156528A1

## CPC

- G06F 21/53: by executing in a restricted environment, e.g. sandbox or secure virtual machine
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 9/547: {Remote procedure calls [RPC]; Web services}
- G06F 21/54: by adding security routines or objects to programs
- G06F 2009/45587: {Isolation or security of virtual machine instances}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems and techniques are provided for accessing execution environments. For instance, a process can include calling, by a first object, a second object, wherein the first object is associated with a first virtual machine (VM) of a plurality of VMs, wherein the first object is executing in a scheduling context of the first VM, wherein the second object is registered with a trusted execution environment (TEE), and wherein the second object is associated with a second VM of the plurality of VMs; receiving, by the second object, a call from the first object; switching the scheduling context to the scheduling context of the second VM based on the received call from the first object; and executing code associated with the second object in the scheduling context of the second VM.

## Claims

### Claim 1

A method for accessing execution environments, the method comprising:
calling, by a first object, a second object, wherein the first object is associated with a first virtual machine (VM) of a plurality of VMs, wherein the first object is executing in a scheduling context of the first VM, wherein the second object is registered with a trusted execution environment (TEE), and wherein the second object is associated with a second VM of the plurality of VMs;
receiving, by the second object, a call from the first object;
switching the scheduling context to the scheduling context of the second VM based on the received call from the first object; and
executing code associated with the second object in the scheduling context of the second VM.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
returning a result of the executed code associated with the second object; and
switching the scheduling context to the scheduling context of the first VM based on returning the result.

### Claim 3 (depends on 1)

The method of claim 1, wherein the second object comprises a proxy object, and wherein the code comprises a function of a trusted application executing in the TEE.

### Claim 4 (depends on 3)

The method of claim 3, wherein the trusted application invokes a resource of the second VM.

### Claim 5 (depends on 1)

The method of claim 1, wherein the second object comprises a service object provided to the TEE by the second VM, and wherein the code comprises a function of a service executing on the second VM.

### Claim 6 (depends on 1)

The method of claim 1, wherein switching the scheduling context is bound to the call from the first object.

### Claim 7 (depends on 6)

The method of claim 6, wherein a scheduler for the TEE switches the scheduling context based on the bounded call from the first object.

### Claim 8 (depends on 1)

The method of claim 1, further comprising registering the second object with an arbitrary destination callback invocation (ADCI) service of the TEE.

### Claim 9 (depends on 1)

The method of claim 1, wherein the plurality of VMs and the TEE are executed on a same computing device.

### Claim 10

An apparatus for accessing execution environments, the apparatus comprising:
at least one memory; and
at least one processor coupled to the at least one memory and configured to:
call, by a first object, a second object, wherein the first object is associated with a first virtual machine (VM) of a plurality of VMs, wherein the first object is executing in a scheduling context of the first VM, wherein the second object is registered with a trusted execution environment (TEE), and wherein the second object is associated with a second VM of the plurality of VMs;
receive, by the second object, a call from the first object;
switch the scheduling context to the scheduling context of the second VM based on the received call from the first object; and
execute code associated with the second object in the scheduling context of the second VM.

### Claim 11 (depends on 10)

The apparatus of claim 10, wherein the at least one processor is further configured to:
return a result of the executed code associated with the second object; and
switch the scheduling context to the scheduling context of the first VM based on returning the result.

### Claim 12 (depends on 10)

The apparatus of claim 10, wherein the second object comprises a proxy object, and wherein the code comprises a function of a trusted application executing in the TEE.

### Claim 13 (depends on 12)

The apparatus of claim 12, wherein the trusted application invokes a resource of the second VM.

### Claim 14 (depends on 10)

The apparatus of claim 10, wherein the second object comprises a service object provided to the TEE by the second VM, and wherein the code comprises a function of a service executing on the second VM.

### Claim 15 (depends on 10)

The apparatus of claim 10, wherein switching the scheduling context is bound to the call from the first object.

### Claim 16 (depends on 15)

The apparatus of claim 15, wherein a scheduler for the TEE switches the scheduling context based on the bounded call from the first object.

### Claim 17 (depends on 10)

The apparatus of claim 10, wherein the at least one processor is further configured to register the second object with an arbitrary destination callback invocation (ADCI) service of the TEE.

### Claim 18 (depends on 10)

The apparatus of claim 10, wherein the plurality of VMs and the TEE are executed on the apparatus.

### Claim 19

A non-transitory computer-readable medium having stored thereon instructions that, when executed by at least one processor, cause the at least one processor to:
call, by a first object, a second object, wherein the first object is associated with a first virtual machine (VM) of a plurality of VMs, wherein the first object is executing in a scheduling context of the first VM, wherein the second object is registered with a trusted execution environment (TEE), and wherein the second object is associated with a second VM of the plurality of VMs;
receive, by the second object, a call from the first object;
switch the scheduling context to the scheduling context of the second VM based on the received call from the first object; and
execute code associated with the second object in the scheduling context of the second VM.

### Claim 20 (depends on 19)

The non-transitory computer-readable medium of claim 19, wherein the instructions further cause the at least one processor to:
return a result of the executed code associated with the second object; and
switch the scheduling context to the scheduling context of the first VM based on returning the result.

### Claim 21 (depends on 19)

The non-transitory computer-readable medium of claim 19, wherein the second object comprises a proxy object, and wherein the code comprises a function of a trusted application executing in the TEE.

### Claim 22 (depends on 21)

The non-transitory computer-readable medium of claim 21, wherein the trusted application invokes a resource of the second VM.

### Claim 23 (depends on 19)

The non-transitory computer-readable medium of claim 19, wherein the second object comprises a service object provided to the TEE by the second VM, and wherein the code comprises a function of a service executing on the second VM.

### Claim 24 (depends on 19)

The non-transitory computer-readable medium of claim 19, wherein switching the scheduling context is bound to the call from the first object.

### Claim 25 (depends on 24)

The non-transitory computer-readable medium of claim 24, wherein a scheduler for the TEE switches the scheduling context based on the bounded call from the first object.

### Claim 26 (depends on 19)

The non-transitory computer-readable medium of claim 19, wherein the instructions further cause the at least one processor to register the second object with an arbitrary destination callback invocation (ADCI) service of the TEE.

### Claim 27 (depends on 19)

The non-transitory computer-readable medium of claim 19, wherein the plurality of VMs and the TEE are executed on a same computing device.
