Elliott Hughes | 180edef | 2023-11-02 00:08:05 +0000 | [diff] [blame^] | 1 | /* |
| 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 Ferris | aeddbcf | 2019-07-08 12:45:46 -0700 | [diff] [blame] | 7 | #ifndef __INCLUDE_UAPI_SOUND_SOF_USER_HEADER_H__ |
| 8 | #define __INCLUDE_UAPI_SOUND_SOF_USER_HEADER_H__ |
Christopher Ferris | e892fd6 | 2019-09-03 15:22:32 -0700 | [diff] [blame] | 9 | #include <linux/types.h> |
Christopher Ferris | aeddbcf | 2019-07-08 12:45:46 -0700 | [diff] [blame] | 10 | struct sof_abi_hdr { |
Christopher Ferris | e892fd6 | 2019-09-03 15:22:32 -0700 | [diff] [blame] | 11 | __u32 magic; |
| 12 | __u32 type; |
| 13 | __u32 size; |
| 14 | __u32 abi; |
| 15 | __u32 reserved[4]; |
Christopher Ferris | 7447a1c | 2022-10-04 18:24:44 -0700 | [diff] [blame] | 16 | __u32 data[]; |
Colin Cross | 4ac3322 | 2022-12-15 15:45:35 -0800 | [diff] [blame] | 17 | } __attribute__((__packed__)); |
Christopher Ferris | 7447a1c | 2022-10-04 18:24:44 -0700 | [diff] [blame] | 18 | #define SOF_MANIFEST_DATA_TYPE_NHLT 1 |
| 19 | struct sof_manifest_tlv { |
| 20 | __le32 type; |
| 21 | __le32 size; |
| 22 | __u8 data[]; |
| 23 | }; |
| 24 | struct 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 Ferris | aeddbcf | 2019-07-08 12:45:46 -0700 | [diff] [blame] | 31 | #endif |