From e16396efaf3f1d8cc60e889364f56cb4e013b7fa Mon Sep 17 00:00:00 2001 From: John Hodge Date: Fri, 7 Dec 2012 13:21:03 +0800 Subject: [PATCH] Kernel - Updated syscall list header --- KernelLand/Kernel/GenSyscalls.pl | 6 ++++-- KernelLand/Kernel/include/syscalls.h | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/KernelLand/Kernel/GenSyscalls.pl b/KernelLand/Kernel/GenSyscalls.pl index 487ceca4..fdf33e91 100755 --- a/KernelLand/Kernel/GenSyscalls.pl +++ b/KernelLand/Kernel/GenSyscalls.pl @@ -24,7 +24,9 @@ close(FILE); # C header open(HEADER, ">include/syscalls.h"); print HEADER "/* - * Acess2 + * Acess2 Kernel + * - By John Hodge (thePowersGang) + * * syscalls.h * - System Call List * @@ -46,7 +48,7 @@ print HEADER " #define NUM_SYSCALLS ",$i," #define SYS_DEBUG 0x100 -#ifndef __ASSEMBLER__ +#if !defined(__ASSEMBLER__) && !defined(NO_SYSCALL_STRS) static const char *cSYSCALL_NAMES[] = { "; diff --git a/KernelLand/Kernel/include/syscalls.h b/KernelLand/Kernel/include/syscalls.h index 4164e647..8a935119 100644 --- a/KernelLand/Kernel/include/syscalls.h +++ b/KernelLand/Kernel/include/syscalls.h @@ -1,5 +1,7 @@ /* - * Acess2 + * Acess2 Kernel + * - By John Hodge (thePowersGang) + * * syscalls.h * - System Call List * @@ -68,7 +70,7 @@ #define NUM_SYSCALLS 88 #define SYS_DEBUG 0x100 -#ifndef __ASSEMBLER__ +#if !defined(__ASSEMBLER__) && !defined(NO_SYSCALL_STRS) static const char *cSYSCALL_NAMES[] = { "SYS_EXIT", "SYS_CLONE", -- 2.20.1