|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.cmpware.cmp.SystemMemory
com.cmpware.cmp.system.memory.Ring
public class Ring
This implements ring of processors with shared memory between each of the nodes. Note that the memories have to be mapped at different addresses in each processor to avoid address conflict.
Copyright (c) 2007 Cmpware, Inc. All Rights Reserved.
| Field Summary | |
|---|---|
static java.lang.String |
copyright
Copyright string |
static int |
MEMORY_ADDRESS1
The address of the memory bank 1 |
static int |
MEMORY_ADDRESS2
The address of the memory bank 2 |
static int |
MEMORY_SIZE
The size of the memory (in bytes) |
| Constructor Summary | |
|---|---|
Ring()
|
|
| Method Summary | |
|---|---|
void |
configureMemory(Multiprocessor mp)
This method is called to build and configure the memory system for the newly allocated processor array. |
| Methods inherited from class com.cmpware.cmp.SystemMemory |
|---|
get |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String copyright
public static int MEMORY_SIZE
public static int MEMORY_ADDRESS1
public static int MEMORY_ADDRESS2
| Constructor Detail |
|---|
public Ring()
| Method Detail |
|---|
public void configureMemory(Multiprocessor mp)
throws SystemMemoryException
SystemMemory
configureMemory in class SystemMemorymp - The multiprocessor.
SystemMemoryException - if there is a problem allocating
or using the memory objects.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||