blob: 751455052124aeb7ff5db336979a156926494299 [file] [log] [blame]
Christopher Ferrisaeddbcf2019-07-08 12:45:46 -07001/****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 *** To edit the content of this header, modify the corresponding
11 *** source file (e.g. under external/kernel-headers/original/) then
12 *** run bionic/libc/kernel/tools/update_all.py
13 ***
14 *** Any manual change here will be lost the next time this script will
15 *** be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
19#ifndef __INCLUDE_UAPI_SOUND_SOF_USER_HEADER_H__
20#define __INCLUDE_UAPI_SOUND_SOF_USER_HEADER_H__
Christopher Ferrise892fd62019-09-03 15:22:32 -070021#include <linux/types.h>
Christopher Ferrisaeddbcf2019-07-08 12:45:46 -070022struct sof_abi_hdr {
Christopher Ferrise892fd62019-09-03 15:22:32 -070023 __u32 magic;
24 __u32 type;
25 __u32 size;
26 __u32 abi;
27 __u32 reserved[4];
Christopher Ferris7447a1c2022-10-04 18:24:44 -070028 __u32 data[];
Colin Cross4ac33222022-12-15 15:45:35 -080029} __attribute__((__packed__));
Christopher Ferris7447a1c2022-10-04 18:24:44 -070030#define SOF_MANIFEST_DATA_TYPE_NHLT 1
31struct sof_manifest_tlv {
32 __le32 type;
33 __le32 size;
34 __u8 data[];
35};
36struct sof_manifest {
37 __le16 abi_major;
38 __le16 abi_minor;
39 __le16 abi_patch;
40 __le16 count;
41 struct sof_manifest_tlv items[];
42};
Christopher Ferrisaeddbcf2019-07-08 12:45:46 -070043#endif