process.cc (11851:824055fe6b30) | process.cc (13570:b6484720c6a9) |
---|---|
1/* 2 * Copyright (c) 2005 The Regents of The University of Michigan 3 * Copyright (c) 2007 MIPS Technologies, Inc. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 127 unchanged lines hidden (view full) --- 136 tc->setMiscRegNoEffect(MISCREG_TP_VALUE, addr); 137 return 0; 138} 139 140SyscallDesc MipsLinuxProcess::syscallDescs[] = { 141 /* 0 */ SyscallDesc("syscall", unimplementedFunc), 142 /* 1 */ SyscallDesc("exit", exitFunc), 143 /* 2 */ SyscallDesc("fork", unimplementedFunc), | 1/* 2 * Copyright (c) 2005 The Regents of The University of Michigan 3 * Copyright (c) 2007 MIPS Technologies, Inc. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 127 unchanged lines hidden (view full) --- 136 tc->setMiscRegNoEffect(MISCREG_TP_VALUE, addr); 137 return 0; 138} 139 140SyscallDesc MipsLinuxProcess::syscallDescs[] = { 141 /* 0 */ SyscallDesc("syscall", unimplementedFunc), 142 /* 1 */ SyscallDesc("exit", exitFunc), 143 /* 2 */ SyscallDesc("fork", unimplementedFunc), |
144 /* 3 */ SyscallDesc("read", readFunc), 145 /* 4 */ SyscallDesc("write", writeFunc), | 144 /* 3 */ SyscallDesc("read", readFunc<MipsLinux>), 145 /* 4 */ SyscallDesc("write", writeFunc<MipsLinux>), |
146 /* 5 */ SyscallDesc("open", openFunc<MipsLinux>), 147 /* 6 */ SyscallDesc("close", closeFunc), 148 /* 7 */ SyscallDesc("waitpid", unimplementedFunc), 149 /* 8 */ SyscallDesc("creat", unimplementedFunc), 150 /* 9 */ SyscallDesc("link", unimplementedFunc), 151 /* 10 */ SyscallDesc("unlink", unlinkFunc), 152 /* 11 */ SyscallDesc("execve", unimplementedFunc), 153 /* 12 */ SyscallDesc("chdir", unimplementedFunc), --- 331 unchanged lines hidden --- | 146 /* 5 */ SyscallDesc("open", openFunc<MipsLinux>), 147 /* 6 */ SyscallDesc("close", closeFunc), 148 /* 7 */ SyscallDesc("waitpid", unimplementedFunc), 149 /* 8 */ SyscallDesc("creat", unimplementedFunc), 150 /* 9 */ SyscallDesc("link", unimplementedFunc), 151 /* 10 */ SyscallDesc("unlink", unlinkFunc), 152 /* 11 */ SyscallDesc("execve", unimplementedFunc), 153 /* 12 */ SyscallDesc("chdir", unimplementedFunc), --- 331 unchanged lines hidden --- |