# US 2016/0253183 A1 · Apparatus and method for compile time construction of memory structures

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

- Number: US 2016/0253183 A1
- Document ID: US20160253183A1
- Status: Published application
- Kind: A1
- Application number: 15/053,486
- Filed: 2016-02-25
- Published: 2016-09-01
- Earliest claimed: 2015-02-27
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Kirk R. SWIDOWSKI; Ahmed M. AZAB
- Web page: https://patentgrep.com/patent/US20160253183A1

## CPC

- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 9/4401: Bootstrapping (security arrangements therefor G06F21/57)
- G06F 2009/45583: {Memory management, e.g. access or allocation}
- G06F 2212/152: Virtualized environment, e.g. logically partitioned system
- G06F 2212/657: Virtual address space management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An apparatus and method for reducing boot time of an electronic device are provided. The electronic device includes electronic device is provided. The electronic device includes a processor including at least one system register; and an Operating System (OS) including an OS component having at least one reserved area, each reserved area including a static memory structure. The OS component is configured to, during a booting process, copy addresses of the at least one static memory structure into at least one of the plurality of system registers, and initialize the static memory structures located at the copied addresses.

## Claims

### Claim 1

A method for reducing boot time of an electronic device, the method comprising:
prebuilding at least one static data structure during a compiling process; and
patching the at least one static data structure into a corresponding reserved area of an Operating System (OS) component.

### Claim 2 (depends on 1)

The method of claim 1, wherein the OS component is a hypervisor.

### Claim 3 (depends on 1)

The method of claim 1, wherein the OS component is a kernel.

### Claim 4 (depends on 1)

The method of claim 1, wherein the at least one static memory structure comprises:
a first paging system for the OS component; and
a second paging system for other applications of an electronic device executing the hypervisor.

### Claim 5 (depends on 4)

The method of claim 4, wherein the at least one reserved area comprises:
a first reserved area for the first paging system; and
a second reserved area for the second paging system.

### Claim 6 (depends on 5)

The method of claim 5, wherein the first reserved area is contiguous with the second reserved area.

### Claim 7 (depends on 5)

The method of claim 5, wherein the first reserved area is not contiguous with the second reserved area.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
installing the OS component in an electronic device.

### Claim 9

A method of booting an electronic device, the method comprising:
executing an Operating System (OS) component having stored therein at least one static memory structure;
copying addresses of the at least one static memory structure into system registers of a processor of the electronic device; and
initializing the static memory structures located at the copied addresses.

### Claim 10 (depends on 9)

The method of claim 9, wherein the at least one static memory structure comprises:
a first paging table for the hypervisor; and
a second paging table for other applicants executing on the electronic device.

### Claim 11 (depends on 9)

The method of claim 9, wherein the OS component is a hypervisor.

### Claim 12 (depends on 9)

The method of claim 9, wherein the OS component is a kernel.

### Claim 13

An electronic device comprising:
a processor including at least one system register; and
an Operating System (OS) including an OS component having at least one reserved area, each reserved area including a static memory structure,
wherein the OS component is configured to, during a booting process:
copy addresses of the at least one static memory structure into at least one of the plurality of system registers; and
initialize the static memory structures located at the copied addresses.

### Claim 14 (depends on 13)

The electronic device of claim 13, wherein the at least one static memory structure comprises:
a first paging system for the hypervisor; and
a second paging system for other applications executing on the electronic device.

### Claim 15 (depends on 14)

The electronic device of claim 14, wherein the reserved areas comprise:
a first reserved area for the first paging system; and
a second reserved area for the second paging system.

### Claim 16 (depends on 13)

The electronic device of claim 13, wherein the OS component is one of a hypervisor and a kernel.

### Claim 17 (depends on 13)

The electronic device of claim 13, wherein the OS component is further configured to, during an initial booting of the electronic device:
prebuild the static memory structures; and
patch each of the static memory structure into the corresponding reserved area of the OS component.

### Claim 18

A non-transitory computer-readable storage medium storing instructions that, when executed, cause at least one processor to perform a method comprising:
executing an Operating System (OS) component having stored therein at least one static memory structure;
copying addresses of the at least one static memory structure into system registers of a processor of an electronic device; and
initializing the static memory structures located at the copied addresses.

### Claim 19 (depends on 18)

The non-transitory computer readable storage medium of claim 18, wherein the at least one static memory structure comprises:
a first paging table for the hypervisor; and
a second paging table for other applicants executing on the electronic device

### Claim 20 (depends on 18)

The non-transitory computer readable storage medium of claim 18, wherein the OS component is configured to, during an initial booting of the electronic device:
prebuild the static memory structures; and
patch each of the static memory structure into the corresponding reserved area of the OS component.
