syscalls.cc (11886:43b882cada33) | syscalls.cc (13570:b6484720c6a9) |
---|---|
1/* 2 * Copyright (c) 2003-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 77 unchanged lines hidden (view full) --- 86 } 87 return 0; 88} 89 90SyscallDesc SparcLinuxProcess::syscall32Descs[] = { 91 /* 0 */ SyscallDesc("restart_syscall", unimplementedFunc), 92 /* 1 */ SyscallDesc("exit", exitFunc), // 32 bit 93 /* 2 */ SyscallDesc("fork", unimplementedFunc), | 1/* 2 * Copyright (c) 2003-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 77 unchanged lines hidden (view full) --- 86 } 87 return 0; 88} 89 90SyscallDesc SparcLinuxProcess::syscall32Descs[] = { 91 /* 0 */ SyscallDesc("restart_syscall", unimplementedFunc), 92 /* 1 */ SyscallDesc("exit", exitFunc), // 32 bit 93 /* 2 */ SyscallDesc("fork", unimplementedFunc), |
94 /* 3 */ SyscallDesc("read", readFunc), 95 /* 4 */ SyscallDesc("write", writeFunc), | 94 /* 3 */ SyscallDesc("read", readFunc<Sparc32Linux>), 95 /* 4 */ SyscallDesc("write", writeFunc<Sparc32Linux>), |
96 /* 5 */ SyscallDesc("open", openFunc<Sparc32Linux>), // 32 bit 97 /* 6 */ SyscallDesc("close", closeFunc), 98 /* 7 */ SyscallDesc("wait4", unimplementedFunc), // 32 bit 99 /* 8 */ SyscallDesc("creat", unimplementedFunc), // 32 bit 100 /* 9 */ SyscallDesc("link", unimplementedFunc), 101 /* 10 */ SyscallDesc("unlink", unlinkFunc), 102 /* 11 */ SyscallDesc("execv", unimplementedFunc), 103 /* 12 */ SyscallDesc("chdir", unimplementedFunc), --- 288 unchanged lines hidden (view full) --- 392 393const int SparcLinuxProcess::Num_Syscall32_Descs = 394 sizeof(SparcLinuxProcess::syscall32Descs) / sizeof(SyscallDesc); 395 396SyscallDesc SparcLinuxProcess::syscallDescs[] = { 397 /* 0 */ SyscallDesc("restart_syscall", unimplementedFunc), 398 /* 1 */ SyscallDesc("exit", exitFunc), 399 /* 2 */ SyscallDesc("fork", unimplementedFunc), | 96 /* 5 */ SyscallDesc("open", openFunc<Sparc32Linux>), // 32 bit 97 /* 6 */ SyscallDesc("close", closeFunc), 98 /* 7 */ SyscallDesc("wait4", unimplementedFunc), // 32 bit 99 /* 8 */ SyscallDesc("creat", unimplementedFunc), // 32 bit 100 /* 9 */ SyscallDesc("link", unimplementedFunc), 101 /* 10 */ SyscallDesc("unlink", unlinkFunc), 102 /* 11 */ SyscallDesc("execv", unimplementedFunc), 103 /* 12 */ SyscallDesc("chdir", unimplementedFunc), --- 288 unchanged lines hidden (view full) --- 392 393const int SparcLinuxProcess::Num_Syscall32_Descs = 394 sizeof(SparcLinuxProcess::syscall32Descs) / sizeof(SyscallDesc); 395 396SyscallDesc SparcLinuxProcess::syscallDescs[] = { 397 /* 0 */ SyscallDesc("restart_syscall", unimplementedFunc), 398 /* 1 */ SyscallDesc("exit", exitFunc), 399 /* 2 */ SyscallDesc("fork", unimplementedFunc), |
400 /* 3 */ SyscallDesc("read", readFunc), 401 /* 4 */ SyscallDesc("write", writeFunc), | 400 /* 3 */ SyscallDesc("read", readFunc<SparcLinux>), 401 /* 4 */ SyscallDesc("write", writeFunc<SparcLinux>), |
402 /* 5 */ SyscallDesc("open", openFunc<SparcLinux>), 403 /* 6 */ SyscallDesc("close", closeFunc), 404 /* 7 */ SyscallDesc("wait4", unimplementedFunc), 405 /* 8 */ SyscallDesc("creat", unimplementedFunc), 406 /* 9 */ SyscallDesc("link", unimplementedFunc), 407 /* 10 */ SyscallDesc("unlink", unlinkFunc), 408 /* 11 */ SyscallDesc("execv", unimplementedFunc), 409 /* 12 */ SyscallDesc("chdir", unimplementedFunc), --- 277 unchanged lines hidden --- | 402 /* 5 */ SyscallDesc("open", openFunc<SparcLinux>), 403 /* 6 */ SyscallDesc("close", closeFunc), 404 /* 7 */ SyscallDesc("wait4", unimplementedFunc), 405 /* 8 */ SyscallDesc("creat", unimplementedFunc), 406 /* 9 */ SyscallDesc("link", unimplementedFunc), 407 /* 10 */ SyscallDesc("unlink", unlinkFunc), 408 /* 11 */ SyscallDesc("execv", unimplementedFunc), 409 /* 12 */ SyscallDesc("chdir", unimplementedFunc), --- 277 unchanged lines hidden --- |