d_map_clear Kernel Service

Purpose

Deallocates resources previously allocated on a d_map_init call.

Syntax

#include <sys/dma.h>

void d_map_clear (*handle)
struct d_handle *handle

Parameters

Item Description
handle Indicates the unique handle returned by the d_map_init kernel service.

Description

The d_map_clear kernel service is a bus-specific utility routine determined by the d_map_init service that deallocates resources previously allocated on a d_map_init call. This includes freeing the d_handle structure that was allocated by d_map_init.

Note: You can use the D_MAP_CLEAR macro provided in the /usr/include/sys/dma.h file to code calls to the d_map_clear kernel service.