# US 2021/0334109 A1 · Concurrent image measurement and execution

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

- Number: US 2021/0334109 A1
- Document ID: US20210334109A1
- Status: Published application
- Kind: A1
- Application number: 17/366,916
- Filed: 2021-07-02
- Published: 2021-10-28
- Earliest claimed: 2018-08-31
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: Olivier Duval
- Web page: https://patentgrep.com/patent/US20210334109A1

## CPC

- G06F 9/4406: {Loading of operating system}
- G06F 21/575: {Secure boot}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Apparatuses and methods related to concurrently measuring and executing images. An apparatus for concurrently measuring and executing images can include a memory device, a first processing resource and a second processing resource. The first processing resource can execute instructions stored in the memory device to execute a first portion of an image responsive to measuring the first portion of the image and execute a second portion of the image responsive to measuring the second portion of the image. The second processing resource can execute instructions stored in the memory device to measure the first portion of the image and measure the second portion of the image concurrently with an execution of the first portion of the image by the first processing resource.

## Claims

### Claim 1

A method comprising:
receiving source code at a compiler, the source code corresponding to an operating system (OS) and comprising tags;
generating an executable file comprising the tags from the source code;
generating an ordered executable file comprising the tags to organize the concurrent measurement and execution of a plurality of section of an image; and
generating the image from the ordered executable file comprising the tags.

### Claim 2 (depends on 1)

The method of claim 1, wherein the tags are provided during development.

### Claim 3 (depends on 1)

The method of claim 1, further comprising generating an unordered executable file comprising the tags and the plurality of sections using the executable file comprising the tags.

### Claim 4 (depends on 1)

The method of claim 1, further comprising replacing the tags on the ordered executable file with memory device commands.

### Claim 5 (depends on 1)

Th method of claim 1, further comprising generating a configuration file for a memory device measuring the sections of the image to configure the memory device to measure the plurality of sections of the image.

### Claim 6 (depends on 1)

The method of claim 1, further comprising concurrently measuring and processing the plurality of section of the image.

### Claim 7 (depends on 1)

The method of claim 1, further comprising waiting for the measuring of a section to conclude before executing the section.

### Claim 8 (depends on 7)

The method of claim 7, further comprising waiting for the measuring of the section to conclude using a loop structure. Is this what I want to happen?

### Claim 9 (depends on 7)

The method of claim 7, further comprising determining whether a status register indicates a conclusion of the measuring of the section during each iteration of the loop structure.

### Claim 10 (depends on 9)

The method of claim 9, further comprising determining whether a status register indicates a successful measurement of the section.

### Claim 11

An apparatus, comprising:
a compiler configured to:
receive source code, the source code corresponding to an operating system (OS) and comprising tags;
generating an unordered executable file comprising the tags from the source code;
a reorder unit configured to generate an ordered executable file comprising the tags to organize the concurrent measurement and execution of a plurality of section of an image, wherein the ordered executable file is generated from the unordered executable file; and
a packer configured to generate the image from the ordered executable file comprising the tags.

### Claim 12 (depends on 11)

The apparatus of claim 11, the packer is further configured to generate a configuration file to be used by a memory device to measure synchronously with a processing resource external to the memory device.

### Claim 13 (depends on 12)

The apparatus of claim 12, wherein the packer is further configured to generate the configuration file using a boot sequence file, a data vector with tagged memory device areas, and an ordered executable file comprising memory device calls.

### Claim 14 (depends on 13)

The apparatus of claim 13, further comprising a driver configured to generate the ordered executable file comprising the memory device calls from the ordered executable file comprising the tags.

### Claim 15 (depends on 14)

The apparatus of claim 14, wherein the driver is further configured to replace the tags with the memory device calls in the ordered executable file comprising the memory device calls.

### Claim 16 (depends on 15)

The apparatus of claim 15, wherein the driver is further configured to insert measure commands and load commands in the executable file comprising the memory device call to replace the tags.

### Claim 17

An apparatus, comprising:
a compiler configured to:
receive source code, the source code corresponding to an operating system (OS) and comprising tags;
generate an unordered executable file comprising the tags from the source code;
a profiler configured to generate an unordered executable file comprising code sections from the unordered executable file with tags;
a reorder unit configured to generate an ordered executable file comprising the tags from the unordered executable file comprising the code sections to organize the concurrent measurement and execution of a plurality of section of an image;
a driver configured to generate an ordered executable file with memory device calls from the ordered executable file with the tags; and
a packer configured to generate the image from the ordered executable file with memory device calls.

### Claim 18 (depends on 17)

The apparatus of claim 17, wherein the profiler is further configured to:
receive the unordered executable file comprising the tags, a root file system, and boot sequence files; and
generate the unordered executable file comprising the code sections using the unordered executable file comprising the tags, the root file system, and the boot sequence files; and
generate a data vector with tagged memory device areas using the unordered executable file comprising the tags, the root file system, and the boot sequence files.

### Claim 19 (depends on 17)

The apparatus of claim 17, wherein the profiler is further configured to generate the unordered executable file comprising the code sections and the tags.

### Claim 20 (depends on 17)

The apparatus of claim 17, wherein there is one more of the code sections than there are tags.
