# US 2016/0253270 A1 · Protected memory area

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

- Number: US 2016/0253270 A1
- Document ID: US20160253270A1
- Status: Published application
- Kind: A1
- Application number: 15/147,761
- Filed: 2016-05-05
- Published: 2016-09-01
- Earliest claimed: 2014-10-08
- Assignees: Hewlett-Packard Development Company, L.P.
- Applicants: Hewlett-Packard Development Company, L.P.
- Inventors: Mark A. Piwonka
- Web page: https://patentgrep.com/patent/US20160253270A1

## CPC

- G06F 12/1425: {the protection being physical, e.g. cell, word, block}
- G06F 9/4401: Bootstrapping (security arrangements therefor G06F21/57)
- G06F 12/0238: {Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 12/14: Protection against unauthorised use of memory {or access to memory}
- G06F 21/572: {Secure firmware programming, e.g. of basic input output system [BIOS]}
- G06F 21/575: {Secure boot}
- G06F 2212/1052: Security improvement
- G06F 2212/7201: Logical to physical mapping or translation of blocks or pages
- G06F 2212/7207: management of metadata or control data
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

In some examples, in response to a computing device powering on, a protected memory area inaccessible to an operating system is created, where the protected memory area includes information relating to instructions and an indication settable to a first value to indicate that the instructions are allowed to access a memory external of the protected memory area, and a second value to indicate that the instructions are not allowed to access the memory external of the protected memory area. In response to creating the protected memory area, the indication is modified from the first value to the second value to restrict the instructions when executed from accessing the memory external of the protected memory area. In response to modifying the indication, code in the computing device is launched, the launched code comprising the operating system or firmware.

## Claims

### Claim 1

A method of a computing device, comprising:
in response to the computing device powering on, creating a protected memory area inaccessible to an operating system, wherein the protected memory area includes information relating to instructions and an indication settable to a first value to indicate that the instructions are allowed to access a memory external of the protected memory area, and a second value to indicate that the instructions are not allowed to access the memory external of the protected memory area;
in response to creating the protected memory area, modifying the indication from the first value to the second value to restrict the instructions when executed from accessing the memory external of the protected memory area; and
in response to modifying the indication, launching code in the computing device, the launched code comprising the operating system or firmware.

### Claim 2 (depends on 1)

The method of claim 1, wherein modifying the indication comprises modifying a flag or a register.

### Claim 3 (depends on 1)

The method of claim 1, wherein by modifying the indication from the first value to the second value, the instructions when executed are restricted from calling the launched code.

### Claim 4 (depends on 3)

The method of claim 3, wherein restricting the instructions when executed from calling the launched code protects the protected memory area from malicious code in the computing device.

### Claim 5 (depends on 1)

The method of claim 1, wherein the information relating to the instructions includes:
the instructions in the protected memory area, or
an address in the protected memory area, the address referring to a memory location storing the instructions.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
after launching of the code, detecting that code residing outside the protected memory area is attempting to execute the instructions; and
generating a fault in response to the detecting.

### Claim 7 (depends on 1)

The method of claim 1, wherein prior to the launching of the operating system or the firmware, the indication is set to the first value to allow the instructions when executed to access the memory external of the protected memory area.

### Claim 8 (depends on 1)

The method of claim 1, wherein the protected memory area is part of a system management memory.

### Claim 9 (depends on 1)

The method of claim 1, where the protected memory area is created by a Basic Input/Output System (BIOS) code.

### Claim 10

A computing device comprising:
a memory; and
a controller to:
in response to the computing device powering on, create, in the memory, a protected memory area inaccessible to an operating system, wherein the protected memory area includes information relating to instructions and an indication settable to a first value to indicate that the instructions are allowed to access a memory external of the protected memory area, and a second value to indicate that the instructions are not allowed to access the memory external of the protected memory area;
in response to creating the protected memory area, modify the indication from the first value to the second value to restrict the instructions when executed from accessing the memory external of the protected memory area; and
in response to modifying the indication, launch code in the computing device, the code comprising the operating system or firmware.

### Claim 11 (depends on 10)

The computing device of claim 10, wherein the controller comprises a processor and a Basic Input/Output System (BIOS) code executable on the processor.

### Claim 12 (depends on 10)

The computing device of claim 10, wherein the controller is to create the protected memory area in response to the computing device powering on from a mechanical off state.

### Claim 13 (depends on 10)

The computing device of claim 10, wherein the protected memory area is a system management memory area.

### Claim 14 (depends on 10)

The computing device of claim 10, wherein the firmware comprises video firmware for a video device in the computing device.

### Claim 15 (depends on 10)

The computing device of claim 10, wherein by modifying the indication from the first value to the second value, the instructions when executed are restricted from calling the launched code.

### Claim 16 (depends on 15)

The computing device of claim 15, wherein restricting the instructions when executed from calling the launched code protects the protected memory area from malicious code in the computing device.

### Claim 17 (depends on 10)

The computing device of claim 10, wherein the information relating to the instructions includes:
the instructions in the protected memory area, or
an address in the protected memory area, the address referring to a memory location storing the instructions.

### Claim 18

A non-volatile computer readable medium comprising instructions that upon execution cause a computing device to:
in response to the computing device powering on, create a system management memory area inaccessible to an operating system of the computing device, wherein the system management memory area includes information relating to instructions and an indication settable to a first value to indicate that the instructions are allowed to access a memory external of the system management memory area, and a second value to indicate that the instructions are not allowed to access the memory external of the system management memory area;
in response to creating the system management memory area, modify the indication from the first value to the second value to restrict the instructions when executed from accessing the memory external of the system management memory area; and
in response to modifying the indication, launch code in the computing device, the launched code comprising the operating system or firmware.

### Claim 19 (depends on 18)

The non-volatile computer readable medium of claim 18, wherein the system management memory area is a secure partition in the computing device.

### Claim 20 (depends on 18)

The non-volatile computer readable medium of claim 18, wherein by modifying the indication from the first value to the second value, the instructions when executed are restricted from calling the launched code.
