process.cc (13539:22b36f5a7a95) process.cc (13570:b6484720c6a9)
1/*
2 * Copyright (c) 2010-2013, 2015 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 112 unchanged lines hidden (view full) ---

121 tc->setMiscReg(MISCREG_TPIDRRO_EL0, tlsPtr);
122 return 0;
123}
124
125static SyscallDesc syscallDescs32[] = {
126 /* 0 */ SyscallDesc("syscall", unimplementedFunc),
127 /* 1 */ SyscallDesc("exit", exitFunc),
128 /* 2 */ SyscallDesc("fork", unimplementedFunc),
1/*
2 * Copyright (c) 2010-2013, 2015 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 112 unchanged lines hidden (view full) ---

121 tc->setMiscReg(MISCREG_TPIDRRO_EL0, tlsPtr);
122 return 0;
123}
124
125static SyscallDesc syscallDescs32[] = {
126 /* 0 */ SyscallDesc("syscall", unimplementedFunc),
127 /* 1 */ SyscallDesc("exit", exitFunc),
128 /* 2 */ SyscallDesc("fork", unimplementedFunc),
129 /* 3 */ SyscallDesc("read", readFunc),
130 /* 4 */ SyscallDesc("write", writeFunc),
129 /* 3 */ SyscallDesc("read", readFunc<ArmLinux32>),
130 /* 4 */ SyscallDesc("write", writeFunc<ArmLinux32>),
131 /* 5 */ SyscallDesc("open", openFunc<ArmLinux32>),
132 /* 6 */ SyscallDesc("close", closeFunc),
133 /* 7 */ SyscallDesc("unused#7", unimplementedFunc),
134 /* 8 */ SyscallDesc("creat", unimplementedFunc),
135 /* 9 */ SyscallDesc("link", unimplementedFunc),
136 /* 10 */ SyscallDesc("unlink", unlinkFunc),
137 /* 11 */ SyscallDesc("execve", execveFunc<ArmLinux32>),
138 /* 12 */ SyscallDesc("chdir", unimplementedFunc),

--- 423 unchanged lines hidden (view full) ---

562 /* 59 */ SyscallDesc("pipe2", unimplementedFunc),
563 /* 60 */ SyscallDesc("quotactl", unimplementedFunc),
564#if defined(SYS_getdents64)
565 /* 61 */ SyscallDesc("getdents64", getdents64Func),
566#else
567 /* 61 */ SyscallDesc("getdents64", unimplementedFunc),
568#endif
569 /* 62 */ SyscallDesc("llseek", lseekFunc),
131 /* 5 */ SyscallDesc("open", openFunc<ArmLinux32>),
132 /* 6 */ SyscallDesc("close", closeFunc),
133 /* 7 */ SyscallDesc("unused#7", unimplementedFunc),
134 /* 8 */ SyscallDesc("creat", unimplementedFunc),
135 /* 9 */ SyscallDesc("link", unimplementedFunc),
136 /* 10 */ SyscallDesc("unlink", unlinkFunc),
137 /* 11 */ SyscallDesc("execve", execveFunc<ArmLinux32>),
138 /* 12 */ SyscallDesc("chdir", unimplementedFunc),

--- 423 unchanged lines hidden (view full) ---

562 /* 59 */ SyscallDesc("pipe2", unimplementedFunc),
563 /* 60 */ SyscallDesc("quotactl", unimplementedFunc),
564#if defined(SYS_getdents64)
565 /* 61 */ SyscallDesc("getdents64", getdents64Func),
566#else
567 /* 61 */ SyscallDesc("getdents64", unimplementedFunc),
568#endif
569 /* 62 */ SyscallDesc("llseek", lseekFunc),
570 /* 63 */ SyscallDesc("read", readFunc),
571 /* 64 */ SyscallDesc("write", writeFunc),
570 /* 63 */ SyscallDesc("read", readFunc<ArmLinux64>),
571 /* 64 */ SyscallDesc("write", writeFunc<ArmLinux64>),
572 /* 65 */ SyscallDesc("readv", unimplementedFunc),
573 /* 66 */ SyscallDesc("writev", writevFunc<ArmLinux64>),
574 /* 67 */ SyscallDesc("pread64", unimplementedFunc),
575 /* 68 */ SyscallDesc("pwrite64", unimplementedFunc),
576 /* 69 */ SyscallDesc("preadv", unimplementedFunc),
577 /* 70 */ SyscallDesc("pwritev", unimplementedFunc),
578 /* 71 */ SyscallDesc("sendfile64", unimplementedFunc),
579 /* 72 */ SyscallDesc("pselect6", unimplementedFunc),

--- 1158 unchanged lines hidden ---
572 /* 65 */ SyscallDesc("readv", unimplementedFunc),
573 /* 66 */ SyscallDesc("writev", writevFunc<ArmLinux64>),
574 /* 67 */ SyscallDesc("pread64", unimplementedFunc),
575 /* 68 */ SyscallDesc("pwrite64", unimplementedFunc),
576 /* 69 */ SyscallDesc("preadv", unimplementedFunc),
577 /* 70 */ SyscallDesc("pwritev", unimplementedFunc),
578 /* 71 */ SyscallDesc("sendfile64", unimplementedFunc),
579 /* 72 */ SyscallDesc("pselect6", unimplementedFunc),

--- 1158 unchanged lines hidden ---