diff --git a/smex/CMakeLists.txt b/smex/CMakeLists.txt index 3b0fe567ee54..8ea7f29d4b28 100644 --- a/smex/CMakeLists.txt +++ b/smex/CMakeLists.txt @@ -30,8 +30,3 @@ target_include_directories(smex PRIVATE "${SOF_ROOT_SOURCE_DIRECTORY}/src/include" "${SOF_ROOT_SOURCE_DIRECTORY}/tools/rimage/src/include" ) - -# TODO: smex should not need RTOS headers: FIX. -target_include_directories(smex PRIVATE - "${SOF_ROOT_SOURCE_DIRECTORY}/posix/include" -) diff --git a/src/audio/tensorflow/CMakeLists.txt b/src/audio/tensorflow/CMakeLists.txt index 5cb3086f46b1..c9684438ce3d 100644 --- a/src/audio/tensorflow/CMakeLists.txt +++ b/src/audio/tensorflow/CMakeLists.txt @@ -415,7 +415,6 @@ target_include_directories(tflm_lib PRIVATE ${RUY_PATH} ${NN_HIFI_PATH} ${NN_HIFI_PATH}/include - ${sof_top_dir}/posix/include ) # TODO: Need to detect and add mul16/32 options. diff --git a/src/audio/tensorflow/llext/CMakeLists.txt b/src/audio/tensorflow/llext/CMakeLists.txt index 22bfc22da748..47eb0f6874ba 100644 --- a/src/audio/tensorflow/llext/CMakeLists.txt +++ b/src/audio/tensorflow/llext/CMakeLists.txt @@ -408,7 +408,6 @@ target_include_directories(tflm_lib PRIVATE ${RUY_PATH} ${NN_HIFI_PATH} ${NN_HIFI_PATH}/include - ${sof_top_dir}/posix/include ) # TODO: Need to detect and add mul16/32 options. diff --git a/src/include/ipc/probe_dma_frame.h b/src/include/ipc/probe_dma_frame.h index 4a9d562d59ab..77498e9af106 100644 --- a/src/include/ipc/probe_dma_frame.h +++ b/src/include/ipc/probe_dma_frame.h @@ -12,7 +12,7 @@ #ifndef __IPC_PROBE_DMA_FRAME_H__ #define __IPC_PROBE_DMA_FRAME_H__ -#include +#include /** * \brief Header for data packets sent via compressed PCM from extraction probes. @@ -46,16 +46,16 @@ struct probe_data_packet { #define PROBE_SHIFT_SAMPLE_END 8 /**< Endianness (0 = little-endian) */ #define PROBE_SHIFT_INTERLEAVING_ST 7 /**< Interleaving (1 = sample interleaved) */ -#define PROBE_MASK_FMT_TYPE MASK(31, 31) /**< Type encoding mask */ -#define PROBE_MASK_STANDARD_TYPE MASK(30, 27) /**< Standard type mask */ -#define PROBE_MASK_AUDIO_FMT MASK(26, 23) /**< Audio format mask */ -#define PROBE_MASK_SAMPLE_RATE MASK(22, 19) /**< Sample rate mask */ -#define PROBE_MASK_NB_CHANNELS MASK(18, 14) /**< Channel count mask */ -#define PROBE_MASK_SAMPLE_SIZE MASK(13, 12) /**< Sample size mask */ -#define PROBE_MASK_CONTAINER_SIZE MASK(11, 10) /**< Container size mask */ -#define PROBE_MASK_SAMPLE_FMT MASK(9, 9) /**< Sample format mask */ -#define PROBE_MASK_SAMPLE_END MASK(8, 8) /**< Endianness mask */ -#define PROBE_MASK_INTERLEAVING_ST MASK(7, 7) /**< Interleaving mask */ +#define PROBE_MASK_FMT_TYPE 0x80000000ULL /**< Type encoding mask */ +#define PROBE_MASK_STANDARD_TYPE 0x78000000ULL /**< Standard type mask */ +#define PROBE_MASK_AUDIO_FMT 0x07800000ULL /**< Audio format mask */ +#define PROBE_MASK_SAMPLE_RATE 0x00780000ULL /**< Sample rate mask */ +#define PROBE_MASK_NB_CHANNELS 0x0007c000ULL /**< Channel count mask */ +#define PROBE_MASK_SAMPLE_SIZE 0x00003000ULL /**< Sample size mask */ +#define PROBE_MASK_CONTAINER_SIZE 0x00000c00ULL /**< Container size mask */ +#define PROBE_MASK_SAMPLE_FMT 0x00000200ULL /**< Sample format mask */ +#define PROBE_MASK_SAMPLE_END 0x00000100ULL /**< Endianness mask */ +#define PROBE_MASK_INTERLEAVING_ST 0x00000080ULL /**< Interleaving mask */ /** @} */ #endif /* __IPC_PROBE_DMA_FRAME_H__ */ diff --git a/src/include/kernel/ext_manifest.h b/src/include/kernel/ext_manifest.h index c429cbe0340e..9993c9b0e584 100644 --- a/src/include/kernel/ext_manifest.h +++ b/src/include/kernel/ext_manifest.h @@ -34,7 +34,6 @@ #define __KERNEL_EXT_MANIFEST_H__ #include -#include #include /* Top-level headers shared with rimage */ diff --git a/tools/probes/CMakeLists.txt b/tools/probes/CMakeLists.txt index b38cd965844d..a0bb98b246ea 100644 --- a/tools/probes/CMakeLists.txt +++ b/tools/probes/CMakeLists.txt @@ -15,9 +15,4 @@ target_include_directories(sof-probes PRIVATE "../../src/include" ) -# TODO: probes should not need to include RTOS headers. FIX. -target_include_directories(sof-probes PRIVATE - "../../posix/include" -) - install(TARGETS sof-probes DESTINATION bin)