> ## Documentation Index
> Fetch the complete documentation index at: https://dragonwingdocs-staging.qualcomm.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Spf_apm_memory_map

## Type Definitions

### `apm_cmd_global_shared_mem_map_regions_t`

```cpp theme={null}
typedef struct apm_cmd_global_shared_mem_map_regions_t apm_cmd_global_shared_mem_map_regions_t
```

### `apm_cmd_shared_mem_map_regions_t`

```cpp theme={null}
typedef struct apm_cmd_shared_mem_map_regions_t apm_cmd_shared_mem_map_regions_t
```

### `apm_cmd_shared_satellite_mem_map_regions_t`

```cpp theme={null}
typedef struct apm_cmd_shared_satellite_mem_map_regions_t apm_cmd_shared_satellite_mem_map_regions_t
```

### `apm_shared_map_region_payload_t`

```cpp theme={null}
typedef struct apm_shared_map_region_payload_t apm_shared_map_region_payload_t
```

### `apm_cmd_rsp_shared_mem_map_regions_t`

```cpp theme={null}
typedef struct apm_cmd_rsp_shared_mem_map_regions_t apm_cmd_rsp_shared_mem_map_regions_t
```

### `apm_cmd_rsp_shared_satellite_mem_map_regions_t`

```cpp theme={null}
typedef struct apm_cmd_rsp_shared_satellite_mem_map_regions_t apm_cmd_rsp_shared_satellite_mem_map_regions_t
```

### `apm_cmd_global_shared_mem_unmap_regions_t`

```cpp theme={null}
typedef struct apm_cmd_global_shared_mem_unmap_regions_t apm_cmd_global_shared_mem_unmap_regions_t
```

### `apm_cmd_shared_mem_unmap_regions_t`

```cpp theme={null}
typedef struct apm_cmd_shared_mem_unmap_regions_t apm_cmd_shared_mem_unmap_regions_t
```

### `apm_cmd_shared_satellite_mem_unmap_regions_t`

```cpp theme={null}
typedef struct apm_cmd_shared_satellite_mem_unmap_regions_t apm_cmd_shared_satellite_mem_unmap_regions_t
```

## Macros

### `APM_CMD_SHARED_MEM_MAP_REGIONS`

Commands the APM to map multiple shared memory regions.

```c theme={null}
#define APM_CMD_SHARED_MEM_MAP_REGIONS 0x0100100C
```

### `APM_CMD_GLOBAL_SHARED_MEM_MAP_REGIONS`

Commands the APM to map multiple shared memory regions from a memory pool and associate it with the specified shmem\_id.

```c theme={null}
#define APM_CMD_GLOBAL_SHARED_MEM_MAP_REGIONS 0x01001059
```

### `APM_MEMORY_MAP_SHMEM8_4K_POOL`

Identifier for the shared memory 8\_4K pool.

```c theme={null}
#define APM_MEMORY_MAP_SHMEM8_4K_POOL 3
```

### `APM_CMD_SHARED_SATELLITE_MEM_MAP_REGIONS`

Commands the APM to map multiple MDF shared memory regions.

```c theme={null}
#define APM_CMD_SHARED_SATELLITE_MEM_MAP_REGIONS 0x01001026
```

### `APM_CMD_RSP_SHARED_MEM_MAP_REGIONS`

Returns the memory map handle in response to an APM\_CMD\_SHARED\_MEM\_MAP\_REGIONS command.

```c theme={null}
#define APM_CMD_RSP_SHARED_MEM_MAP_REGIONS 0x02001001
```

### `APM_CMD_RSP_SHARED_SATELLITE_MEM_MAP_REGIONS`

Returns the memory map handle in response to an APM\_CMD\_SHARED\_SATELLITE\_MEM\_MAP\_REGIONS command.

```c theme={null}
#define APM_CMD_RSP_SHARED_SATELLITE_MEM_MAP_REGIONS 0x02001009
```

### `APM_CMD_GLOBAL_SHARED_MEM_UNMAP_REGIONS`

Commands the APM to unmap global shared memory regions that were previously mapped via APM\_CMD\_GLOBAL\_SHARED\_MEM\_MAP\_REGIONS.

```c theme={null}
#define APM_CMD_GLOBAL_SHARED_MEM_UNMAP_REGIONS 0x0100105A
```

### `APM_CMD_SHARED_MEM_UNMAP_REGIONS`

Commands the APM to unmap multiple shared memory regions that were previously mapped via APM\_CMD\_SHARED\_MEM\_MAP\_REGIONS.

```c theme={null}
#define APM_CMD_SHARED_MEM_UNMAP_REGIONS 0x0100100D
```

### `APM_CMD_SHARED_SATELLITE_MEM_UNMAP_REGIONS`

Commands the APM to unmap multiple shared memory regions that were previously mapped via APM\_CMD\_SHARED\_MEM\_MAP\_REGIONS.

```c theme={null}
#define APM_CMD_SHARED_SATELLITE_MEM_UNMAP_REGIONS 0x01001027
```
