#ifndef DEFINES_PIC_PROTOS_H
#define DEFINES_PIC_PROTOS_H

/*
    *** Automatically generated from 'pic.conf'. Edits will be lost. ***
    Copyright © 1995-2005, The AROS Development Team. All rights reserved.
*/

/*
    Desc: Defines for pic
*/

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


#define __APIC_Read_WB(__PICBase, __arg1) \
        AROS_LC1(ULONG, APIC_Read, \
                  AROS_LCA(ULONG,(__arg1),D0), \
        APTR , (__PICBase), 6, PIC)

#define APIC_Read(arg1) \
    __APIC_Read_WB(PICBase, (arg1))

#define __APIC_GetID_WB(__PICBase, __arg1) \
        AROS_LC1(void, APIC_GetID, \
                  AROS_LCA(ULONG,(__arg1),D0), \
        APTR , (__PICBase), 7, PIC)

#define APIC_GetID(arg1) \
    __APIC_GetID_WB(PICBase, (arg1))

#endif /* DEFINES_PIC_PROTOS_H*/
