generate_linux_syscalls: Generate syscalls for x32.

Also update the syscalls file based on Linux 6.10. No diffs other than x32.
This commit is contained in:
Alex Rønne Petersen
2024-10-16 06:07:51 +02:00
parent 43878f51d9
commit d61e4ef8b0
3 changed files with 393 additions and 8 deletions

View File

@@ -162,6 +162,22 @@ const arch_infos = [_]ArchInfo{
.additional_enum = null,
},
},
.{
.table = .{
.name = "x32",
.enum_name = "X32",
.file_path = "arch/x86/entry/syscalls/syscall_64.tbl",
.process_file = &processTableBasedArch,
.filters = .{
.abiCheckParams = .{ .abi = "64", .flow = .@"continue" },
.fixedName = &fixedName,
.isReservedNameOld = null,
},
.header = null,
.extra_values = null,
.additional_enum = null,
},
},
.{
.table = .{
.name = "arm",