hi_vb_pool_config

Description

Defines the configuration information about a VB pool.

Definition

typedef struct {
    hi_u64  blk_size; 
    hi_u32  blk_cnt; 
    hi_vb_remap_mode remap_mode; 
    hi_char mmz_name[HI_MAX_MMZ_NAME_LEN]; 
} hi_vb_pool_config;

Members

Member

Description

blk_size

Size of a memory block, in bytes.

blk_cnt

Number of memory blocks.

remap_mode

Currently, this parameter has a fixed value of VB_REMAP_MODE_NONE.

mmz_name

Name of a memory pool.

HI_MAX_MMZ_NAME_LEN indicates the maximum length of the memory name, which is 32.