#ifndef INLINE_PROCESSOR_H
#define INLINE_PROCESSOR_H

/*
    *** Automatically generated from '/home/aros/ABIv0/Build/20110803/AROS/rom/processor/processor.conf'. Edits will be lost. ***
    Copyright © 1995-2011, The AROS Development Team. All rights reserved.
*/

/*
    Desc: Inline function for processor
*/

#include <aros/libcall.h>
#include <exec/types.h>
#include <aros/preprocessor/variadic/cast2iptr.hpp>


static inline VOID __inline_Processor_GetCPUInfo(struct TagItem * __arg1, APTR __ProcessorBase)
{
    AROS_LC1NR(VOID, GetCPUInfo,
        AROS_LCA(struct TagItem *,(__arg1),A0),
        APTR , (__ProcessorBase), 1, Processor    );
}

#define GetCPUInfo(arg1) \
    __inline_Processor_GetCPUInfo((arg1), (APTR)ProcessorBase)

#if !defined(NO_INLINE_STDARG) && !defined(PROCESSOR_NO_INLINE_STDARG)
#define GetCPUInfoTags(...) \
({ \
    IPTR __args[] = { AROS_PP_VARIADIC_CAST2IPTR(__VA_ARGS__) }; \
    GetCPUInfo((struct TagItem *)__args); \
})
#endif /* !NO_INLINE_STDARG */

#endif /* INLINE_PROCESSOR_H*/
