arch-arm: Add mknod implementation to the Syscall Table

Change-Id: Ie5af5c4223e015d04aadda125f3131683a06463f
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/51055
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
Reviewed-by: Richard Cooper <richard.cooper@arm.com>
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu>
This commit is contained in:
Giacomo Travaglini
2021-09-27 19:47:48 +01:00
parent dcf4e11a15
commit 1b2083fc53

View File

@@ -160,7 +160,7 @@ class SyscallTable32 : public SyscallDescTable<EmuLinux::SyscallABI32>
{ base + 11, "execve", execveFunc<ArmLinux32> },
{ base + 12, "chdir", chdirFunc },
{ base + 13, "time", timeFunc<ArmLinux32> },
{ base + 14, "mknod" },
{ base + 14, "mknod", mknodFunc },
{ base + 15, "chmod", chmodFunc<ArmLinux32> },
{ base + 16, "lchown", chownFunc },
{ base + 19, "lseek", lseekFunc },
@@ -761,7 +761,7 @@ class SyscallTable64 : public SyscallDescTable<EmuLinux::SyscallABI64>
{ base + 1024, "open", openFunc<ArmLinux64> },
{ base + 1025, "link" },
{ base + 1026, "unlink", unlinkFunc },
{ base + 1027, "mknod" },
{ base + 1027, "mknod", mknodFunc },
{ base + 1028, "chmod", chmodFunc<ArmLinux64> },
{ base + 1029, "chown" },
{ base + 1030, "mkdir", mkdirFunc },