IP Library Granted Patent US 8,683,115
Granted Patent B2
US 8,683,115 · App. 13/239,027 · Granted Mar 25, 2014

Programmable mapping of external requestors to privilege classes for access protection

Inventors: Dheera Balasubramanian (Richardson, TX); Joseph R. M. Zbiciak (Arlington, TX)
Assignee: Texas Instruments Incorporated
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,683,115
App. No.
13/239,027
Granted
Mar 25, 2014
Kind
B2
Abstract

A memory management and protection system that manages memory access requests from a number of requestors. Memory accesses are allowed or disallowed based on the privilege level of the requestor, based on a Privilege Identifier that accompanies each memory access request. An extended memory controller selects the appropriate set of segment registers based on the Privilege Identifier to insure that the request is compared to and translated by the segment register associated with the master originating the request. A set of mapping registers allow flexible mapping of each Privilege Identifier to the appropriate access permission.

Claims (23)

1. A memory management system comprising:

a memory organizes as a plurality of memory segments, each memory segment including a corresponding address range of a logical address space of the memory;

a plurality of segment registers, each segment register corresponding to one of the memory segments, each segment register storing an indication of said address range of said corresponding memory segment and an indication of each allowable ID (AID) permitted to access the corresponding memory segment;

a plurality of mapping registers equal in number to a number of privilege IDs, each mapping register storing an indication of an AID associated with a corresponding privilege ID; and

an extended memory controller connected to said memory, said plurality of memory segments and said plurality of mapping registers, said memory controller, said memory controller receiving requests for memory access from requestors specifying a memory address to be accessed and a privilege ID of said requestor, said memory controller operable to

compare the memory address of a received request with the stored indication of address range of each segment register to identify a segment register corresponding to a memory segment sought to be accessed,

access said plurality of mapping registers to determine an AID corresponding to the received privilege ID of a request,

determine from the identified segment register and the determined AID whether a received request is permitted to access the corresponding memory segment, and

permit access to said memory only if the privilege ID of a request maps to a permitted AID for the corresponding memory segment.

2. The memory management system of claim 1 , wherein:

said privilege ID consists of 4 bits;

said AID consists of 3 bits; and

said plurality of mapping registers consists of 16 mapping registers each storing a corresponding AID of 3 bits.

3. The memory management system of claim 2 , wherein:

said mapping registers are readable by all requestors with all privilege IDs.

4. The memory management system of claim 3 , wherein:

said mapping registers are only writeable by supervisors or by emulation.

5. The memory management system of claim 1 , wherein:

each segment register includes an indication whether a secure mode is required for access to said corresponding memory segment indicating said memory segment is a secure memory segment;

said extended memory controller is further operable to permit a request for memory access to a secure memory segment only if said request for memory access is a thread executing from a secure memory segment;

said mapping registers are only writeable by secure supervisors.

6. The extended memory controller of claim 5 , wherein:

said mapping registers further store a one bit wide field that specifies whether the requestor associated with the corresponding privilege ID is allowed to initiate a secure transaction into the memory segment.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 16, 2012
From: BALASUBRAMANIAN, DHEERA; ZBICIAK, JOSEPH R. M.
To: TEXAS INSTRUMENTS INCORPORATED
Reel/Frame 028216/0627 →
Continuity (2)
Provisional Application 61387283 · Sep 28, 2010
Related Publication 20120198192A1 · Aug 2, 2012