Package | Description |
---|---|
caoss.simulator.instructions | |
caoss.simulator.os.syscalls |
Modifier and Type | Method and Description |
---|---|
SysCallNumber |
SysCall.getNumber()
Retrieve the system call's identifier
|
Constructor and Description |
---|
NoSuchSysCallException(SysCallNumber number)
Construct exception
|
SysCall(SysCallNumber number,
int[] arguments)
Constructor
|
Modifier and Type | Method and Description |
---|---|
static SysCallNumber |
SysCallNumber.fromInt(int number)
Obtain a
SysCallNumber representation from an int |
static SysCallNumber |
SysCallNumber.fromString(java.lang.String str)
Obtain a
SysCallNumber representation from a string |
static SysCallNumber |
SysCallNumber.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SysCallNumber[] |
SysCallNumber.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static SysCallHandler |
SysCallTable.getHandler(SysCallNumber number)
Obtain the handler for a given system call
|