Kernel/debug - Clean up Debug() method, bind to #define config
[tpg/acess2.git] / KernelLand / Kernel / GenSyscalls.pl
index 487ceca..e7e3cbe 100755 (executable)
@@ -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
  *
@@ -44,9 +46,11 @@ foreach my $call (@calls)
 }
 print HEADER "
 #define NUM_SYSCALLS   ",$i,"
-#define SYS_DEBUG      0x100
+#define SYS_DEBUGS     0x100
+#define SYS_DEBUGF     0x101
+#define SYS_DEBUGHEX   0x102
 
-#ifndef __ASSEMBLER__
+#if !defined(__ASSEMBLER__) && !defined(NO_SYSCALL_STRS)
 static const char *cSYSCALL_NAMES[] = {
 ";
 

UCC git Repository :: git.ucc.asn.au