# US 2012/0254498 A1 · Systems and methods for managing read-only memory

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

- Number: US 2012/0254498 A1
- Document ID: US20120254498A1
- Status: Published application
- Kind: A1
- Application number: 13/493,153
- Filed: 2012-06-11
- Published: 2012-10-04
- Earliest claimed: 2010-12-13
- Assignees: International Business Machines Corporation
- Inventors: Brian D. HATFIELD; Wenjeng KO; Lei LIU
- Web page: https://patentgrep.com/patent/US20120254498A1

## CPC

- G06F 12/1009: using page tables, e.g. page table structures
- G06F 12/0638: {Combination of memories, e.g. ROM and RAM such as to permit replacement or supplementing of words in one module by words in another module (address formation of the next microinstruction G06F9/26; masking faults in memories by using spares or by reconfiguring G11C29/70)}
- G06F 12/10: Address translation
- G06F 12/145: {the protection being virtual, e.g. for virtual blocks or segments before a translation mechanism}
- G06F 2212/1016: Performance improvement
- G06F 2212/1052: Security improvement
- G06F 2212/202: Non-volatile memory
- G06F 2212/65: Details of virtual memory and virtual address translation
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A first virtual memory address is mapped to a real memory in a memory device, and a second virtual memory address is mapped to the real memory. Here, the first virtual memory address is authorized to modify data in the real memory and the second virtual memory address is not authorized to modify the data in the real memory.

## Claims

### Claim 1

A method for managing read-only memory in a storage system including a processor and a tracking mechanism, comprising:
mapping, by the processor via the tracking mechanism, a first virtual memory address to a real memory in a memory device; and
mapping, by the processor via the tracking mechanism, a second virtual memory address to the real memory, wherein:
the first virtual memory address is authorized to modify data in the real memory, and
the second virtual memory address is not authorized to modify the data in the real memory.

### Claim 2 (depends on 1)

The method of claim 1, further comprising mapping, by the processor via the tracking mechanism, a third virtual memory address to the real memory, wherein the third virtual memory address is not authorized to modify the data in the real memory.

### Claim 3 (depends on 1)

The method of claim 1, wherein mapping the first virtual memory address to the real memory comprises:
temporarily mapping, via the tracking mechanism, the first virtual memory address to the real memory each time the data in the real memory needs to be modified; and
removing the mapping of the first virtual memory address to the real memory from the tracking mechanism after each time the data in the real memory is modified.

### Claim 4 (depends on 1)

The method of claim 1, wherein mapping the first virtual memory address to the real memory comprises permanently mapping the first virtual memory address to the real memory in the tracking mechanism.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
receiving, by the processor, a request to write first new data to the real memory via the second virtual memory address; and
providing, by the processor, an exception in response to receiving the request.

### Claim 6 (depends on 5)

The method of claim 5, further comprising:
receiving, by the processor, a request to write second new data to the real memory via the first virtual memory address; and
writing the second new data to the real memory in response to receiving the request.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
receiving, by the processor, a request to write new data to the real memory via the first virtual memory address; and
writing the new data to the real memory in response to receiving the request.
