public final class MemoryHazard
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
MemoryHazard.Type
This enumeration contains conflict types.
|
Constructor and Description |
---|
MemoryHazard(MemoryHazard.Type type,
MmuAddressInstance address,
MmuCondition condition)
Constructs an address space conflict.
|
MemoryHazard(MemoryHazard.Type type,
MmuBuffer device,
MmuCondition condition)
Constructs a device conflict.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
MmuAddressInstance |
getAddress()
Returns the address of the conflict.
|
MmuCondition |
getCondition()
Returns the address condition of the conflict.
|
MmuBuffer |
getDevice()
Returns the device of the conflict.
|
java.lang.String |
getFullName()
Returns the conflict name extended with the device or address space name.
|
java.lang.String |
getName()
Returns the conflict name.
|
MemoryHazard.Type |
getType()
Returns the conflict type.
|
int |
hashCode() |
java.lang.String |
toString() |
public MemoryHazard(MemoryHazard.Type type, MmuBuffer device, MmuCondition condition)
type
- the conflict type.device
- the device being used.condition
- the condition.java.lang.IllegalArgumentException
- if some parameters are null.public MemoryHazard(MemoryHazard.Type type, MmuAddressInstance address, MmuCondition condition)
type
- the conflict type.address
- the address being used.condition
- the condition.java.lang.IllegalArgumentException
- if some parameters are null.public MemoryHazard.Type getType()
public java.lang.String getName()
public java.lang.String getFullName()
public MmuBuffer getDevice()
public MmuAddressInstance getAddress()
public MmuCondition getCondition()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object