1 /* Automatically generated header! Do not edit! */
    2 
    3 #ifndef _PPCINLINE_ASL_H
    4 #define _PPCINLINE_ASL_H
    5 
    6 #ifndef __PPCINLINE_MACROS_H
    7 #include <ppcinline/macros.h>
    8 #endif /* !__PPCINLINE_MACROS_H */
    9 
   10 #ifndef ASL_BASE_NAME
   11 #define ASL_BASE_NAME AslBase
   12 #endif /* !ASL_BASE_NAME */
   13 
   14 #define AbortAslRequest(__p0) \
   15 	LP1NR(78, AbortAslRequest, \
   16 		APTR , __p0, a0, \
   17 		, ASL_BASE_NAME, 0, 0, 0, 0, 0, 0)
   18 
   19 #define RequestFile(__p0) \
   20 	LP1(42, BOOL , RequestFile, \
   21 		struct FileRequester *, __p0, a0, \
   22 		, ASL_BASE_NAME, 0, 0, 0, 0, 0, 0)
   23 
   24 #define AslRequest(__p0, __p1) \
   25 	LP2(60, BOOL , AslRequest, \
   26 		APTR , __p0, a0, \
   27 		struct TagItem *, __p1, a1, \
   28 		, ASL_BASE_NAME, 0, 0, 0, 0, 0, 0)
   29 
   30 #define FreeFileRequest(__p0) \
   31 	LP1NR(36, FreeFileRequest, \
   32 		struct FileRequester *, __p0, a0, \
   33 		, ASL_BASE_NAME, 0, 0, 0, 0, 0, 0)
   34 
   35 #define FreeAslRequest(__p0) \
   36 	LP1NR(54, FreeAslRequest, \
   37 		APTR , __p0, a0, \
   38 		, ASL_BASE_NAME, 0, 0, 0, 0, 0, 0)
   39 
   40 #define AllocFileRequest() \
   41 	LP0(30, struct FileRequester *, AllocFileRequest, \
   42 		, ASL_BASE_NAME, 0, 0, 0, 0, 0, 0)
   43 
   44 #define AllocAslRequest(__p0, __p1) \
   45 	LP2(48, APTR , AllocAslRequest, \
   46 		ULONG , __p0, d0, \
   47 		struct TagItem *, __p1, a0, \
   48 		, ASL_BASE_NAME, 0, 0, 0, 0, 0, 0)
   49 
   50 #define ActivateAslRequest(__p0) \
   51 	LP1NR(84, ActivateAslRequest, \
   52 		APTR , __p0, a0, \
   53 		, ASL_BASE_NAME, 0, 0, 0, 0, 0, 0)
   54 
   55 #if defined(USE_INLINE_STDARG) && !defined(__STRICT_ANSI__)
   56 
   57 #include <stdarg.h>
   58 
   59 #define AllocAslRequestTags(__p0, ...) \
   60 	({ULONG _tags[] = { __VA_ARGS__ }; \
   61 	AllocAslRequest(__p0, (struct TagItem *)_tags);})
   62 
   63 #define AslRequestTags(__p0, ...) \
   64 	({ULONG _tags[] = { __VA_ARGS__ }; \
   65 	AslRequest(__p0, (struct TagItem *)_tags);})
   66 
   67 #endif
   68 
   69 #endif /* !_PPCINLINE_ASL_H */