1 /**************************************************************************** 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__ 21 #include <linux/types.h> 22 struct sof_abi_hdr { 23 __u32 magic; 24 __u32 type; 25 __u32 size; 26 __u32 abi; 27 __u32 reserved[4]; 28 __u32 data[]; 29 } __attribute__((__packed__)); 30 #define SOF_MANIFEST_DATA_TYPE_NHLT 1 31 struct sof_manifest_tlv { 32 __le32 type; 33 __le32 size; 34 __u8 data[]; 35 }; 36 struct sof_manifest { 37 __le16 abi_major; 38 __le16 abi_minor; 39 __le16 abi_patch; 40 __le16 count; 41 struct sof_manifest_tlv items[]; 42 }; 43 #endif 44