Skip to content

Commit

Permalink
✨ add 32 bit header
Browse files Browse the repository at this point in the history
  • Loading branch information
froz42 committed Oct 8, 2023
1 parent b0355ae commit 93ac38f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions srcs/syscall/syscall_32.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#pragma once

#pragma once

#include <syscall_strace.h>

/* here are descriptions of x86 syscalls */
/* based on https://chromium.googlesource.com/chromiumos/docs/+/master/constants/syscalls.md#x86-32_bit */

/* [SYSCALL_NO] = { "SYSCALL_NAME", RETURN_TYPE, { ARG_TYPE1, ARG_TYPE2, ARG_TYPE3, ARG_TYPE4, ARG_TYPE5, ARG_TYPE6 } } */
static const syscall_description_t x86_syscalls[] = {
[0] = {"restart_syscall", SIGNED_INT, {NONE}}
};

0 comments on commit 93ac38f

Please sign in to comment.