|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmars.mips.instructions.syscalls.SyscallNumberOverride
public class SyscallNumberOverride
Represents User override of default syscall number assignment. Such overrides are specified in the config.txt file read when MARS starts up.
Constructor Summary | |
---|---|
SyscallNumberOverride(String serviceName,
String value)
Constructor is called with two strings: service name and desired number. |
Method Summary | |
---|---|
String |
getName()
Get the service name as a String. |
int |
getNumber()
Get the new service number as an int. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SyscallNumberOverride(String serviceName, String value)
serviceName
- a String containing syscall service mnemonic.value
- a String containing its reassigned syscall service number.
If this number is previously assigned to a different syscall which does not
also receive a new number, then an error for duplicate numbers will
be issued at MARS launch.Method Detail |
---|
public String getName()
public int getNumber()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |