|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--mars.mips.instructions.syscalls.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(java.lang.String serviceName,
java.lang.String value)
Constructor is called with two strings: service name and desired number. |
|
| Method Summary | |
java.lang.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(java.lang.String serviceName,
java.lang.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 java.lang.String getName()
public int getNumber()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||