blob: 56bad864c24a792c189ec9923a2c7529c29b9523 [file] [log] [blame]
Elliott Hughes180edef2023-11-02 00:08:05 +00001/*
2 * This file is auto-generated. Modifications will be lost.
3 *
4 * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5 * for more information.
6 */
Christopher Ferrisaeddbcf2019-07-08 12:45:46 -07007#ifndef __INCLUDE_UAPI_SOUND_SOF_USER_HEADER_H__
8#define __INCLUDE_UAPI_SOUND_SOF_USER_HEADER_H__
Christopher Ferrise892fd62019-09-03 15:22:32 -07009#include <linux/types.h>
Christopher Ferrisaeddbcf2019-07-08 12:45:46 -070010struct sof_abi_hdr {
Christopher Ferrise892fd62019-09-03 15:22:32 -070011 __u32 magic;
12 __u32 type;
13 __u32 size;
14 __u32 abi;
15 __u32 reserved[4];
Christopher Ferris7447a1c2022-10-04 18:24:44 -070016 __u32 data[];
Colin Cross4ac33222022-12-15 15:45:35 -080017} __attribute__((__packed__));
Christopher Ferris7447a1c2022-10-04 18:24:44 -070018#define SOF_MANIFEST_DATA_TYPE_NHLT 1
19struct sof_manifest_tlv {
20 __le32 type;
21 __le32 size;
22 __u8 data[];
23};
24struct sof_manifest {
25 __le16 abi_major;
26 __le16 abi_minor;
27 __le16 abi_patch;
28 __le16 count;
29 struct sof_manifest_tlv items[];
30};
Christopher Ferrisaeddbcf2019-07-08 12:45:46 -070031#endif