arch-arm: Add ftruncate implementation to the Syscall Table

Change-Id: I27c526c5c8107f888aee7c99b952f086d4fa0e35
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/51488
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
Giacomo Travaglini
2021-10-12 18:34:35 +01:00
parent 2644cc3cac
commit 43910b5312

View File

@@ -545,7 +545,7 @@ class SyscallTable64 : public SyscallDescTable<EmuLinux::SyscallABI64>
{ base + 44, "fstatfs64" },
{ base + 45, "truncate64" },
{ base + 46, "ftruncate64", ftruncate64Func },
{ base + 47, "fallocate" },
{ base + 47, "fallocate", fallocateFunc },
{ base + 48, "faccessat", faccessatFunc<ArmLinux64> },
{ base + 49, "chdir" },
{ base + 50, "fchdir" },