#ifndef __IMG4_OBJECT_H
#define __IMG4_OBJECT_H
#ifndef __IMG4_INDIRECT
#error "Please #include <img4/firmware.h> instead of this file directly"
#endif // __IMG4_INDIRECT
#if IMG4_TAPI
#include "tapi.h"
#endif
OS_ASSUME_NONNULL_BEGIN
IMG4_API_AVAILABLE_20200508
typedef struct _img4_object_spec img4_object_spec_t;
#if !XNU_KERNEL_PRIVATE
IMG4_API_AVAILABLE_20200508
OS_EXPORT
const img4_object_spec_t _img4_firmware_spec;
#define IMG4_FIRMWARE_SPEC (&_img4_firmware_spec)
#else
#define IMG4_FIRMWARE_SPEC (img4if->i4if_v7.firmware_spec)
#endif
#define IMG4_FIRMWARE_SIZE_RECOMMENDED (1280u)
#if !XNU_KERNEL_PRIVATE
IMG4_API_AVAILABLE_20200508
OS_EXPORT
const img4_object_spec_t _img4_chip_spec;
#define IMG4_CHIP_SPEC (&_img4_chip_spec)
#else
#define IMG4_CHIP_SPEC (img4if->i4if_v7.chip_spec)
#endif
#define IMG4_CHIP_SIZE_RECOMMENDED (256u)
OS_ASSUME_NONNULL_END
#endif // __IMG4_OBJECT_H