From 96f41ff64d8113307f1b60d2eb6852423db34d14 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Mon, 18 Jul 2022 23:55:58 +0200 Subject: syscalls: implement execbuf i have been planning to implement something like this for a while now. it should be faster when doing consecutive syscalls (to be tested). it will also be helpful in writing the elf loader --- src/shared/execbuf.h | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 src/shared/execbuf.h (limited to 'src/shared/execbuf.h') diff --git a/src/shared/execbuf.h b/src/shared/execbuf.h new file mode 100644 index 0000000..70ea35c --- /dev/null +++ b/src/shared/execbuf.h @@ -0,0 +1,5 @@ +#pragma once +/* the instruction format is bound to change, atm it's extremely inefficient */ + +/* takes 5 arguments */ +#define EXECBUF_SYSCALL 0xF0000001 -- cgit v1.2.3