#ifndef INLINE_ATA_H
#define INLINE_ATA_H

/*
    *** Automatically generated from '/data/deadwood/gitAROS/AROS/rom/devs/ata/ata.conf'. Edits will be lost. ***
    Copyright © 1995-2011, The AROS Development Team. All rights reserved.
*/

/*
    Desc: Inline function for ata
*/

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


static inline ULONG __inline_ata_GetRdskLba(struct IORequest * __arg1, APTR __ataBase)
{
    return AROS_LC1(ULONG, GetRdskLba,
        AROS_LCA(struct IORequest *,(__arg1),A1),
        struct Device *, (__ataBase), 7, ata    );
}

#define GetRdskLba(arg1) \
    __inline_ata_GetRdskLba((arg1), (APTR)ataBase)

static inline ULONG __inline_ata_GetBlkSize(struct IORequest * __arg1, APTR __ataBase)
{
    return AROS_LC1(ULONG, GetBlkSize,
        AROS_LCA(struct IORequest *,(__arg1),A1),
        struct Device *, (__ataBase), 8, ata    );
}

#define GetBlkSize(arg1) \
    __inline_ata_GetBlkSize((arg1), (APTR)ataBase)

#endif /* INLINE_ATA_H*/
