arch-x86,sim-se: Ignore the some mem syscalls

This makes the Linux SE mode ignore mlockall and modify_ldt. It is
needed to get ELFies working.

Change-Id: I9fce3c6a5531e5f1bb094c2d0587fa330d2892a9
Signed-off-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/68037
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Reviewed-by: Bobby Bruce <bbruce@ucdavis.edu>
Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
Jason Lowe-Power
2023-02-15 18:23:24 -08:00
committed by Bobby Bruce
parent 379da2474b
commit 30200051a3

View File

@@ -194,10 +194,10 @@ SyscallDescTable<EmuLinux::SyscallABI64> EmuLinux::syscallDescs64 = {
{ 148, "sched_rr_get_interval" },
{ 149, "mlock" },
{ 150, "munlock" },
{ 151, "mlockall" },
{ 151, "mlockall", ignoreFunc },
{ 152, "munlockall" },
{ 153, "vhangup" },
{ 154, "modify_ldt" },
{ 154, "modify_ldt", ignoreFunc },
{ 155, "pivot_root" },
{ 156, "_sysctl" },
{ 157, "prctl", ignoreFunc },