IP Library › Granted Patent US 9,740,636
Granted Patent B2
US 9,740,636 · App. 15/064,066 · Granted Aug 22, 2017

Information processing apparatus

Inventors: Masayuki Ito (Tokyo, JP); Hideki Sugimoto (Tokyo, JP)
Assignee: Renesas Electronics Corporation
G06F12/14G06F9/45558G06F13/1663G06F13/1694G06F13/385G11C7/1036G06F2009/45583G06F2212/1052Y02B60/1228Y02B60/1235
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 9,740,636
App. No.
15/064,066
Granted
Aug 22, 2017
Kind
B2
Abstract

According to an embodiment, an information processing apparatus includes a plurality of cores, a shared resource that can be shared by the plurality of cores, and local registers that store configuration information peculiar to the respective cores. The shared resource is provided independently from the plurality of cores. The local registers are provided to the respective cores. This makes it possible to provide an information processing apparatus that can suppress increase in hardware resources even when the number of cores composing a multi-core system increases.

Claims (57)

1. An information processing method using an information processing apparatus, wherein

the information processing apparatus comprises:

a plurality of cores;

a shared resource that can be shared by the plurality of cores; and

a local register that stores configuration information peculiar to each of the plurality of cores,

the shared resource is provided independently of the plurality of cores,

the local register is provided in each of the plurality of cores,

the shared resource comprises a memory protection circuit that protects a shared memory from invalid access by each of the plurality of cores,

each of the plurality of cores comprises a local memory protection circuit that evaluates whether or not the corresponding core can access the shared memory prior to evaluation by the memory protection circuit,

each of the local memory protection circuit comprises:

a second protected area configuration register storing protected area information relating to a protected area of the shared memory;

a second access evaluation circuit provided to correspond to the second protected area configuration register; and

a rewrite control circuit that rewrites the protected area information stored in the second protected area configuration register,

the memory protection circuit comprises:

a first protected area configuration register storing the protected area information relating to the protected area of the shared memory; and

a first access evaluation circuit that evaluates whether or not the core is allowed to access the shared memory, and

the information processing method comprises:

referring, in each of the local memory protection circuits, by the second access evaluation circuit, to the second protected area configuration register and evaluating whether or not each of the plurality of cores is allowed to access the shared memory based on the memory access information and the protected area information;

evaluating, in the memory protection circuit, when the memory address included in the memory access information is not included in the memory area stored in the second protected area configuration register, by the first access evaluation circuit, whether or not the core is allowed to access the shared memory; and

rewriting, by a rewrite control circuit, protected area information stored in the second protected area configuration register by using protected area information relating to a protected area of the shared memory stored in the first protected area configuration register included in the memory protection circuit.

2. The information processing method according to claim 1 , wherein the number of memory areas stored in the second protected area configuration register is less than the number of memory areas stored in the first protected area configuration register.

3. The information processing method according to claim 1 , wherein an address hit rate of each of the second access evaluation circuit is calculated based on an evaluation result output from the second access evaluation circuit and protected area information stored in the second protected area configuration register corresponding to the access evaluation circuit with the lowest address hit rate is rewritten by using protected area information stored in the first protected area configuration register.

4. The information processing method according to claim 1 , wherein

the first protected area configuration register stores address information corresponding to a memory area of the shared memory and authority information relating to authority of each of the plurality of cores to access the memory area, and

when a memory address included in the memory access information is included in the memory area stored in the first protected area configuration register, and further, when the core has access authority to the memory area, it is evaluated that the core can access the shared memory.

5. The information processing method according to claim 1 , wherein

the first protected area configuration register stores address information corresponding to a memory area of the shared memory and authority information relating to authority of each of the plurality of cores to access the memory area, and

when a memory address included in the memory access information is not included in the memory area stored in the first protected area configuration register, and further, when the core has access authority to the memory area, the memory protection circuit evaluates that the core cannot access the shared memory.

6. An information processing method using an information processing apparatus, wherein

the information processing apparatus comprises:

a plurality of cores;

a shared resource that can be shared by the plurality of cores; and

a local register that stores configuration information peculiar to each of the plurality of cores,

the shared resource is provided independently of the plurality of cores,

the local register is provided in each of the plurality of cores,

the shared resource comprises a memory protection circuit that protects a shared memory from invalid access by each of the plurality of cores,

each of the plurality of cores comprises a local memory protection circuit that evaluates whether or not the corresponding core can access the shared memory prior to evaluation by the memory protection circuit,

each of the local memory protection circuit comprises:

a second protected area configuration register storing protected area information relating to a protected area of the shared memory;

a second access evaluation circuit provided to correspond to the second protected area configuration register; and

a rewrite control circuit that rewrites the protected area information stored in the second protected area configuration register,

the memory protection circuit comprises:

a first protected area configuration register storing the protected area information relating to the protected area of the shared memory; and

an area evaluation circuit that evaluates whether or not the memory address included in the memory access information is included in the memory area stored to the first protected area configuration register, and

the information processing method comprises:

referring, in each of the local memory protection circuits, by the second access evaluation circuit, to the second protected area configuration register and evaluating whether or not each of the plurality of cores is allowed to access the shared memory based on the memory access information and the protected area information;

evaluating, in the memory protection circuit, when the memory address included in the memory access information is not included in the memory area stored in the second protected area configuration register, by the area evaluation circuit, whether or not the memory address is included in the memory area stored in the first protected area configuration register storing protected area information relating to a protected area of the shared memory;

rewriting, in the local memory protection circuit, when it is determined that the memory address is included in a memory area stored in the first protected area configuration register by the area evaluation circuit, by the rewrite control circuit, protected area information stored in the second protected area configuration register by using protected area information stored in the first protected area configuration register; and

evaluating again, after the second protected area configuration register is rewritten, by the second access evaluation circuit, whether or not the core is allowed to access the shared memory based on the memory access information and rewritten protected area information stored in the second protected area configuration register.

7. The information processing method according to claim 6 , wherein the number of memory areas stored in the second protected area configuration register is less than the number of memory areas stored in the first protected area configuration register.

8. The information processing method according to claim 6 , wherein an address hit rate of each of the second access evaluation circuit is calculated based on an evaluation result output from the second access evaluation circuit and protected area information stored in the second protected area configuration register corresponding to the access evaluation circuit with the lowest address hit rate is rewritten by using protected area information stored in the first protected area configuration register.

9. The information processing method according to claim 6 , wherein

the first protected area configuration register stores address information corresponding to a memory area of the shared memory and authority information relating to authority of each of the plurality of cores to access the memory area, and

when a memory address included in the memory access information is included in the memory area stored in the first protected area configuration register, and further, when the core has access authority to the memory area, the memory protection circuit evaluates that the core can access the shared memory.

10. The information processing method according to claim 6 , wherein

the first protected area configuration register stores address information corresponding to a memory area of the shared memory and authority information relating to authority of each of the plurality of cores to access the memory area, and

when a memory address included in the memory access information is not included in the memory area stored in the first protected area configuration register, and further, when the core has access authority to the memory area, the memory protection circuit evaluates that the core cannot access the shared memory.

Assignments (1)
ADDRESS CHANGE Recorded Jun 19, 2018
From: RENESAS ELECTRONICS CORPORATION
To: RENESAS ELECTRONICS CORPORATION
Reel/Frame 046390/0398 →
Priority Claims (1)
JP 2012-229907 · Oct 17, 2012 · national
Continuity (2)
Continuation 14052138 · Oct 11, 2013
Related Publication 20160188493A1 · Jun 30, 2016