cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

ipc4-priv.h (1120B)


      1/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
      2/*
      3 * This file is provided under a dual BSD/GPLv2 license.  When using or
      4 * redistributing this file, you may do so under either license.
      5 *
      6 * Copyright(c) 2022 Intel Corporation. All rights reserved.
      7 */
      8
      9#ifndef __SOUND_SOC_SOF_IPC4_PRIV_H
     10#define __SOUND_SOC_SOF_IPC4_PRIV_H
     11
     12#include <linux/idr.h>
     13#include <sound/sof/ext_manifest4.h>
     14#include "sof-priv.h"
     15
     16/**
     17 * struct sof_ipc4_fw_data - IPC4-specific data
     18 * @manifest_fw_hdr_offset: FW header offset in the manifest
     19 * @num_fw_modules : Number of modules in base FW
     20 * @fw_modules: Array of base FW modules
     21 */
     22struct sof_ipc4_fw_data {
     23	u32 manifest_fw_hdr_offset;
     24	int num_fw_modules;
     25	void *fw_modules;
     26};
     27
     28/**
     29 * struct sof_ipc4_fw_module - IPC4 module info
     30 * @sof_man4_module : Module info
     31 * @m_ida: Module instance identifier
     32 * @bss_size: Module object size
     33 * @private: Module private data
     34 */
     35struct sof_ipc4_fw_module {
     36	struct sof_man4_module man4_module_entry;
     37	struct ida m_ida;
     38	u32 bss_size;
     39	void *private;
     40};
     41
     42extern const struct sof_ipc_fw_loader_ops ipc4_loader_ops;
     43
     44#endif