frysk.isa.watchpoints
Class Watchpoint

java.lang.Object
  extended by frysk.isa.watchpoints.Watchpoint

public class Watchpoint
extends Object


Method Summary
static Watchpoint create(long address, int range, int register, boolean writeOnly)
          Create Watchpoint.
 long getAddress()
           
 int getRange()
           
 int getRegister()
           
 boolean isWriteOnly()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static Watchpoint create(long address,
                                int range,
                                int register,
                                boolean writeOnly)
Create Watchpoint. This is an immutable class that carries only information. It is not connected with the underlying hardware, and there is no guarantee that the information contained in this class is current, or even exists at any given time. The watchpoint manager can, and will, optimize watchpoint allocation to maximize use; and it can, and will, sometimes combine or split hardware watchpoints. Thus this class is immutable, and cannot be changed after instantiation. If you want to alter a watchpoint, you should apply it via the WatchpointFunctionFactory, WatchpointFunction classes and their subclasses, and a new watchpoint object will be generated. Clients should not instantiate this class directly.

Parameters:
address - - address of watchpoint.
range - - range of the watchpoint.
register - - register watchpoint was allocated.
writeOnly - - true if the watchpoint will only trigger on a write.

getRegister

public int getRegister()

getAddress

public long getAddress()

getRange

public int getRange()

isWriteOnly

public boolean isWriteOnly()