# US 2021/0342092 A1 · Apparatus and method for providing one time programmable memory features in a hypervisor of a computing device

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

- Number: US 2021/0342092 A1
- Document ID: US20210342092A1
- Status: Published application
- Kind: A1
- Application number: 17/266,901
- Filed: 2018-08-08
- Published: 2021-11-04
- Earliest claimed: 2018-08-08
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Liming WU; Kui WANG; Rémi Robert Michel DENIS-COURMONT; Igor STOPPA
- Web page: https://patentgrep.com/patent/US20210342092A1

## CPC

- G06F 3/0655: {Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices}
- G06F 12/1441: {for a range}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/064: {Management of blocks}
- G06F 3/0673: {Single storage device}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 12/023: {Free address space management}
- G06F 12/1491: {in a hierarchical protection system, e.g. privilege levels, memory rings}
- G06F 21/31: User authentication
- G06F 21/53: by executing in a restricted environment, e.g. sandbox or secure virtual machine
- G06F 2212/152: Virtualized environment, e.g. logically partitioned system
- G06F 2221/033: Test or assess software
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An apparatus that includes a processor and a memory. The processor and the memory are configured to provide a first software process configured to execute at a first privilege level; and a second software process configured to execute at a second privilege level, wherein the first privilege level is more restrictive than the second privilege level. The processor is configured to, initialize, at the first privilege level, a memory pool within the memory, allocate, at the first privilege level, a block of memory, send a request to write protect the block of memory to the second software process, and to write protect, at the second privilege level, the allocated block of memory.

## Claims

### Claim at position 1

1-13. (canceled)

### Claim 14

An electronic device, comprising:
a non-transitory memory comprising instructions; and
a processor coupled to the non-transitory memory, the instructions being executed by the processor to cause the electronic device to:
provide a first software process configured to execute at a first privilege level;
provide a second software process configured to execute at a second privilege level, wherein the first privilege level is more restrictive than the second privilege level;
initialize, at the first privilege level, a memory pool within the memory;
allocate, at the first privilege level, a block of memory;
send a request to write protect the block of memory to the second software process; and
write protect, at the second privilege level, the allocated block of memory.

### Claim 15 (depends on 14)

The electronic device of claim 14, the instructions further cause the electronic device to:
receive within the first software process a memory allocation request, wherein the memory allocation request is sent by a software application, and wherein the software application is executing at the first privilege level or at a privilege level that is more restrictive than the first privilege level.

### Claim 16 (depends on 14)

The electronic device of claim 14, the instructions further cause the electronic device to:
receive within the first process a request to write data to the allocated block of memory; and
write, at the first privilege level, the data to the allocated block of memory.

### Claim 17 (depends on 14)

The electronic device of claim 14, wherein the first software process comprises a kernel, the second software process comprises a hypervisor, and the instructions further cause the electronic device to:
execute the kernel at the first privilege level and execute the hypervisor at the second privilege level.

### Claim 18 (depends on 14)

The electronic device of claim 14, wherein the first software process comprises a kernel, the second software process comprises a secure execution environment, and the instructions further cause the electronic device to:
execute the kernel at the first privilege level and execute the secure execution environment at the second privilege level.

### Claim 19 (depends on 14)

The electronic device of claim 14, wherein the electronic device comprises a mobile communication device.

### Claim 20

A method comprising:
executing a first software process at a first privilege level and a second software process at a second privilege level;
initializing, at the first privilege level, a memory pool;
allocating, at the first privilege level, a block of memory; and
write protecting, at the second privilege level, the block of memory,
wherein the first privilege level is more restrictive than the second privilege level.

### Claim 21 (depends on 20)

The method of claim 20, wherein the method further comprises:
receiving within the first software process a memory allocation request from a third software process, wherein the third software process is executing at the first privilege level or at a privilege level that is more restrictive than the first privilege level.

### Claim 22 (depends on 20)

The method of claim 20, wherein the method further comprises:
receiving within the first software process a request to write data to the allocated block of memory; and
writing, at the first privilege level, the data to the allocated block of memory.

### Claim 23 (depends on 20)

The method of claim 20, wherein the first process comprises a kernel, and the second process comprises a hypervisor.

### Claim 24 (depends on 20)

The method of claim 20, wherein the first software process comprises a kernel, and the second software process comprises a secure execution environment.

### Claim 25 (depends on 20)

The method of claim 20, wherein the method is performed within a mobile communication device.

### Claim 26

A computer program product, the computer program product being embodied in a non-transitory computer readable medium and comprising computer instructions for:
executing a first software process at a first privilege level and a second software process at a second privilege level;
initializing, at the first privilege level, a memory pool;
allocating, at the first privilege level, a block of memory; and
write protecting, at the second privilege level, the block of memory,
wherein the first privilege level is more restrictive than the second privilege level.

### Claim 27 (depends on 26)

The computer program product of claim 26, the computer program product further comprises computer instructions for:
receiving within the first software process a memory allocation request from a third software process, wherein the third software process is executing at the first privilege level or at a privilege level that is more restrictive than the first privilege level.

### Claim 28 (depends on 26)

The computer program product of claim 26, the computer program product further comprises computer instructions for:
receiving within the first software process a request to write data to the allocated block of memory; and
writing, at the first privilege level, the data to the allocated block of memory.

### Claim 29 (depends on 26)

The computer program product of claim 26, wherein the first process comprises a kernel, and the second process comprises a hypervisor.

### Claim 30 (depends on 26)

The computer program product of claim 26, wherein the first software process comprises a kernel, and the second software process comprises a secure execution environment.

### Claim 31 (depends on 27)

The computer program product of claim 27, wherein the first process comprises a kernel, and the second process comprises a hypervisor.
