#ifndef DEFINES_PROCESSOR_H
#define DEFINES_PROCESSOR_H

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

/*
    Desc: Defines for processor
*/

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

__BEGIN_DECLS


#define __GetCPUInfo_WB(__ProcessorBase, __arg1) \
        AROS_LC1NR(VOID, GetCPUInfo, \
                  AROS_LCA(struct TagItem *,(__arg1),A0), \
        APTR , (__ProcessorBase), 1, Processor)

#define GetCPUInfo(arg1) \
    __GetCPUInfo_WB(ProcessorBase, (arg1))

#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 */

__END_DECLS

#endif /* DEFINES_PROCESSOR_H*/
