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

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

#include <src/include/sof/audio/module_adapter/module/generic.h>

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...
 
};  
 
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.

◆ 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: