Sound Open Firmware
Loading...
Searching...
No Matches
module_resource Struct Reference

module memory container - used for every memory allocated by module More...

#include <generic.h>

Collaboration diagram for module_resource:

Data Fields

union { 
   void *   ptr 
 Pointer to heap allocated memory. More...
   struct comp_data_blob_handler *   bhp 
 Blob handler ptr. More...
   const void *   sram_ptr 
 SRAM ptr from fast_get(). More...
}; 
struct list_item list
 list element
size_t size
 Size of allocated heap memory, 0 if not from heap.
enum mod_resource_type type
 Resource type.

Detailed Description

module memory container - used for every memory allocated by module

Field Documentation

◆ [union]

union { ... } module_resource

◆ bhp

struct comp_data_blob_handler* module_resource::bhp

Blob handler ptr.

◆ list

struct list_item module_resource::list

list element

◆ ptr

void* module_resource::ptr

Pointer to heap allocated memory.

◆ size

size_t module_resource::size

Size of allocated heap memory, 0 if not from heap.

◆ sram_ptr

const void* module_resource::sram_ptr

SRAM ptr from fast_get().

◆ type

enum mod_resource_type module_resource::type

Resource type.


The documentation for this struct was generated from the following file:
  • /home/lrg/work/sof-dox-work/src/include/sof/audio/module_adapter/module/generic.h