Introduce s390_guarded_storage system call decoder
PATCH 6/12 Introduce s390_guarded_storage system call decoder
* linux/s390/syscallent.h ([378]): Change decoder to s390_guarded_storage.
* linux/s390x/syscallent.h: Likewise.
* s390.c (struct guard_storage_control_block,
struct guard_storage_event_parameter_list): New structure type definition.
(guard_storage_print_gsepl, guard_storage_print_gscb, SYS_FUNC(s390_guarded_storage)): New function.
(DIV_ROUND_UP): New macro.
* xlat/s390_guarded_storage_commands.in: New file.
--- linux/s390/syscallent.h | 2 +- linux/s390x/syscallent.h | 2 +- s390.c | 180 ++++++++++++++++++++++++++++++++++ xlat/s390_guarded_storage_commands.in | 5 + 4 files changed, 187 insertions(+), 2 deletions(-) create mode 100644 xlat/s390_guarded_storage_commands.in
linux/s390/syscallent.h +1 -1
@@ -407,7 +407,7 @@ [375] = { 6, TD, SEN(copy_file_range), "copy_file_range" }, [376] = { 6, TD, SEN(preadv2), "preadv2" }, [377] = { 6, TD, SEN(pwritev2), "pwritev2" }, -[378] = { 2, 0, SEN(printargs), "s390_guarded_storage" }, +[378] = { 2, 0, SEN(s390_guarded_storage), "s390_guarded_storage" }, [379] = { 5, TD|TF|TSTA, SEN(statx), "statx" }, [380] = { 4, 0, SEN(s390_sthyi), "s390_sthyi" },
linux/s390x/syscallent.h +1 -1
@@ -391,7 +391,7 @@ [375] = { 6, TD, SEN(copy_file_range), "copy_file_range" }, [376] = { 6, TD, SEN(preadv2), "preadv2" }, [377] = { 6, TD, SEN(pwritev2), "pwritev2" }, -[378] = { 2, 0, SEN(printargs), "s390_guarded_storage" }, +[378] = { 2, 0, SEN(s390_guarded_storage), "s390_guarded_storage" }, [379] = { 5, TD|TF|TSTA, SEN(statx), "statx" }, [380] = { 4, 0, SEN(s390_sthyi), "s390_sthyi" },
s390.c +180 -0
190 lines not on this page · raw message
xlat/s390_guarded_storage_commands.in new file +5 -0
@@ -0,0 +1,5 @@ +GS_ENABLE 0 +GS_DISABLE 1 +GS_SET_BC_CB 2 +GS_CLEAR_BC_CB 3 +GS_BROADCAST 4
Signature · 1 line
2.1.4