From 7d4d6d35c0f6c00313a114aae710cd0cf302a440 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Fri, 11 Feb 2005 04:54:35 +0000 Subject: [PATCH] Export an array of static syscall infos generated by gensyscalls. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11340 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/kernel/ksyscalls.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/headers/private/kernel/ksyscalls.h b/headers/private/kernel/ksyscalls.h index 90accc6ab4..2ed3282584 100755 --- a/headers/private/kernel/ksyscalls.h +++ b/headers/private/kernel/ksyscalls.h @@ -9,6 +9,15 @@ #include +typedef struct { + void *function; // pointer to the syscall function + int parameter_size; // summed up parameter size +} syscall_info; + +extern const int kSyscallCount; +extern const syscall_info kSyscallInfos[]; + + #ifdef __cplusplus extern "C" { #endif