Changes and Features to IPStack
[tpg/acess2.git] / Kernel / include / acess.h
index 7bf2e48..efc925e 100644 (file)
@@ -6,6 +6,7 @@
 #define _COMMON_H
 
 #define NULL   ((void*)0)
+#define PACKED __attribute__ ((packed))
 
 #include <arch.h>
 #include <stdarg.h>
@@ -73,7 +74,7 @@ typedef void (*tThreadFunction)(void*);
  */
 typedef struct sKernelSymbol {
        char    *Name;
-       unsigned int    Value;
+       Uint    Value;
 } tKernelSymbol;
 #define        EXPORT(_name)   tKernelSymbol _kexp_##_name __attribute__((section ("KEXPORT"),unused))={#_name, (Uint)_name}
 #define        EXPORTV(_name)  tKernelSymbol _kexp_##_name __attribute__((section ("KEXPORT"),unused))={#_name, (Uint)&_name}
@@ -103,6 +104,7 @@ extern void Debug_Enter(char *FuncName, char *ArgTypes, ...);
 extern void    Debug_Log(char *FuncName, char *Fmt, ...);
 extern void    Debug_Leave(char *FuncName, char RetType, ...);
 extern void    Debug_HexDump(char *Header, void *Data, Uint Length);
+#define UNIMPLEMENTED()        Warning("'%s' unimplemented", __func__)
 #if DEBUG
 # define ENTER(_types...)      Debug_Enter((char*)__func__, _types)
 # define LOG(_fmt...)  Debug_Log((char*)__func__, _fmt)

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