frysk.isa.syscalls
Class SyscallTable

java.lang.Object
  extended by frysk.isa.syscalls.SyscallTable

public abstract class SyscallTable
extends Object

System call database.


Constructor Summary
SyscallTable()
           
 
Method Summary
abstract  long getNumSyscalls()
          Return the number of syscalls.
abstract  Syscall getSyscall(long num)
          Return the NUM'th system call; implemented using findSyscall.
abstract  Syscall getSyscall(String Name)
           
abstract  Syscall getSyscall(Task task)
          Assuming that TASK is at a system-call entry, return the system call.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SyscallTable

public SyscallTable()
Method Detail

getSyscall

public abstract Syscall getSyscall(String Name)
Returns:
Syscall return system call object if the name could be found in syscallList, otherwise return null.

getSyscall

public abstract Syscall getSyscall(long num)
Return the NUM'th system call; implemented using findSyscall.


getNumSyscalls

public abstract long getNumSyscalls()
Return the number of syscalls.


getSyscall

public abstract Syscall getSyscall(Task task)
Assuming that TASK is at a system-call entry, return the system call.

Parameters:
task - the task that system call occurred
Returns:
the Syscall object