Messages in this thread Patch in this message | | | From | Zach Brown <> | Subject | [PATCH 4/6] syslets: add indirect args | Date | Thu, 6 Dec 2007 15:20:17 -0800 |
| |
This adds the syslet indirect args to the indirect_params union.
This is broken, but it lets us simply demonstrate the rest of the syslet universe around the indirect argument passing convention.
A caller could well want to perform a syscall that uses indirect arguments as a syscall. Maybe we turn indirect_params into a struct that contains a union for arguments which can never be used concurrently. This needs wider discussion.
Signed-off-by: Zach Brown <zach.brown@oracle.com>
diff --git a/include/linux/indirect.h b/include/linux/indirect.h index 97f9ac4..5d5abd7 100644 --- a/include/linux/indirect.h +++ b/include/linux/indirect.h @@ -3,6 +3,7 @@ #define _LINUX_INDIRECT_H #include <asm/indirect.h> +#include <linux/syslet-abi.h> /* IMPORTANT: @@ -14,6 +15,7 @@ union indirect_params { struct { int flags; } file_flags; + struct syslet_args syslet; }; #define INDIRECT_PARAM(set, name) current->indirect_params.set.name -- 1.5.2.2
| |