1 /* Automatically generated header! Do not edit! */
    2 
    3 #ifndef _PPCINLINE_SYSDEBUG_H
    4 #define _PPCINLINE_SYSDEBUG_H
    5 
    6 #ifndef __PPCINLINE_MACROS_H
    7 #include <ppcinline/macros.h>
    8 #endif /* !__PPCINLINE_MACROS_H */
    9 
   10 #ifndef SYSDEBUG_BASE_NAME
   11 #define SYSDEBUG_BASE_NAME SysDebugBase
   12 #endif /* !SYSDEBUG_BASE_NAME */
   13 
   14 
   15 
   16 #define SysDebugFindSeg(__p0, __p1, __p2) \
   17 	(((STRPTR (*)(void *, ULONG , ULONG *, ULONG *))*(void**)((long)(SYSDEBUG_BASE_NAME) - 40))((void*)(SYSDEBUG_BASE_NAME), __p0, __p1, __p2))
   18 
   19 #define SysDebugFindSegTagList(__p0) \
   20 	(((LONG (*)(void *, struct TagItem *))*(void**)((long)(SYSDEBUG_BASE_NAME) - 46))((void*)(SYSDEBUG_BASE_NAME), __p0))
   21 
   22 #define SysDebugFreeArray(__p0) \
   23 	(((void (*)(void *, APTR ))*(void**)((long)(SYSDEBUG_BASE_NAME) - 52))((void*)(SYSDEBUG_BASE_NAME), __p0))
   24 
   25 #define SysDebugLock() \
   26 	(((void (*)(void *))*(void**)((long)(SYSDEBUG_BASE_NAME) - 58))((void*)(SYSDEBUG_BASE_NAME)))
   27 
   28 #define SysDebugUnLock() \
   29 	(((void (*)(void *))*(void**)((long)(SYSDEBUG_BASE_NAME) - 64))((void*)(SYSDEBUG_BASE_NAME)))
   30 
   31 #if defined(USE_INLINE_STDARG) && !defined(__STRICT_ANSI__)
   32 
   33 #include <stdarg.h>
   34 
   35 #define SysDebugFindSegTags(...) \
   36 	({ULONG _tags[] = { __VA_ARGS__ }; \
   37 	SysDebugFindSegTagList((struct TagItem *)_tags);})
   38 
   39 #endif
   40 
   41 #endif /* !_PPCINLINE_SYSDEBUG_H */